bulma-clean-theme 0.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -0
- data/_includes/footer.html +15 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 006ab0d05f1a6225850dc265a5ff4e274eedb213
|
4
|
+
data.tar.gz: 87e4b16592f4dc7c0c293a71122b29a00b6f7cf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 353ddd12d92a61c8d710d7b1c1d07dcbdc5da8f6f586a44a8fe4662fb2fa6ef87c751de44d6dd5d243e0bfc8a54ad5680f28d2c5bac1c91cfec050d28cd7a2fb
|
7
|
+
data.tar.gz: eb9853e36541992299a5dd42efeb7e943cbc491ca2d928f8e55e762f8af7027b35a64519e20baec80178911eb71a7567b919e4c13dbba2e78ea3aeea6a8f7426
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# bulma-clean-theme
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/bulma-clean-theme.svg)](https://badge.fury.io/rb/bulma-clean-theme)
|
4
|
+
|
3
5
|
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
6
|
|
5
7
|
## Contents
|
@@ -14,6 +16,7 @@ This is a clean and simple Jekyll Theme built with the [Bulma](https://bulma.io/
|
|
14
16
|
* [Menubar](#menubar)
|
15
17
|
* [Tabs](#tabs)
|
16
18
|
* [Google Analytics](#google-analytics)
|
19
|
+
* [Footer](#footer)
|
17
20
|
* [Contributing](#contributing)
|
18
21
|
* [Development](#development)
|
19
22
|
* [Licence](#licence)
|
@@ -219,6 +222,27 @@ If you don't wish to show icons then simply omit the option from your yaml file.
|
|
219
222
|
|
220
223
|
To enable Google Analytics add `google_analytics: UA-xxxxxxxx` to your `_config.yml` replacing the UA-xxxxxxxx with your Google Analytics property
|
221
224
|
|
225
|
+
### Footer
|
226
|
+
|
227
|
+
**New in 0.4.1**
|
228
|
+
|
229
|
+
To add some footer links, create a yaml file in the `_data` directory using the following format
|
230
|
+
|
231
|
+
```yml
|
232
|
+
- name: Blog
|
233
|
+
link: /blog/
|
234
|
+
- name: About
|
235
|
+
link: /about/
|
236
|
+
- name: Privacy Policy
|
237
|
+
link: /privacy-policy/
|
238
|
+
```
|
239
|
+
|
240
|
+
Then add the name of your yaml file (without the .yml extension) into the footer_menu setting in the `_config.yml`
|
241
|
+
|
242
|
+
```yml
|
243
|
+
footer_menu: example_footer_menu
|
244
|
+
```
|
245
|
+
|
222
246
|
## Contributing
|
223
247
|
|
224
248
|
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/footer.html
CHANGED
@@ -1,7 +1,20 @@
|
|
1
1
|
<footer class="footer">
|
2
2
|
<div class="container">
|
3
|
-
|
4
|
-
|
3
|
+
|
4
|
+
{% if site.footer_menu %}
|
5
|
+
<div class="columns is-multiline">
|
6
|
+
{% for item in site.data[site.footer_menu] %}
|
7
|
+
<div class="column has-text-centered">
|
8
|
+
<div>
|
9
|
+
<a href="{{ item.link | prepend: site.baseurl }}" class="link">{{ item.name }}</a>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
{% endfor %}
|
13
|
+
</div>
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
<div class="content is-small has-text-centered">
|
17
|
+
<p class="">Theme built by <a href="https://www.csrhymes.com">C.S. Rhymes</a></a></p>
|
5
18
|
</div>
|
6
19
|
</div>
|
7
20
|
</footer>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulma-clean-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chrisrhymes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|