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

Support additional footer links #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ url: "https://startbootstrap.github.io"
# Social Profiles
twitter_username: SBootstrap
github_username: StartBootstrap
gitlab_username:
facebook_username: StartBootstrap
instagram_username:
linkedin_username:
stackoverflow_username:

# Add your google-analytics ID here to activate google analytics
google_analytics: UA-XXXXXXXXX-X # out your google-analytics code
Expand Down
28 changes: 24 additions & 4 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% endif %}
{% if site.twitter_username %}
<li class="list-inline-item">
<a href="https://twitter.com/{{ site.twitter_username }}">
<a target="_blank" href="https://twitter.com/{{ site.twitter_username }}">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
Expand All @@ -29,7 +29,7 @@
{% endif %}
{% if site.facebook_username %}
<li class="list-inline-item">
<a href="https://www.facebook.com/{{ site.facebook_username }}">
<a target="_blank" href="https://www.facebook.com/{{ site.facebook_username }}">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-facebook-f fa-stack-1x fa-inverse"></i>
Expand All @@ -39,7 +39,7 @@
{% endif %}
{% if site.linkedin_username %}
<li class="list-inline-item">
<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
<a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-linkedin fa-stack-1x fa-inverse"></i>
Expand All @@ -49,14 +49,34 @@
{% endif %}
{% if site.github_username %}
<li class="list-inline-item">
<a href="https://github.com/{{ site.github_username }}">
<a target="_blank" href="https://github.com/{{ site.github_username }}">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
{% endif %}
{% if site.gitlab_username %}
<li class="list-inline-item">
<a target="_blank" href="https://gitlab.com/{{ site.gitlab_username }}">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-gitlab fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
{% endif %}
{% if site.stackoverflow_username %}
<li class="list-inline-item">
<a target="_blank" href="https://stackoverflow.com/users/{{ site.stackoverflow_username }}">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-stack-overflow fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
{% endif %}
{% if site.instagram_username %}
<li class="list-inline-item">
<a href="https://instagram.com/{{ site.instagram_username }}">
Expand Down