Skip to content

Commit

Permalink
Merge pull request #12 from skipgu/add-social-media-hyperlinks
Browse files Browse the repository at this point in the history
Add social media hyperlinks
  • Loading branch information
JonathanPartain authored Nov 12, 2023
2 parents b7a4085 + 415afa9 commit 058eb36
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ logo: /assets/icons/logo_skip_small.png
twitter_username: ""
github_username: skipgu
email: skip@gota.gu.se
google_analytics: G-96M5M9TCM7
instagram_username: "skip.gu"
linkedin_username: "company/skip-student-association"
discord_link: "https://tinyurl.com/skip-discord"
google_analytics: G-96M5M9TCM7
42 changes: 42 additions & 0 deletions _includes/contact-list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<ul class="contact-list">
{% if site.instagram_username %}
<li>{% include icon-instagram.html username=site.instagram_username label='Instagram' %}</li>
{% endif %}

{% if site.discord_link %}
<li>{% include icon-discord.html link=site.discord_link label='Discord' %}</li>
{% endif %}

{% if site.linkedin_username %}
<li>{% include icon-linkedin.html username=site.linkedin_username label='LinkedIn' %}</li>
{% endif %}


{% if site.github_username %}
<li>{% include icon-github.html username=site.github_username label='GitHub' %}</li>
{% endif %}



{% if site.twitter_username %}
<li>{% include icon-twitter.html username=site.twitter_username label='Twitter' %}</li>
{% endif %}

{% if site.email %}
<li>
<a href="mailto:{{ site.email }}">
<span class="icon icon--email">{% include icon-email.svg %}</span>
<span class="label">{{ site.data.theme.t.email | default: 'Email' }}</span>
</a>
</li>
{% endif %}

<li>
{% if site.plugins contains 'jekyll-feed' or site.gems contains 'jekyll-feed' %}
<a href="{{ site.feed.path | default: 'feed.xml' | relative_url }}" title="Atom Feed">
<span class="icon icon--rss">{% include icon-rss.svg %}</span>
<span class="label">{{ site.data.theme.t.subscribe | default: 'Subscribe' }}</span>
</a>
{% endif %}
</li>
</ul>
4 changes: 4 additions & 0 deletions _includes/icon-discord.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<a href="{{ include.link }}">
<span class="icon icon--discord">{% include icon-discord.svg %}</span>
<span class="label">{{ include.label }}</span>
</a>
1 change: 1 addition & 0 deletions _includes/icon-discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _includes/icon-instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _includes/icon-linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 058eb36

Please sign in to comment.