move learn-more arrow to same line as summary

This commit is contained in:
2025-03-21 23:28:49 +01:00
parent c3fe0986d1
commit 4fe8841207
2 changed files with 6 additions and 2 deletions

View File

@@ -233,6 +233,10 @@ html, body {
.blog-summary { .blog-summary {
padding-bottom: 1em; padding-bottom: 1em;
p:last-of-type {
display: inline;
}
} }
/* Learn more link */ /* Learn more link */

View File

@@ -64,7 +64,7 @@
<div class="blog-summary"> <div class="blog-summary">
<h4><strong><a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a></strong></h4> <h4><strong><a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a></strong></h4>
<div class="metadata-summary">Posted on {{ .Date.Format "2 January 2006" }} - Tagged with {{ range $i, $tag := .Params.tags }}{{ if $i }}, {{ end }}<a href="/tags/{{ lower $tag }}">{{ $tag }}</a>{{ end }}</div> <div class="metadata-summary">Posted on {{ .Date.Format "2 January 2006" }} - Tagged with {{ range $i, $tag := .Params.tags }}{{ if $i }}, {{ end }}<a href="/tags/{{ lower $tag }}">{{ $tag }}</a>{{ end }}</div>
<p>{{ .Summary }} <a class="learn-more" href="{{ .RelPermalink }}"></a></p> {{ .Summary }} <a class="learn-more" href="{{ .RelPermalink }}"></a>
</div> </div>
{{ end }} {{ end }}
{{ template "_internal/pagination.html" . }} {{ template "_internal/pagination.html" . }}