jlelse
/
Indiego
Archived
1
Fork 0

Article title in lists as link

This commit is contained in:
Jan-Lukas Else 2020-05-24 17:24:40 +02:00
parent b6a464679a
commit 55658ba7f4
3 changed files with 10 additions and 5 deletions

View File

@ -59,9 +59,10 @@ header {
margin-top: 0;
margin-bottom: 0;
}
h1 a {
text-decoration: none;
}
}
h1 a, h2 a {
text-decoration: none;
}
img {

View File

@ -1,5 +1,9 @@
<article class="h-entry border-bottom">
{{ with .Title }}<h2 class="p-name">{{ . }}</h2>{{ end }}
{{ if .Title }}
<h2 class="p-name">
<a class="u-url" href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
{{ end }}
{{ if not .Params.nometa }}
{{ partialCached "summary_meta" . .Permalink }}
{{ end }}

View File

@ -1,7 +1,7 @@
{{ if .Param "oldcontentwarning" }}
{{ if .Date }}
{{ if (.Date.AddDate 1 0 0).Before now }}
<p class="border-top border-bottom"><b>{{ ":warning:" | emojify }} {{ T "oldcontent" }}</b></p>
<strong class="fake-p border-top border-bottom">{{ ":warning:" | emojify }} {{ T "oldcontent" }}</strong>
{{ end }}
{{ end }}
{{ end }}