Fix footer credentials and date format

This commit is contained in:
panr 2018-07-30 18:55:26 +02:00
parent da992ae333
commit ea9e2bb1bd
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1> <h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<div class="post-meta"> <div class="post-meta">
<span class="post-date"> <span class="post-date">
{{ .Date.Day }}/{{ sub .Date.Month 0 }}/{{ .Date.Year }} {{ .Date.Year }}-{{ sub .Date.Month 0 }}-{{ .Date.Day }}
</span> </span>
<span class="post-author">Written by {{ .Params.Author }}</span> <span class="post-author">Written by {{ .Params.Author }}</span>
</div> </div>

View File

@ -3,7 +3,7 @@
<h2 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2> <h2 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
<div class="post-meta"> <div class="post-meta">
<span class="post-date"> <span class="post-date">
{{ .Date.Day }}/{{ sub .Date.Month 0 }}/{{ .Date.Year }} {{ .Date.Year }}-{{ sub .Date.Month 0 }}-{{ .Date.Day }}
</span> </span>
<span class="post-author">Written by {{ .Params.Author }}</span> <span class="post-author">Written by {{ .Params.Author }}</span>
</div> </div>

View File

@ -6,7 +6,7 @@
{{ partial "logo.html" . }} {{ partial "logo.html" . }}
<div class="copyright"> <div class="copyright">
<span>Powered by <a href="http://gohugo.io">Hugo</a></span> <span>Powered by <a href="http://gohugo.io">Hugo</a></span>
<span>Created by <a href="https://twitter.com/panr">panr</a> 2018</span> <span>Theme created by <a href="https://twitter.com/panr">panr</a> 2018</span>
</div> </div>
{{end}} {{end}}
</div> </div>

View File

@ -35,7 +35,7 @@ body {
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
display: flex; display: flex;
align-items: center; align-items: center;
line-height: 1.43; line-height: 1.3;
} }
h1 { h1 {