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