diff --git a/assets/css/post-single.css b/assets/css/post-single.css index b7ec47fe..16a6c12e 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -242,6 +242,10 @@ margin: auto } +.post-content figure.align-center { + text-align: center; +} + .post-content figure > figcaption { color: var(--primary); font-size: 16px; diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index 71aebb15..77f188ea 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -1,8 +1,11 @@ - + {{- if .Get "link" -}} {{- end }} -