Skip to content

Commit

Permalink
chore: add social links to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
tabathad committed Oct 5, 2024
1 parent 5adb6c4 commit 95515d4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 29 deletions.
17 changes: 13 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,25 @@ footer:
links:
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
URL: "http://twitter.com/bsidesORL"
url: "http://twitter.com/bsidesORL"
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
URL: "https://www.facebook.com/BsidesORL/"
url: "https://www.facebook.com/BsidesORL/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
URL: "https://github.com/bsidesorlando"
url: "https://github.com/bsidesorlando"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
URL: "https://instagram.com/bsidesorl"
url: "https://instagram.com/bsidesorl"
- label: "LinkedIn"
icon: "fab fa-fw fa-linkedin"
url: "https://www.linkedin.com/company/bsidesorl/"
- label: "YouTube"
icon: "fab fa-fw fa-youtube"
url: "https://www.youtube.com/channel/UC6avYrvlXYAKHCBdxjj9L0w"
- label: "Discord"
icon: "fab fa-fw fa-discord"
url: "https://discord.gg/rQQxBqr9FM"


# Reading Files
Expand Down
37 changes: 12 additions & 25 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,25 @@
<div class="page__footer-follow">
<ul class="social-icons">
<!--
{% if site.data.ui-text[site.locale].follow_label %}
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
{% endif %}

{% if site.footer.links %}
{% for link in site.footer.links %}
{% if link.label and link.url %}
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
{% endif %}
{% endfor %}
{% endif %}
{% for link in site.footer.links %}
{% if link.label and link.url %}
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
{% else %}
<li>Missing label or url for a link</li>
{% endif %}
{% endfor %}
{% else %}
<li>No footer links found</li>
{% endif %}

{% unless site.atom_feed.hide %}
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
{% endunless %}
-->
<a href="https://twitter.com/BsidesORL" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i><span class="label">Twitter</span>
</a>
<a href="https://www.facebook.com/BsidesORL" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i><span class="label">Facebook</span>
</a>
<a href="https://www.linkedin.com/company/bsidesorl/" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span class="label">LinkedIn</span>
</a>
<a href="https://instagram.com/bsidesorl" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i><span class="label">Instagram</span>
</a>
<a href="https://www.youtube.com/channel/UC6avYrvlXYAKHCBdxjj9L0w" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
</a>
</ul>
</div>
<br>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.description}}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>

<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.</div>

0 comments on commit 95515d4

Please sign in to comment.