You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ This is a clean and simple Jekyll Theme built with the [Bulma](https://bulma.io/
10
10
*[Installation](#installation)
11
11
*[Usage](#usage)
12
12
*[Pages](#pages)
13
+
* [Page Hero](#page-hero)
14
+
* [Table Of Contents](#table-of-contents)
13
15
*[Posts](#posts)
14
16
*[Navigation](#navigation)
15
17
*[Colours and Styles](#colours-and-styles)
@@ -21,6 +23,7 @@ This is a clean and simple Jekyll Theme built with the [Bulma](https://bulma.io/
21
23
*[Products](#products)
22
24
*[Scripts](#scripts)
23
25
*[Callouts](#callouts)
26
+
*[Favicon](#favicon)
24
27
*[Contributing](#contributing)
25
28
*[Development](#development)
26
29
*[Licence](#licence)
@@ -52,26 +55,33 @@ Or install it yourself as:
52
55
53
56
### Pages
54
57
55
-
Create your pages as individual markdown files and use the `layout: page` for normal pages. Set the pages title and subtitle in the frontmatter and it will appear in the hero.
58
+
Create your pages as individual markdown files and use the `layout: page` for normal pages. Set the pages title and subtitle in the front matter and it will appear in the hero.
59
+
60
+
#### Page Hero
56
61
57
62
**New in 0.2**
58
-
Heros can now display a background image if you provide a `hero_image: /path/to/image.jpg` setting in your page frontmatter, or in the [defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) in your sites `_config.yml`
63
+
Heros can now display a background image if you provide a `hero_image: /path/to/image.jpg` setting in your page front matter, or in the [defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) in your sites `_config.yml`
59
64
60
-
You can also set the height of the hero by providing a bulma hero height class in your frontmatter, such as `hero_height: is-fullwidth`. If you do not provide this, it will revert to is-medium
65
+
You can also set the height of the hero by providing a bulma hero height class in your front matter, such as `hero_height: is-fullwidth`. If you do not provide this, it will revert to is-medium
61
66
62
67
**New in 0.5.4**
63
-
If you would like to add a call to action button in the hero then add `hero_link` and `hero_link_text` to the page's frontmatter.
68
+
If you would like to add a call to action button in the hero then add `hero_link` and `hero_link_text` to the page's front matter.
64
69
65
70
**New in 0.5.7**
66
-
If you would like to hide the hero, you can set `hide_hero: true` in the page's frontmatter.
71
+
If you would like to hide the hero, you can set `hide_hero: true` in the page's front matter.
72
+
73
+
#### Table Of Contents
74
+
75
+
**New in 0.5.8**
76
+
If you want to display a table of contents (toc) then add `toc: true` to your page's front matter. You can customise the default table of contents title by setting `toc_title: My Custom Title` in the page's front matter.
67
77
68
78
### Posts
69
79
70
80
If you want posts, create a `_posts` directory to store your posts as per normal Jekyll usage, with the `layout: post`. Next create a `blog` directory with an index.html file that has `layout: blog`
71
81
72
-
**New in 0.2** It will now display an image in the blog page if you set `image: /path/to/image.jpg` in your post's or page's frontmatter, or in the [defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) in your sites `_config.yml`
82
+
**New in 0.2** It will now display an image in the blog page if you set `image: /path/to/image.jpg` in your post's or page's front matter, or in the [defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) in your sites `_config.yml`
73
83
74
-
You can also set the height of the hero by providing a bulma hero height class in your frontmatter, such as `hero_height: is-fullwidth`. If you do not provide this, it will revert to is-medium
84
+
You can also set the height of the hero by providing a Bulma hero height class in your front matter, such as `hero_height: is-fullwidth`. If you do not provide this, it will revert to is-medium
75
85
76
86
77
87
### Navigation
@@ -175,7 +185,7 @@ You may make multiple menus in the same file, separated by the label
175
185
176
186
**New in 0.4**
177
187
178
-
The tabs gets its content from a data file in your site's `_data` directory. Simply set the name of your data file in the page's menubar setting in the frontmatter.
188
+
The tabs gets its content from a data file in your site's `_data` directory. Simply set the name of your data file in the page's menubar setting in the front matter.
179
189
180
190
```yaml
181
191
title: Page with tabs
@@ -384,6 +394,10 @@ subtitle: This is an example landing page
384
394
callouts: example_callouts
385
395
```
386
396
397
+
### Favicon
398
+
399
+
The default favicon path is `{{ site.baseurl }}/favicon.png` but you can overwrite it in the sites `_config.yml` like this `favicon: /path/to/favicon.png`
400
+
387
401
## Contributing
388
402
389
403
Bug reports and pull requests are welcome on GitHub at https://github.com/chrisrhymes/bulma-clean-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
0 commit comments