Skip to content

Commit c644b9c

Browse files
authored
Merge pull request #166 from chrisrhymes/feature/follow-icons
Feature/follow icons
2 parents 52b45c4 + 6fb7f53 commit c644b9c

9 files changed

+97
-4
lines changed

_config.yml

+9
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,12 @@ collections:
8484
layout: product
8585
image: https://via.placeholder.com/800x600
8686
show_sidebar: false
87+
88+
social:
89+
facebook: https://www.facebook.com/
90+
instagram: https://www.instagram.com/
91+
threads: https://www.threads.net/
92+
tiktok: https://www.tiktok.com/
93+
x: https://www.x.com/
94+
youtube: https://www.youtube.com/
95+

_includes/follow.html

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{% if site.social %}
2+
<div class="buttons is-centered mt-6 mb-6">
3+
{% if site.social.facebook %}
4+
<a href="{{ site.social.facebook }}" class="button is-medium">
5+
<span class="icon is-medium">
6+
<i class="fa-brands fa-facebook fa-xl"></i>
7+
<span class="is-sr-only">Facebook</span>
8+
</span>
9+
</a>
10+
{% endif %}
11+
{% if site.social.instagram %}
12+
<a href="{{ site.social.instagram }}" class="button is-medium">
13+
<span class="icon is-medium">
14+
<i class="fa-brands fa-instagram fa-xl"></i>
15+
<span class="is-sr-only">Instagram</span>
16+
</span>
17+
</a>
18+
{% endif %}
19+
{% if site.social.threads %}
20+
<a href="{{ site.social.threads }}" class="button is-medium">
21+
<span class="icon is-medium">
22+
<i class="fa-brands fa-threads fa-xl"></i>
23+
<span class="is-sr-only">Threads</span>
24+
</span>
25+
</a>
26+
{% endif %}
27+
{% if site.social.tiktok %}
28+
<a href="{{ site.social.tiktok }}" class="button is-medium">
29+
<span class="icon is-medium">
30+
<i class="fa-brands fa-tiktok fa-xl"></i>
31+
<span class="is-sr-only">TikTok</span>
32+
</span>
33+
</a>
34+
{% endif %}
35+
{% if site.social.x %}
36+
<a href="{{ site.social.x }}" class="button is-medium">
37+
<span class="icon is-medium">
38+
<i class="fa-brands fa-x-twitter fa-xl"></i>
39+
<span class="is-sr-only">X/Twitter</span>
40+
</span>
41+
</a>
42+
{% endif %}
43+
{% if site.social.youtube %}
44+
<a href="{{ site.social.youtube }}" class="button is-medium">
45+
<span class="icon is-medium">
46+
<i class="fa-brands fa-youtube fa-xl"></i>
47+
<span class="is-sr-only">YouTube</span>
48+
</span>
49+
</a>
50+
{% endif %}
51+
</div>
52+
{% endif %}

_includes/footer.html

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
</div>
1313
{% endif %}
1414

15+
{% include follow.html %}
16+
1517
<div class="content is-small has-text-centered">
1618
<p class="">Theme built by <a href="https://www.csrhymes.com">C.S. Rhymes</a></p>
1719
</div>

_includes/head.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@
1616
<script
1717
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"
1818
></script>
19-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
19+
<link
20+
rel="stylesheet"
21+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
22+
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
23+
crossorigin="anonymous"
24+
referrerpolicy="no-referrer"
25+
>
2026
{% unless site.hide_share_buttons %}
2127
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-social@1/bin/bulma-social.min.css">
2228
{% endunless %}

bulma-clean-theme.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "bulma-clean-theme"
5-
spec.version = "1.0.4"
5+
spec.version = "1.1.0"
66
spec.authors = ["chrisrhymes"]
77
spec.email = ["[email protected]"]
88

changelog.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
# 1.1.0
2+
* Update FontAwesome to v6.6
3+
* Add social links to the footer
4+
15
# 1.0.4
26
* Update Bulma to 1.0.2
37
* Add TikTok video include
48
* Allow customising product collection name
5-
* Increse cookie expiry time in cookie banner
9+
* Increase cookie expiry time in cookie banner
610

711
# 1.0.3
812
* Update Bulma to 1.0.1

docs/navigation/footer-navigation.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,20 @@ footer_menu: example_footer_menu
3030

3131
## Hiding the footer
3232

33-
If you would like to hide the footer on a particular page then set `hide_footer: true` in the page's front matter.
33+
If you would like to hide the footer on a particular page then set `hide_footer: true` in the page's front matter.
34+
35+
## Footer social links
36+
37+
**Added in v1.1.0**
38+
39+
You can add social links to your footer by setting the links to your social profiles in the `_config.yml` file.
40+
41+
```yaml
42+
social:
43+
facebook: https://www.facebook.com/
44+
instagram: https://www.instagram.com/
45+
threads: https://www.threads.net/
46+
tiktok: https://www.tiktok.com/
47+
x: https://www.x.com/
48+
youtube: https://www.youtube.com/
49+
```

docs/products/category-page.md

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ sort: title
2525
2626
## Customising the collection
2727
28+
**Added in v1.0.4**
29+
2830
To use a different collection than `products`, set the collection name in the category page's front matter.
2931

3032
The below example uses a collection called `books`.

docs/products/product-pages.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ The default collection name for products is `products`, so create a `_products`
1313

1414
## Custom Collection Directory
1515

16+
**Added in v1.0.4**
17+
1618
You can override the default and create a folder with your own collection name. For example, using a collection of `books` would require you to create a folder called `_books`.
1719

1820
## Product Pages

0 commit comments

Comments
 (0)