diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/image.html | 5 | ||||
-rw-r--r-- | layouts/unix-history/baseof.html | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index d538fde..a03ded6 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -28,10 +28,11 @@ {{- $img_raw := $img.Resize $imgproc }} <!-- Resulting HTML --> -<figure> +<figure + class="{{ $class }}" +> <a href="{{ $img_raw.Permalink }}"> <img - class="{{ $class }}" alt="{{ $alt }}" src="{{ $img1x.Permalink }}" srcset=" diff --git a/layouts/unix-history/baseof.html b/layouts/unix-history/baseof.html index b5390b9..0ad985c 100644 --- a/layouts/unix-history/baseof.html +++ b/layouts/unix-history/baseof.html @@ -141,6 +141,15 @@ margin: 0; padding: 0; } + + .button { + text-align: left; + } + .button img { + width: 88px; + padding-left: 44px; + } + </style> </head> |