From 3f4396fb027b4bcadc2c0bddca384a65c31d84ba Mon Sep 17 00:00:00 2001 From: xing Date: Thu, 19 Jan 2023 22:52:24 +0800 Subject: [PATCH] fix bug --- internal/theme/twentyfifteen/posts/index.gohtml | 2 +- internal/theme/twentyseventeen/posts/index.gohtml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/internal/theme/twentyfifteen/posts/index.gohtml b/internal/theme/twentyfifteen/posts/index.gohtml index fe2061e..7790759 100644 --- a/internal/theme/twentyfifteen/posts/index.gohtml +++ b/internal/theme/twentyfifteen/posts/index.gohtml @@ -20,7 +20,7 @@ class="post-{{$v.Id}} post {{if $v.Thumbnail.Path}}has-post-thumbnail{{end}} type-post status-publish format-standard hentry category"> {{if $v.Thumbnail.Path}} {{end}} diff --git a/internal/theme/twentyseventeen/posts/index.gohtml b/internal/theme/twentyseventeen/posts/index.gohtml index 025c7b9..0e4a768 100644 --- a/internal/theme/twentyseventeen/posts/index.gohtml +++ b/internal/theme/twentyseventeen/posts/index.gohtml @@ -34,17 +34,16 @@ +

+ {{$v.PostTitle}} +

-

- {{$v.PostTitle}} -

- {{if $v.Thumbnail.Path}}
- {{$v.PostTitle}} + {{$v.PostTitle}}
{{end}}