mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 01:54:06 +00:00
fix(post) Fix typo in post template
This commit is contained in:
@@ -8,15 +8,12 @@
|
||||
<a class="avatar mr-1" href="{{ absURL "about/" }}">
|
||||
{{ with $.Site.Params.avatar }}
|
||||
|
||||
<img
|
||||
src="{{ $.Site.Params.avatar }}" width="26" height="26">
|
||||
<img src="{{ $.Site.Params.avatar }}" width="26" height="26">
|
||||
{{ else }}
|
||||
<img
|
||||
src="{{ "images/avatar.png" | absURL }}" width="26" height="26">
|
||||
<img src="{{ "images/avatar.png" | absURL }}" width="26" height="26">
|
||||
{{ end }}
|
||||
</a>
|
||||
<span class="author"><a
|
||||
href="{{ .Site.BaseURL }}">{{ .Site.Params.author }}</a></span>
|
||||
<span class="author"><a href="{{ .Site.BaseURL }}">{{ .Site.Params.author }}</a></span>
|
||||
<span class="path-divider">/</span>
|
||||
<strong itemprop="name" class="css-truncate-target" style="max-width: 410px"><a
|
||||
href="{{ .Permalink }}">{{ .Title }}</a></strong>
|
||||
@@ -26,7 +23,7 @@
|
||||
title="Created at {{ .PublishDate.Format "2006/01/02" }}">
|
||||
{{ .PublishDate.Format "2006-01-02" }}</time-ago>
|
||||
<span class="file-info-divider"></span>
|
||||
Modifyed <time-ago datetime="{{ .Lastmod.Format "2006-01-02" }}" class="no-wrap"
|
||||
Modified <time-ago datetime="{{ .Lastmod.Format "2006-01-02" }}" class="no-wrap"
|
||||
title="Modified at {{ .Lastmod.Format "2006/01/02" }}">
|
||||
{{ .Lastmod.Format "2006-01-02" }}</time-ago>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user