jlelse
/
Indieroad
Archived
1
Fork 0

Fix meta style

This commit is contained in:
Jan-Lukas Else 2019-12-05 22:33:43 +01:00
parent eb9780bcb9
commit f1b903fb49
2 changed files with 3 additions and 6 deletions

View File

@ -519,9 +519,6 @@ select {
&:first-child {
margin-left: 0;
}
.text {
vertical-align: middle;
}
}
}

View File

@ -1,12 +1,12 @@
{{ if not .Params.nometa }}
{{ if not .Date.IsZero }}
<div class="item">
<time class="dt-published text" datetime="{{.Date.Format "2006-01-02 15:04"}}"><a class="u-url" href="{{ .RelPermalink }}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</a></time>
<time class="dt-published" datetime="{{.Date.Format "2006-01-02 15:04"}}"><a class="u-url" href="{{ .RelPermalink }}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</a></time>
</div>
{{ end }}
{{ if ne .Date .Lastmod }}
<div class="item">
<time class="dt-updated text" datetime="{{.Lastmod.Format "2006-01-02 15:04"}}">{{ T "meta_lastmod" }}: {{.Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>
<time class="dt-updated" datetime="{{.Lastmod.Format "2006-01-02 15:04"}}">{{ T "meta_lastmod" }}: {{.Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>
</div>
{{ end }}
{{ with .Param "indieweb.reply" }}
@ -25,7 +25,7 @@
{{ end }}
{{ if .Param "shareLink" }}
<div class="item">
<a class="" href="https://www.addtoany.com/share#url={{ .Permalink }}{{ with .Title }}&title={{ . }}{{ end }}" target="_blank" rel="nofollow noopener">{{ T "share" }}</a>
<a href="https://www.addtoany.com/share#url={{ .Permalink }}{{ with .Title }}&title={{ . }}{{ end }}" target="_blank" rel="nofollow noopener">{{ T "share" }}</a>
</div>
{{ end }}
{{ end }}