Fix meta style
This commit is contained in:
parent
eb9780bcb9
commit
f1b903fb49
|
@ -519,9 +519,6 @@ select {
|
|||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.text {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 }}
|
Reference in New Issue