layout: align article layout with homepage layout
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
53fbfd96f1
commit
1539f13827
|
@ -1,17 +1,16 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article class="h-entry">
|
<article class="h-entry article">
|
||||||
<h1 class="p-name">{{ .Title }}</h1>
|
<a class="u-url" href="{{ .Permalink }}">
|
||||||
|
<h1 class="p-name">{{ .Title }}</h1>
|
||||||
|
{{ if .Date }}
|
||||||
|
<div>
|
||||||
|
<time class="dt-published" datetime="{{ .Date }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</a>
|
||||||
<div class="e-content">
|
<div class="e-content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
{{ if .Date }}
|
|
||||||
<p>
|
|
||||||
Published on
|
|
||||||
<a class="u-url" href="{{ .Permalink }}">
|
|
||||||
<time class="dt-published" datetime="{{ .Date }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
{{ end }}
|
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<section class="article">
|
<section class="article">
|
||||||
<a href="{{ .Permalink }}">
|
<a class="u-url" href="{{ .Permalink }}">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ .Date.Format "Jan 2, 2006" }}</span>
|
<span>{{ .Date.Format "Jan 2, 2006" }}</span>
|
||||||
|
|
|
@ -61,7 +61,7 @@ main {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a, .u-url {
|
||||||
color: #ccf;
|
color: #ccf;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue