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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 06cd6b2..b1ffb80 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -5,7 +5,7 @@
<div class="col-md-4 col-sm-6">
<h4>{{ i18n "aboutUs" }}</h4>
- {{ .Site.Params.about_us | markdownify }}
+ {{ .Site.Params.about_us | safeHTML }}
<hr class="hidden-md hidden-lg hidden-sm">
@@ -19,14 +19,14 @@
<h4>{{ i18n "recentPosts" }}</h4>
<div class="blog-entries">
- {{ range first 3 (where .Site.Pages "Type" "blog") }}
+ {{ range first 3 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
<div class="item same-height-row clearfix">
<div class="image same-height-always">
<a href="{{ .Permalink }}">
{{ if isset .Params "banner" }}
- <img src="{{ .Site.BaseURL}}{{ .Params.banner }}" class="img-responsive" alt="">
+ <img src="{{ .Params.banner | relURL }}" class="img-responsive" alt="{{ .Title }}">
{{ else }}
- <img src="{{ .Site.BaseURL}}img/placeholder.png" class="img-responsive" alt="">
+ <img src="{{ "img/placeholder.png" | relURL }}" class="img-responsive" alt="{{ .Title }}">
{{ end }}
</a>
</div>
@@ -48,7 +48,7 @@
<h4>{{ i18n "contactTitle" }}</h4>
- {{ .Site.Params.address | markdownify }}
+ {{ .Site.Params.address | safeHTML }}
<a href="/contact" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a>
@@ -76,10 +76,10 @@ _________________________________________________________ -->
<p class="pull-left">{{ .Site.Params.copyright | safeHTML }}</p>
{{ end }}
<p class="pull-right">
- {{ i18n "templateBy" }} <a href="http://bootstrapious.com/free-templates">Bootstrapious</a>.
+ {{ i18n "templateBy" | markdownify }} <a href="https://bootstrapious.com/p/universal-business-e-commerce-template">Bootstrapious</a>.
<!-- Not removing this link is part of the licence conditions of the template. Thanks for understanding :) -->
- {{ i18n "portedBy" }} <a href="https://github.com/devcows/hugo-universal-theme">DevCows</a>
+ {{ i18n "portedBy" | markdownify }} <a href="https://github.com/devcows/hugo-universal-theme">DevCows</a>.
</p>
</div>
</div>