Skip to content

Commit

Permalink
Avoid markify footer. (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfox1985 authored Dec 11, 2019
1 parent e6d8c2b commit e45210f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">

Expand Down Expand Up @@ -48,7 +48,7 @@ <h5><a href="{{ .Permalink }}">{{ .Title }}</a></h5>

<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>

Expand Down

0 comments on commit e45210f

Please sign in to comment.