diff options
author | Robson Sobral <robson@oficiodesign.com> | 2020-03-18 15:25:20 +0300 |
---|---|---|
committer | Robson Sobral <robson@oficiodesign.com> | 2020-03-18 15:25:20 +0300 |
commit | 8abfe69a97026661d087855a5d0ab5523e86f255 (patch) | |
tree | 896cbfcdbd03dc4785f8a91d662f179f32cf1324 /layouts | |
parent | fba20af335016c9eb13b20139571e0a6cec6a633 (diff) |
Fix diacritics issues
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/partials/about.html | 2 | ||||
-rw-r--r-- | layouts/partials/contact.html | 2 | ||||
-rw-r--r-- | layouts/partials/hero-area.html | 4 | ||||
-rw-r--r-- | layouts/partials/navigation.html | 8 | ||||
-rw-r--r-- | layouts/partials/service.html | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b4395ce..5ba34fc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,7 +2,7 @@ {{- partial "head.html" . -}} <body> {{- partial "header.html" . -}} - <div id="{{ i18n "content" | anchorize }}"> + <div id="{{ i18n "content" | urlize }}"> {{- block "main" . }}{{- end }} </div> {{- partial "footer.html" . -}} diff --git a/layouts/partials/about.html b/layouts/partials/about.html index 187041f..339d50b 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -1,6 +1,6 @@ {{ if .Site.Params.about.enable }} {{"<!-- About Section -->" | safeHTML}} - <section id="{{ i18n "about" | anchorize }}" class="section about bg-gray"> + <section id="{{ i18n "about" | urlize }}" class="section about bg-gray"> <div class="container"> <div class="row"> <div class="col-md-7 col-sm-12 wow fadeInLeft"> diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index e44f517..67b2996 100644 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -1,6 +1,6 @@ {{ if .Site.Params.contact.enable }} {{"<!-- Contact Section -->" | safeHTML}} - <section id="{{ i18n "contact" | anchorize }}" class="section contact"> + <section id="{{ i18n "contact" | urlize }}" class="section contact"> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12"> diff --git a/layouts/partials/hero-area.html b/layouts/partials/hero-area.html index 3892617..863fecf 100644 --- a/layouts/partials/hero-area.html +++ b/layouts/partials/hero-area.html @@ -1,6 +1,6 @@ {{ if .Site.Params.hero.enable }} {{"<!-- Hero Area Section -->" | safeHTML}} - <section id="{{ i18n "home" | anchorize }}" class="hero-area" style='background-image: url("{{ with .Site.Params.hero.bg }} {{ . }}{{ end }}");'> + <section id="{{ i18n "home" | urlize }}" class="hero-area" style='background-image: url("{{ with .Site.Params.hero.bg }} {{ . }}{{ end }}");'> <div class="container"> <div class="row"> <div class="col-lg-7 col-md-6"> @@ -17,7 +17,7 @@ {{ end }} {{ with .Site.Params.hero.btnText }} <div class="wow fadeInDown" data-wow-delay="0.7s" data-wow-duration=".7s"> - <a class="btn btn-home" href="#{{ i18n "about" | anchorize }}" role="button"> + <a class="btn btn-home" href="#{{ i18n "about" | urlize }}" role="button"> {{ . }} </a> </div> diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index db94087..6e78c4b 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -11,27 +11,27 @@ <div class="collapse navbar-toggleable-md" id="navbarResponsive"> <ul class="nav navbar-nav menu float-lg-right" id="top-nav"> <li class="nav-item active"> - <a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "home" | anchorize }}"> + <a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "home" | urlize }}"> {{ with .Site.Params.navigation.home }} {{ . }} {{ end }} </a> </li> {{ if .Site.Params.about.enable }} <li class="nav-item"> - <a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "about" | anchorize }}"> + <a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "about" | urlize }}"> {{ with .Site.Params.navigation.about }} {{ . }} {{ end }} </a> </li> {{ end }} {{ if .Site.Params.service.enable }} <li class="nav-item"> - <a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "service" | anchorize }}"> + <a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "service" | urlize }}"> {{ with .Site.Params.navigation.service }} {{ . }} {{ end }} </a> </li> {{ end }} {{ if .Site.Params.contact.enable }} <li class="nav-item"> - <a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "contact" | anchorize }}"> + <a class="nav-link" href="{{ .Site.BaseURL }}#{{ i18n "contact" | urlize }}"> {{ with .Site.Params.navigation.contact }} {{ . }} {{ end }} </a> </li> diff --git a/layouts/partials/service.html b/layouts/partials/service.html index d74ba37..0985909 100644 --- a/layouts/partials/service.html +++ b/layouts/partials/service.html @@ -1,6 +1,6 @@ {{ if .Site.Params.service.enable }} {{"<!-- Service Section -->" | safeHTML}} - <section id="{{ i18n "service" | anchorize }}" class="service section"> + <section id="{{ i18n "service" | urlize }}" class="service section"> <div class="container"> <div class="row"> <div class="heading wow fadeInUp"> |