Modify the header templates to refer to the section partial html.

This commit is contained in:
Kazuhiro MUSASHI 2019-04-14 15:51:13 +08:00
parent 0984e402a4
commit 545c096087
3 changed files with 3 additions and 6 deletions

View File

@ -66,8 +66,7 @@
</div> </div>
<div id="social" class="col span_6"> <div id="social" class="col span_6">
<ul> <ul>
<li><a href="https://blog.kazu634.com/labs/">Labs</a></li> {{ partial "sections-definition.html" }}
<li><a href="https://blog.kazu634.com/quotes/">Quotes</a></li>
{{ with .Site.Params.twitter }}<li><a href="{{ . }}" target="_blank">Twitter</a></li>{{ end }} {{ with .Site.Params.twitter }}<li><a href="{{ . }}" target="_blank">Twitter</a></li>{{ end }}
{{ with .Site.Params.facebook }}<li><a href="{{ . }}" target="_blank">Facebook</a></li>{{ end }} {{ with .Site.Params.facebook }}<li><a href="{{ . }}" target="_blank">Facebook</a></li>{{ end }}
{{ with .Site.Params.github }}<li><a href="{{ . }}" target="_blank">GitHub</a></li>{{ end }} {{ with .Site.Params.github }}<li><a href="{{ . }}" target="_blank">GitHub</a></li>{{ end }}

View File

@ -55,8 +55,7 @@
</div> </div>
<div id="social" class="col span_6"> <div id="social" class="col span_6">
<ul> <ul>
<li><a href="https://blog.kazu634.com/labs/">Labs</a></li> {{ partial "sections-definition.html" }}
<li><a href="https://blog.kazu634.com/quotes/">Quotes</a></li>
{{ with .Site.Params.twitter }}<li><a href="{{ . }}" target="_blank">Twitter</a></li>{{ end }} {{ with .Site.Params.twitter }}<li><a href="{{ . }}" target="_blank">Twitter</a></li>{{ end }}
{{ with .Site.Params.facebook }}<li><a href="{{ . }}" target="_blank">Facebook</a></li>{{ end }} {{ with .Site.Params.facebook }}<li><a href="{{ . }}" target="_blank">Facebook</a></li>{{ end }}
{{ with .Site.Params.github }}<li><a href="{{ . }}" target="_blank">GitHub</a></li>{{ end }} {{ with .Site.Params.github }}<li><a href="{{ . }}" target="_blank">GitHub</a></li>{{ end }}

View File

@ -82,8 +82,7 @@
</div> </div>
<div id="social" class="col span_6"> <div id="social" class="col span_6">
<ul> <ul>
<li><a href="https://blog.kazu634.com/labs/">Labs</a></li> {{ partial "sections-definition.html" }}
<li><a href="https://blog.kazu634.com/quotes/">Quotes</a></li>
{{ with .Site.Params.twitter }}<li><a href="{{ . }}" target="_blank">Twitter</a></li>{{ end }} {{ with .Site.Params.twitter }}<li><a href="{{ . }}" target="_blank">Twitter</a></li>{{ end }}
{{ with .Site.Params.facebook }}<li><a href="{{ . }}" target="_blank">Facebook</a></li>{{ end }} {{ with .Site.Params.facebook }}<li><a href="{{ . }}" target="_blank">Facebook</a></li>{{ end }}
{{ with .Site.Params.github }}<li><a href="{{ . }}" target="_blank">GitHub</a></li>{{ end }} {{ with .Site.Params.github }}<li><a href="{{ . }}" target="_blank">GitHub</a></li>{{ end }}