Moved GitHub and Twitter username to author data file
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
2ecb85b181
commit
cf1147b502
|
@ -13,8 +13,6 @@ description: > # this means to ignore newlines until "baseurl:"
|
|||
related to me personally.
|
||||
baseurl: "" # the subpath of your site, e.g. /blog
|
||||
url: "http://jim.2martens.de" # the base hostname & protocol for your site
|
||||
twitter_username: 2martens
|
||||
github_username: 2martens
|
||||
|
||||
# Build settings
|
||||
markdown: kramdown
|
||||
|
|
|
@ -4,3 +4,5 @@ image_desc:
|
|||
age: 23
|
||||
location: Hamburg, Germany
|
||||
cv_link: /cv
|
||||
github_username: 2martens
|
||||
twitter_username: 2martens
|
||||
|
|
|
@ -14,15 +14,15 @@
|
|||
</div>
|
||||
<div class="col-8">
|
||||
<ul class="list-unstyled">
|
||||
{% if site.github_username %}
|
||||
{% if site.data.author.github_username %}
|
||||
<li>
|
||||
{% include icon-github.html username=site.github_username %}
|
||||
{% include icon-github.html username=site.data.author.github_username %}
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if site.twitter_username %}
|
||||
{% if site.data.author.twitter_username %}
|
||||
<li>
|
||||
{% include icon-twitter.html username=site.twitter_username %}
|
||||
{% include icon-twitter.html username=site.data.author.twitter_username %}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue