diff options
| -rw-r--r-- | assets/css/post-entry.css | 8 | ||||
| -rw-r--r-- | layouts/_default/single.html | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/assets/css/post-entry.css b/assets/css/post-entry.css index 42202b4..31f0266 100644 --- a/assets/css/post-entry.css +++ b/assets/css/post-entry.css @@ -88,9 +88,15 @@ font-size: 14px; } +.entry-cover { + margin-bottom: var(--gap); + text-align: center; + font-size: 14px; + color: var(--secondary); +} + .entry-cover img { border-radius: var(--radius); - margin-bottom: var(--gap); pointer-events: none; width: 100%; } diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7d688e3..5c72ac4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -33,6 +33,7 @@ {{- else}} <img src="{{ .Permalink -}} {{- .Params.cover.image }}" alt="{{ .Params.cover.alt | plainify }}"> {{- end}} + <p>{{.Params.cover.caption}}</p> </figure> {{- end }} {{- if .Params.ShowToc }} |
