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

github.com/themefisher/restaurant-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomrat <monnaf37@gmail.com>2019-10-26 07:05:47 +0300
committersomrat <monnaf37@gmail.com>2019-10-26 07:05:47 +0300
commita9d5b4c56fb342bca6669b2842c7ed2890f8d050 (patch)
tree2af04440af6d290aaa5649403890089956fea541
parent866181e3871fbe9a0a4896ec150898025cbc4073 (diff)
fixed blog image not rendering and footer hyper link
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/partials/blog.html2
-rw-r--r--layouts/partials/footer.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index f8341d3..834b29f 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -12,7 +12,7 @@
{{ range $paginator.Pages }}
<li class="wow fadeInLeft" data-wow-duration="300ms" data-wow-delay="300ms">
<div class="blog-img">
- <img src="{{ .Params.image | absURL }}" alt="post-image" class="img-responsive">
+ <img src="{{ .Params.Image | absURL }}" alt="post-image" class="img-responsive">
</div>
<div class="content-right">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
diff --git a/layouts/partials/blog.html b/layouts/partials/blog.html
index 565217c..85485af 100644
--- a/layouts/partials/blog.html
+++ b/layouts/partials/blog.html
@@ -10,7 +10,7 @@
{{ range $paginator.Pages }}
<li class="wow fadeInLeft" data-wow-duration="300ms" data-wow-delay="300ms">
<div class="blog-img">
- <img src="{{ .Params.image | absURL }}" alt="post-image" class="img-responsive">
+ <img src="{{ .Params.Image | absURL }}" alt="post-image" class="img-responsive">
</div>
<div class="content-right">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 33cd22d..7ab0c00 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -10,7 +10,7 @@
{{ range $.Site.Params.footer.contactItem }}
<li>
<h4><i class="{{.icon}}"></i>{{ .title }}</h4>
- <p>{{ .content }}</p>
+ <p>{{ .content | markdownify }}</p>
</li>
{{end}}
</ul>