Change Github/Twitter keywords to site.{twitter,github}_username
Re: https://github.com/jekyll/jekyll/pull/2485/files#r13525347
This commit is contained in:
parent
35f5bb0039
commit
411cdb29a1
|
@ -4,8 +4,8 @@ email: your-email@domain.com
|
||||||
description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
|
description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
|
||||||
baseurl: ""
|
baseurl: ""
|
||||||
url: "http://yourdomain.com"
|
url: "http://yourdomain.com"
|
||||||
twitter-username: jekyllrb
|
twitter_username: jekyllrb
|
||||||
github-username: jekyll
|
github_username: jekyll
|
||||||
|
|
||||||
# Build settings
|
# Build settings
|
||||||
markdown: kramdown
|
markdown: kramdown
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
|
|
||||||
<div class="footer-col-2 column">
|
<div class="footer-col-2 column">
|
||||||
<ul>
|
<ul>
|
||||||
{% if site.github-username %}<li>
|
{% if site.github_username %}<li>
|
||||||
<a href="https://github.com/{{ site.github-username }}">
|
<a href="https://github.com/{{ site.github_username }}">
|
||||||
<span class="icon github">
|
<span class="icon github">
|
||||||
<svg version="1.1" class="github-icon-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
<svg version="1.1" class="github-icon-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
|
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
|
||||||
|
@ -29,11 +29,11 @@
|
||||||
c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
|
c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
|
||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<span class="username">{{ site.github-username }}</span>
|
<span class="username">{{ site.github_username }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>{% endif %}
|
</li>{% endif %}
|
||||||
{% if site.twitter-username %}<li>
|
{% if site.twitter_username %}<li>
|
||||||
<a href="https://twitter.com/{{ site.twitter-username }}">
|
<a href="https://twitter.com/{{ site.twitter_username }}">
|
||||||
<span class="icon twitter">
|
<span class="icon twitter">
|
||||||
<svg version="1.1" class="twitter-icon-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
<svg version="1.1" class="twitter-icon-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
|
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
|
c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
|
||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<span class="username">{{ site.twitter-username }}</span>
|
<span class="username">{{ site.twitter_username }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>{% endif %}
|
</li>{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue