bulma-clean-theme 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -7
- data/_includes/header.html +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d28477b5af24955e063c280b2fcb53c9a7a759d
|
4
|
+
data.tar.gz: 4ddacd438e4751ca04d0db403b81b78e8e8b62df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab521aafdc18a52f3095ed0c274246ab7bb6a2de3998df9efc11021fb0ed273541f3748c78ca3be0cd9c8c844027941e68fdce5770463f51d6876470cc5fea24
|
7
|
+
data.tar.gz: 4b8dea09ad5f94560f63d45f0b4576e754fed7aa8083449fe6d30a8984b379cd9d46391858465c318a6b274d2cdc124362b8224433c8c8d8a123d2ddd6a10b15
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# clean-theme
|
1
|
+
# bulma-clean-theme
|
2
2
|
|
3
|
-
This is a clean and simple Jekyll Theme built with the Bulma framework, providing a modern looking site to start with.
|
3
|
+
This is a clean and simple Jekyll Theme built with the [Bulma](https://bulma.io/) framework, providing a modern looking site to start with.
|
4
4
|
|
5
5
|
|
6
6
|
## Installation
|
@@ -17,10 +17,6 @@ And add this line to your Jekyll site's `_config.yml`:
|
|
17
17
|
theme: bulma-clean-theme
|
18
18
|
```
|
19
19
|
|
20
|
-
Install the node modules
|
21
|
-
|
22
|
-
$ npm install
|
23
|
-
|
24
20
|
And then execute:
|
25
21
|
|
26
22
|
$ bundle
|
@@ -31,10 +27,26 @@ Or install it yourself as:
|
|
31
27
|
|
32
28
|
## Usage
|
33
29
|
|
34
|
-
|
30
|
+
### Pages
|
31
|
+
|
32
|
+
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.
|
33
|
+
|
34
|
+
### Posts
|
35
35
|
|
36
36
|
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`
|
37
37
|
|
38
|
+
|
39
|
+
### Navigation
|
40
|
+
|
41
|
+
For the top navigation, create a navigation.yml file in `_data` directory with the following format with the pages you want to include in the top navigation
|
42
|
+
|
43
|
+
```yaml
|
44
|
+
- name: Page 1
|
45
|
+
link: page-1
|
46
|
+
- name: Blog
|
47
|
+
link: blog
|
48
|
+
```
|
49
|
+
|
38
50
|
## Contributing
|
39
51
|
|
40
52
|
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.
|
data/_includes/header.html
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
</div>
|
14
14
|
<div class="navbar-menu" id="navMenu">
|
15
15
|
<div class="navbar-start">
|
16
|
-
<a href="{{ site.baseurl }}" class="navbar-item">Home</a>
|
16
|
+
<a href="{{ site.baseurl }}/" class="navbar-item">Home</a>
|
17
17
|
{% if site.data.navigation %}
|
18
18
|
{% for item in site.data.navigation %}
|
19
19
|
<a href="{{ site.baseurl }}/{{ item.link }}" class="navbar-item">{{ item.name }}</a>
|