diff --git a/assets/style.scss b/assets/style.scss index 2b7caab..89e78a7 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -38,6 +38,17 @@ a { text-decoration: none; } +figure { + img { + display: block; + margin: 0 auto; + } + + figcaption { + display: none; + } +} + .nav { max-width: 1200px; margin: 0 auto; diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html new file mode 100644 index 0000000..b9187a2 --- /dev/null +++ b/layouts/shortcodes/image.html @@ -0,0 +1,4 @@ +
+ {{ .Get +
{{ .Get "alt" }}
+