fundamental 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +16 -3
- data/_layouts/site-archive.html +12 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c9ebb73fb2eb6b7690d0b3884ab6632ba5705e6
|
4
|
+
data.tar.gz: 394e4f00de333a9cc3fd470b9089a43e2e124049
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 552d3752b12ab6927e1dd9d036b79833b6a1677114b79835d8d5e1377c530d53d3faebec51bd74f62fe77955c97102b5738cef88e52078717900291ad7051111
|
7
|
+
data.tar.gz: 477d2dc7a8bdbd3905243214e9a73152f3fe0da96a96bf0561ba3129894b9ef1e88435ae5db3df5d6fcb0b3e12335559450b97e29d6a897607893f77b4bf9be4
|
data/README.md
CHANGED
@@ -43,7 +43,18 @@ Or install it yourself as:
|
|
43
43
|
|
44
44
|
### Getting Started
|
45
45
|
|
46
|
-
After installing you should have a `config.yml` file in your base directory.
|
46
|
+
After installing you should have a `config.yml` file in your base directory. Copy the contents of the repo [config.yml](https://github.com/theomjones/fundamental/blob/master/_config.yml) into your own config file. This will supply you with all the required configurations. You can edit them from here.
|
47
|
+
|
48
|
+
Jekyll gives you an `index.md` file as your homepage. Copy this into it to get started, the front matter will be explained below: **!! Something to note**, Fundamental does not currently support categories (they're coming!). The default page Jekyll produces will break breadcrumbs (for now).
|
49
|
+
|
50
|
+
---
|
51
|
+
layout: blog
|
52
|
+
title: Home
|
53
|
+
menu: true
|
54
|
+
order: 1
|
55
|
+
---
|
56
|
+
|
57
|
+
If you want to add the 'Archive' file you see in the demo. Create an `/archive` directory in your base directory. Then create an `index.md` inside it. Ensure it has the `layout: site-archive`. This layout displays all the posts in the site.
|
47
58
|
|
48
59
|
##### Plugins
|
49
60
|
Fundamemtal uses these plugins. When you have installed the Fundamental gem, run `bundle install` to install the required plugins. They can be turned on and off in your configuration file.
|
@@ -72,7 +83,7 @@ enabled:
|
|
72
83
|
```
|
73
84
|
|
74
85
|
#### Layouts
|
75
|
-
For blog posts use the `post.html` layout (this is already set as default via config file.) For normal pages use the `page.html` layout. Naturally, the blog layout is used for the blog page on the home screen. All of these layouts inherit from the `default` layout.
|
86
|
+
For blog posts use the `post.html` layout (this is already set as default via config file.) For normal pages use the `page.html` layout. Naturally, the blog layout is used for the blog page on the home screen. All of these layouts inherit from the `default` layout, which contains the head and footer includes.
|
76
87
|
|
77
88
|
The other layouts are for the `jekyll-archives` plugin.
|
78
89
|
|
@@ -85,6 +96,7 @@ The other layouts are for the `jekyll-archives` plugin.
|
|
85
96
|
│ ├── month.html
|
86
97
|
│ ├── page.html
|
87
98
|
│ ├── post.html
|
99
|
+
| ├── site-archive.html
|
88
100
|
│ └── tag_page.html
|
89
101
|
|
90
102
|
|
@@ -155,4 +167,5 @@ The theme is available as open source under the terms of the [MIT License](https
|
|
155
167
|

|
156
168
|
|
157
169
|
### 404 Page
|
158
|
-

|
170
|
+

|
171
|
+
[You can get this 404 page from the repo to use in your site.](https://github.com/theomjones/fundamental/blob/master/404.html) Just copy it into your main directory.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fundamental
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Theo M Jones
|
@@ -102,6 +102,7 @@ files:
|
|
102
102
|
- _layouts/month.html
|
103
103
|
- _layouts/page.html
|
104
104
|
- _layouts/post.html
|
105
|
+
- _layouts/site-archive.html
|
105
106
|
- _layouts/tag_page.html
|
106
107
|
- _sass/_blog.scss
|
107
108
|
- _sass/_footer.scss
|