Fix tap target for SEO
This commit is contained in:
parent
a544ec9a40
commit
c61a9ddb9f
|
@ -1,12 +1,13 @@
|
|||
{{ if not .Date.IsZero }}
|
||||
<div class="item">
|
||||
<span><time class="dt-published" datetime="{{.Date.Format "2006-01-02T15:04:05Z07:00"}}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>{{ if not (eq .FirstSection.RelPermalink .RelPermalink) }} in <a href="{{ .FirstSection.RelPermalink }}">{{ .FirstSection.Title }}</a>{{ end }}</span>
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ if not (eq .FirstSection.RelPermalink .RelPermalink) }}
|
||||
<div class="item">
|
||||
<a href="{{ .FirstSection.RelPermalink }}">{{ .FirstSection.Title }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if not .Date.IsZero }}
|
||||
<div class="item">
|
||||
<time class="dt-published" datetime="{{.Date.Format "2006-01-02T15:04:05Z07:00"}}"><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">
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{{ if not .Date.IsZero }}
|
||||
<div class="item">
|
||||
<span><time class="dt-published" datetime="{{.Date.Format "2006-01-02T15:04:05Z07:00"}}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>{{ if not (eq .FirstSection.RelPermalink .RelPermalink) }} in <a href="{{ .FirstSection.RelPermalink }}">{{ .FirstSection.Title }}</a>{{ end }}</span>
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ if not (eq .FirstSection.RelPermalink .RelPermalink) }}
|
||||
<div class="item">
|
||||
<a href="{{ .FirstSection.RelPermalink }}">{{ .FirstSection.Title }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if not .Date.IsZero }}
|
||||
<div class="item">
|
||||
<time class="dt-published" datetime="{{.Date.Format "2006-01-02T15:04:05Z07:00"}}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if ne .Date .Lastmod }}
|
||||
<div class="item">
|
||||
|
|
Reference in New Issue