Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/adityatelange/hugo-PaperMod.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-07-16 21:49:07 +0300
committerGitHub <noreply@github.com>2022-07-16 21:49:07 +0300
commit450e8867a64eafe1ca301a25e3e0878b4da5cbfa (patch)
tree728f94326c26ba21b1aa3ed95eaad7e75321d60a
parent575b0b0e38ccf8446bcc3c4995ae3616c8159ffc (diff)
Update inTextImg.html
Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
-rw-r--r--layouts/shortcodes/inTextImg.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/inTextImg.html b/layouts/shortcodes/inTextImg.html
index 5e6d84d6..0239fd68 100644
--- a/layouts/shortcodes/inTextImg.html
+++ b/layouts/shortcodes/inTextImg.html
@@ -2,4 +2,4 @@
{{- $height := (.Get "height") }}
{{- $alt := (.Get "alt") }}
-<img class="in-text" height="{{ $height | default `15px` }}" src="{{$Img}}" alt="{{$alt}}"> \ No newline at end of file
+<img class="in-text" height="{{ $height | default `15` }}" src="{{$Img}}" alt="{{$alt}}">