diff options
| -rw-r--r-- | assets/css/post-single.css | 5 | ||||
| -rw-r--r-- | layouts/_default/single.html | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 393a86a..0282d50 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -8,6 +8,11 @@ transform: translateX(-2px) } +.post-description { + margin-top: 10px; + margin-bottom: 5px; +} + .post-meta { color: var(--secondary); font-size: 14px; diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 21e8e79..0f1480b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,6 +6,9 @@ {{ .Title }} {{- if .Draft }}<div class="entry-isdraft"><sup> [draft]</sup></div>{{- end }} </h1> + <div class="post-description"> + {{ .Description }} + </div> {{- if .Params.hideMeta }}{{ else }} <div class="post-meta"> {{- partial "post_meta.html" . -}} |
