mirror of
https://gitlab.wasp.best/sel/web.git
synced 2026-04-28 13:34:11 +02:00
made the titles of posts and tags a little nicer
This commit is contained in:
parent
30bcbac64a
commit
ab9984503e
5 changed files with 14 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<section>
|
||||
{{ range .Pages }}
|
||||
<a href="{{ .RelPermalink }}">#{{ .LinkTitle }}</a>
|
||||
<a class="tag" href="{{ .RelPermalink }}">#{{ .LinkTitle }}</a>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue