Update link lists to visually indicate they're links.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-05-04 19:25:03 -07:00
parent 4ede62b39a
commit e883e3c60e
7 changed files with 40 additions and 15 deletions

View File

@@ -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 }}

View File

@@ -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 }}

View File

@@ -0,0 +1,5 @@
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
<p>{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p>
<p>{{ .Summary }} . . .</p>
</li>

View File

@@ -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 }}

View File

@@ -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 }}