Modify the template setting to refer to the parent context.
This commit is contained in:
parent
ecd1fb4b6b
commit
ef6d1987dc
|
@ -59,7 +59,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="social" class="col span_6">
|
<div id="social" class="col span_6">
|
||||||
<ul>
|
<ul>
|
||||||
{{ partial "sections-definition.html" }}
|
{{ partial "sections-definition.html" . }}
|
||||||
{{ 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 }}
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="social" class="col span_6">
|
<div id="social" class="col span_6">
|
||||||
<ul>
|
<ul>
|
||||||
{{ partial "sections-definition.html" }}
|
{{ partial "sections-definition.html" . }}
|
||||||
{{ 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 }}
|
||||||
|
|
Loading…
Reference in New Issue