Article title in lists as link
This commit is contained in:
parent
b6a464679a
commit
55658ba7f4
|
@ -59,9 +59,10 @@ header {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
h1 a {
|
}
|
||||||
text-decoration: none;
|
|
||||||
}
|
h1 a, h2 a {
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
<article class="h-entry border-bottom">
|
<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 }}
|
{{ if not .Params.nometa }}
|
||||||
{{ partialCached "summary_meta" . .Permalink }}
|
{{ partialCached "summary_meta" . .Permalink }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Param "oldcontentwarning" }}
|
{{ if .Param "oldcontentwarning" }}
|
||||||
{{ if .Date }}
|
{{ if .Date }}
|
||||||
{{ if (.Date.AddDate 1 0 0).Before now }}
|
{{ 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 }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
Reference in New Issue