aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-05-10 16:54:38 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-05-10 16:54:38 +0530
commitcc29a651069fa8ea9c27d6e89ad095164668362c (patch)
tree85bbf209b2792a50083dc543ccb52f5f13a5aa80
parenta80c83783e7f136b7644cb2789ec267734670c86 (diff)
removed trailing / from img tags
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index da62135..8313a5e 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -3,7 +3,7 @@
<div class="section-child">
<div class="img-r">
<a href="/image-ownership-notice/">
- <img src="{{ .Params.img }}" alt="{{ .Params.imgAlt }}"/>
+ <img src="{{ .Params.img }}" alt="{{ .Params.imgAlt }}">
</a>
</div>
<p>{{ .Params.imgText }}</p>
diff --git a/layouts/index.html b/layouts/index.html
index 87a2219..ddcb565 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -27,7 +27,7 @@
<!-- remove the <a> tag if the image shouldn't be a hyperlink -->
<!--
<a href="{{ .Params.imgLink }}">
- <img src="{{ .Params.img }}" alt="{{ .Params.imgAlt }}"/>
+ <img src="{{ .Params.img }}" alt="{{ .Params.imgAlt }}">
</a>
</div>
</div>