made the titles of posts and tags a little nicer

This commit is contained in:
sel 2026-04-25 16:32:07 +02:00
parent 30bcbac64a
commit ab9984503e
Signed by: sel
SSH key fingerprint: SHA256:33R/4Rx5Lu4o81LyJyXdMrmP5CJ6j7j1Soo0Dn7mKc0
5 changed files with 14 additions and 4 deletions

View file

@ -201,3 +201,13 @@ li {
background-size: cover;
background-position: center;
}
.post-title {
font-size: 1.5rem;
text-decoration: none;
margin-right: 1rem;
}
.tag {
text-decoration: none;
}

View file

@ -15,7 +15,7 @@ For a given taxonomy, renders a list of terms assigned to the page.
<section>
<p>{{ $label }}:
{{- range . }}
<a href="{{ .RelPermalink }}">#{{ .LinkTitle }}</a>
<a class="tag" href="{{ .RelPermalink }}">#{{ .LinkTitle }}</a>
{{- end }}
</p>
</section>

View file

@ -5,7 +5,7 @@
</section>
{{ range .Pages }}
<section>
<p><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> | <span class="date"> {{ .Date | time.Format "2006-01-02, 15:04 -07:00" }}</span></p>
<p><a class="post-title" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> <span class="date"> {{ .Date | time.Format "2006-01-02, 15:04 -07:00" }}</span></p>
<p class="summary">{{ .Summary }}</p>
</section>
{{ end }}

View file

@ -6,7 +6,7 @@
<section>
{{ range .Pages }}
<a href="{{ .RelPermalink }}">#{{ .LinkTitle }}</a>
<a class="tag" href="{{ .RelPermalink }}">#{{ .LinkTitle }}</a>
{{ end }}
</section>
{{ end }}

View file

@ -5,7 +5,7 @@
</section>
{{ range .Pages }}
<section>
<p><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> | {{ .Date | time.Format "2006-01-02, 15:04 -07:00" }}</p>
<p><a class="post-title" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> <span class="date"> {{ .Date | time.Format "2006-01-02, 15:04 -07:00" }}</span></p>
{{ .Summary }}
</section>
{{ end }}