Skip to content

Commit 54af78a

Browse files
authored
Merge pull request #74 from skipgu/69-fix-external-links
Fix External Links
2 parents 83fd68d + 5c10556 commit 54af78a

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ end
88

99
gem "webrick"
1010
gem "rexml"
11-
gem 'csv'
11+
gem 'csv'
12+
gem 'jekyll-redirect-from'

_config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ twitter_username: ""
66
github_username: skipgu
77
email: skip@gota.gu.se
88
instagram_username: "skip.gu"
9-
linkedin_username: "company/skip-student-association"
9+
linkedin_username: "skip-student-association"
1010
discord_link: "https://tinyurl.com/skip-discord"
1111
google_analytics: G-59HKXYXZ3V
1212

13+
1314
paginate: 10
1415
paginate_path: /page:num/
1516

1617
plugins:
1718
- jekyll-paginate
19+
- jekyll-redirect-from
20+
21+
whitelist:
22+
- jekyll-redirect-from

_includes/icon-linkedin.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<a href="https://www.linkedin.com/company/{{ include.username }}">
2+
<span class="icon icon--linkedin">{% include icon-linkedin.svg %}</span>
3+
<span class="label">{{ include.label | default: include.username }}</span>
4+
</a>

past_exams.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Past Exams
33
layout: post
44
permalink: /past-exams/
5+
redirect_to: "https://github.com/skipgu/past-exams"
56
actions:
67
- label: "View Repository"
78
icon: github

0 commit comments

Comments
 (0)