Skip to content

Commit cbd1661

Browse files
committed
Fix footer
1 parent 33315b4 commit cbd1661

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed

.cspell/custom-dictionary.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Custom Dictionary Words
22
browserconfig
3+
endunless
34
jemoji
45
streetsidesoftware

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,6 @@ tag_archive:
123123
type: liquid
124124
path: /tags/
125125

126+
atom_feed:
127+
hide: true
126128
# cspell:ignore jemoji

_includes/footer.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<div class="page__footer-follow">
2+
<ul class="social-icons">
3+
{% if site.data.ui-text[site.locale].follow_label %}
4+
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
5+
{% endif %}
6+
7+
{% if site.footer.links %}
8+
{% for link in site.footer.links %}
9+
{% if link.label and link.url %}
10+
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i
11+
class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
12+
{% endif %}
13+
{% endfor %}
14+
{% endif %}
15+
16+
{% unless site.atom_feed.hide %}
17+
<li><a
18+
href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i
19+
class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label
20+
| default: "Feed" }}</a></li>
21+
{% endunless %}
22+
</ul>
23+
</div>
24+
25+
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}.</div>

_includes/footer/custom.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!-- start custom footer snippets -->
2+
3+
<!-- end custom footer snippets -->

0 commit comments

Comments
 (0)