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:
authorGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2019-12-11 20:33:20 +0300
committerGitHub <noreply@github.com>2019-12-11 20:33:20 +0300
commite45210fd7697670746444928a15e2e28eaf370e0 (patch)
tree7db1dee0b393ab4c691996148b2d5f80e6ec5864
parente6d8c2be7cd613647d320dffa9b043b90784c084 (diff)
Avoid markify footer. (#251)1.1.1master_v2
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/footer.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index e91ddb2..3e7d4ce 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -109,7 +109,7 @@ paginate = 10
logo = "img/logo.png"
logo_small = "img/logo-small.png"
- address = """<p><strong>Universal Ltd.</strong>
+ address = """<p class="text-uppercase"><strong>Universal Ltd.</strong>
<br>13/25 New Avenue
<br>Newtown upon River
<br>45Y 73J
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index f037eb4..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">
@@ -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>