diff --git a/assets/css/post-single.css b/assets/css/post-single.css index b7ec47f..16a6c12 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 71aebb1..77f188e 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -1,8 +1,11 @@ - + {{- if .Get "link" -}} {{- end }} -