Use link title where necessary
This commit is contained in:
parent
733bfb46f7
commit
94836013da
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
{{ if .Params.image }}
|
||||
<span class="image featured"><img src="{{ .Params.image }}" alt="{{ .Title }} featured image" /></span>
|
||||
{{ end }}
|
||||
<h3>{{ title .Title }}</h3>
|
||||
<h3>{{ title .LinkTitle }}</h3>
|
||||
<p>{{ .Summary }}</p>
|
||||
<ul class="actions">
|
||||
<li><a href="{{ .Permalink }}" class="button alt">Read More</a></li>
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
<ul>
|
||||
{{ range where .Site.Pages.ByTitle "Kind" "section" }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">{{ title .Title }}</a>
|
||||
<a href="{{ .Permalink }}">{{ title .LinkTitle }}</a>
|
||||
{{ if .Pages }}
|
||||
<ul>
|
||||
{{ range first 4 .Pages.ByDate }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{ end }}
|
||||
<li><a href="{{ .Permalink }}"><i>See more {{ lower .Title }}</i></a></li>
|
||||
</ul>
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
{{ range where .Site.Pages.ByTitle "Kind" "page" }}
|
||||
{{ if eq .Section "" }}
|
||||
<li><a href="{{ .Permalink }}">{{ title .Title }}</a></li>
|
||||
<li><a href="{{ .Permalink }}">{{ title .LinkTitle }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue