格式化

This commit is contained in:
xing 2023-04-17 20:39:08 +08:00
parent f735211a92
commit 9e71de8e97

View File

@ -19,32 +19,31 @@
</div><!-- .entry-content --> </div><!-- .entry-content -->
<footer class="entry-footer"> <footer class="entry-footer">
<span class="posted-on"> <span class="posted-on">
<span class="screen-reader-text">发布于 </span> <span class="screen-reader-text">发布于 </span>
<a href="/p/{{.post.Id}}" rel="bookmark"> <a href="/p/{{.post.Id}}" rel="bookmark">
<time class="entry-date published updated" <time class="entry-date published updated"
datetime="{{.post.PostDateGmt}}">{{.post.PostDate|dateCh}} datetime="{{.post.PostDateGmt}}">{{.post.PostDate|dateCh}}
</time> </time>
</a> </a>
</span> </span>
<span class="byline"> <span class="byline">
<span class="author vcard"> <span class="author vcard">
<span class="screen-reader-text">作者 </span> <span class="screen-reader-text">作者 </span>
<a class="url fn n" href="/p/author/{{.user.UserLogin}}">{{.user.UserLogin}}</a> <a class="url fn n" href="/p/author/{{.user.UserLogin}}">{{.user.UserLogin}}</a>
</span> </span>
</span> </span>
{{if .post.CategoriesHtml}} {{if .post.CategoriesHtml}}
<span class="cat-links"> <span class="cat-links">
<span class="screen-reader-text">分类 </span> <span class="screen-reader-text">分类 </span>
{{.post.CategoriesHtml|unescaped}} {{.post.CategoriesHtml|unescaped}}
</span> </span>
{{end}} {{end}}
{{if .post.TagsHtml}} {{if .post.TagsHtml}}
<span class="tags-links"> <span class="tags-links">
<span class="screen-reader-text">标签 </span> <span class="screen-reader-text">标签 </span>{{.post.TagsHtml|unescaped}}
{{.post.TagsHtml|unescaped}} </span>
</span>
{{end}} {{end}}
</footer> </footer>
<!-- .entry-footer --> <!-- .entry-footer -->