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

github.com/themefisher/twenty-twenty-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2020-12-02 06:56:08 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2020-12-02 06:56:08 +0300
commitb74f11da0b7d243a2fa51a13958bc494f69d6ca3 (patch)
tree0c3308c372963501a3073d305416762c289a2e41
parent9946275c9f577d84fd259f2ecf883ed482d93774 (diff)
modified image tag
-rw-r--r--layouts/_default/post.html2
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/post.html b/layouts/_default/post.html
index 1ed370b..bc25df6 100644
--- a/layouts/_default/post.html
+++ b/layouts/_default/post.html
@@ -55,7 +55,7 @@
<figure class="featured-media-">
<div class="featured-media-inner section-inner medium">
<img width="1200" height="769"
- src="{{ .Params.Image | absURL }}"
+ src="{{ .Params.image | absURL }}"
class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" sizes="(max-width: 1200px) 100vw, 1200px">
</div><!-- .featured-media-inner -->
</figure><!-- .featured-media -->
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index c852280..87c02c7 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -59,7 +59,7 @@
{{if .Params.Image }}
<figure class="featured-media">
<div class="featured-media-inner section-inner medium">
- <img width="1200" height="769" src="{{ .Params.Image | absURL }}"
+ <img width="1200" height="769" src="{{ .Params.image | absURL }}"
class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="{{.Title }}"
sizes="(max-width: 1200px) 100vw, 1200px">
</div><!-- .featured-media-inner -->
diff --git a/layouts/index.html b/layouts/index.html
index 9b1b16d..a3f8040 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -80,4 +80,4 @@
</div><!-- .post-inner -->
</article>
-{{ end }}
+{{ end }} \ No newline at end of file