Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making Font Awesome Icons more flexible #30

Merged
merged 1 commit into from
Aug 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,22 +138,22 @@ There are certain sections of the theme you can customize, in order to do so,
github:
title: Github
url: <url>
icon: fa-github
icon: fab fa-github
rel: me (disabled by default, add to activate)
twitter:
title: Twitter
url: <url>
icon: fa-twitter
icon: fab fa-twitter
rel: me (disabled by default, add to activate)
linkedin:
title: LinkedIn
url: <url>
icon: fa-linkedin-in
icon: fab fa-linkedin-in
rel: me (disabled by default, add to activate)
stackoverflow:
title: StackOverflow
url: <url>
icon: fa-stack-overflow
icon: fab fa-stack-overflow
rel: me (disabled by default, add to activate)

# Navigation links (prev/next) on post page (enabled by default)
Expand All @@ -175,7 +175,7 @@ A couple of pointers for social media icons,
facebook:
title: Facebook
url: <url>
icon: fa-facebook-f
icon: fab fa-facebook-f
```

# Third Party Libraries Used
Expand Down
2 changes: 1 addition & 1 deletion templates/partials/footer.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% for type, meta in theme_config.social %}
<li>
<a href="{{ meta.url }}" {% if meta.rel %}rel="{{ meta.rel }}" {% endif %}class="btn btn-link" title="{{ meta.title }}">
<i class="fab {{ meta.icon }}"></i>
<i class="{{ meta.icon }}"></i>
</a>
{% if loop.last == false %}
<span class="separator">•</span>
Expand Down