diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 029e215..0f569bf 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -393,4 +393,9 @@ h6:hover .anchor { h1>a>svg { display: inline; +} + +img.in-text { + display: inline; + margin: auto; } \ No newline at end of file diff --git a/layouts/shortcodes/inTextImg.html b/layouts/shortcodes/inTextImg.html new file mode 100644 index 0000000..5e6d84d --- /dev/null +++ b/layouts/shortcodes/inTextImg.html @@ -0,0 +1,5 @@ +{{- $Img := (.Get "url") }} +{{- $height := (.Get "height") }} +{{- $alt := (.Get "alt") }} + +{{$alt}} \ No newline at end of file