diff options
| author | nanxiaobei <nanxiaobei@gmail.com> | 2019-03-31 20:32:06 +0800 |
|---|---|---|
| committer | nanxiaobei <nanxiaobei@gmail.com> | 2019-03-31 20:32:06 +0800 |
| commit | 8088299ecb919f61daff669c9c25b6e1ca5924c1 (patch) | |
| tree | 2c4b0dbe9b2787ed688d6feec2afce2707329ff6 /layouts/_default/single.html | |
| parent | 55dc991f4c5e269e81bc1a5fc16224191f980c7b (diff) | |
Update for 3.0
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6d0935e..25fdb5c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,12 +1,12 @@ {{ partial "header.html" . }} -<article class="post post-view"> +<article class="post-single"> <header class="post-header"> <h1 class="post-title">{{ .Title }}</h1> - <p class="post-meta"> + <div class="post-meta"> {{- if or .Params.author .Site.Params.author -}} {{ .Params.author | default .Site.Params.author }} ยท {{ end }} {{- .Date.Format "2006.1.2" -}} - </p> + </div> </header> <div class="post-content">{{ .Content }}</div> <footer class="post-footer"> |
