Skip to content

Commit c7b0283

Browse files
committed
made it run locally, plus fix missing social buttons
1 parent 9c65b3c commit c7b0283

File tree

3 files changed

+7
-46
lines changed

3 files changed

+7
-46
lines changed

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ gemspec
66
# Performance-booster for watching directories on Windows
77
gem "wdm", ">= 0.1.0" if Gem.win_platform?
88

9+
gem "csv"
10+
gem "logger"
11+
gem "base64"
12+
gem "jekyll", ">= 4.0", "< 4.4"

_data/sitetext.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ footer:
151151
privacy_for_apps: "Application Privacy"
152152
imprint: "Imprint"
153153
social:
154-
- url: https://techhub.social/@MSicc
154+
- url: https://techhub.social/@msicc
155155
icon: "fab fa-mastodon"
156156
- url: https://bsky.app/profile/msicc.net
157157
icon: "fab fa-bluesky"

_includes/footer.html

Lines changed: 2 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,7 @@
11
<!-- Footer -->
22
<footer class="footer" id="footer" style="background-color: white">
33
<div class="container">
4-
{% if site.locale and site.locale != "" and site.locale != nil %}
5-
<div class="row align-items-center">
6-
<div class="col-md-4">
7-
<span class="copyright"
8-
>Copyright &copy; {{ site.author }} {{ 'now' | date: "%Y" }}</span
9-
>
10-
</div>
11-
<!-- Social Media -->
12-
<div class="col-md-4">
13-
<ul class="list-inline social-buttons">
14-
{% for link in site.data.sitetext[site.locale].footer.social %}
15-
<li class="list-inline-item">
16-
{% if link.url %}
17-
<a href="{{ link.url }}" target="_blank">
18-
{% if link.icon %}<i class="{{ link.icon }}"></i>{% endif %}
19-
</a>
20-
{% endif %}
21-
</li>
22-
{% endfor %}
23-
</ul>
24-
</div>
25-
<!-- Legal -->
26-
<div class="col-md-4">
27-
<ul class="list-inline quicklinks">
28-
<li class="list-inline-item">
29-
<a href="privacy"
30-
>{{ site.data.sitetext[site.locale].footer.privacy | default:
31-
"Privacy" }}</a>
32-
</li>
33-
<li class="list-inline-item">
34-
<a href="appprivacy"
35-
>{{ site.data.sitetext.footer.appprivacy | default:
36-
"Application Privacy" }}</a>
37-
</li>
38-
<li class="list-inline-item">
39-
<a href="imprint"
40-
>{{ site.data.sitetext.footer.imprint | default:
41-
"Imprint" }}</a>
42-
</li>
43-
</ul>
44-
</div>
45-
</div>
46-
{% else %}
4+
475
<div class="row align-items-center">
486
<div class="col-md-4">
497
<span class="copyright"
@@ -85,7 +43,6 @@
8543
</ul>
8644
</div>
8745
</div>
88-
{% endif %}
8946
</div>
9047
</footer>
9148
{% if page.layout == "page" %}
@@ -102,4 +59,4 @@
10259
}
10360
</script>
10461
{% endif %}
105-
<!-- End Footer -->
62+
<!-- End Footer -->

0 commit comments

Comments
 (0)