Browse Source

Add instagram link to footer

parent
commit
6ad16bbccf
Signed by: Christian van Onzenoodt <christian.van-onzenoodt@uni-ulm.de> GPG Key ID: 7B2E632FDC852341
3 changed files with 13 additions and 0 deletions
  1. 1
    0
      _config.yml
  2. 6
    0
      _includes/footer.html
  3. 6
    0
      _includes/icon-instagram.html

+ 1
- 0
_config.yml View File

@@ -6,6 +6,7 @@ description: > # this means to ignore newlines until "baseurl:"
6 6
 baseurl: "" # the subpath of your site, e.g. /blog
7 7
 url: "https://onze.io" # the base hostname & protocol for your site
8 8
 twitter_username: On_Ze
9
+instagram_username: onzeotherhand
9 10
 git_url: git.onze.io/onze
10 11
 
11 12
 collections:

+ 6
- 0
_includes/footer.html View File

@@ -22,6 +22,12 @@
22 22
             {% include icon-twitter.html username=site.twitter_username %}
23 23
           </li>
24 24
           {% endif %}
25
+
26
+          {% if site.instagram_username %}
27
+          <li>
28
+            {% include icon-instagram.html username=site.instagram_username %}
29
+          </li>
30
+          {% endif %}
25 31
         </ul>
26 32
       </div>
27 33
 

+ 6
- 0
_includes/icon-instagram.html View File

@@ -0,0 +1,6 @@
1
+<a href="https://instagram.com/{{ include.username }}/">
2
+  <i class="fa fa-instagram"></i>
3
+  <span class="username">
4
+    {{ include.username }}
5
+  </span>
6
+</a>

Loading…
Cancel
Save