Update link lists to visually indicate they're links.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
<ul class="page-list">
|
||||
{{ range .Pages.ByDate.Reverse }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
{{ partial "post.html" . }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Recent posts:
|
||||
<ul class="page-list">
|
||||
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
{{ partial "post.html" . }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
5
themes/vanilla/layouts/partials/post.html
Normal file
5
themes/vanilla/layouts/partials/post.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
<p>{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p>
|
||||
<p>{{ .Summary }} . . .</p>
|
||||
</li>
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<ul class="page-list">
|
||||
{{ range .Pages.ByDate.Reverse }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
{{ partial "post.html" . }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<h2>{{ .Title }}</h2>
|
||||
Below is a list of all the tags ever used on this site.
|
||||
|
||||
<ul class="page-list">
|
||||
<ul>
|
||||
{{ range sort .Pages "Title" }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user