From 6423a3b90c814f98e06b6ee89f8a720c491b837c Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Sat, 15 Feb 2020 23:34:25 +0300 Subject: [PATCH] remove forward slashes from urls --- layouts/_default/list.html | 4 ++-- layouts/_default/single.html | 4 ++-- layouts/index.html | 4 ++-- layouts/partials/head.html | 8 ++++---- layouts/taxonomy/category.html | 2 +- layouts/taxonomy/tag.html | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a9b13ec..078527d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -18,14 +18,14 @@ {{ if .Params.categories }} {{ end }} {{ if .Params.tags }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2fc2550..af45b14 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -15,14 +15,14 @@ {{ if .Params.categories }} {{ end }} {{ if .Params.tags }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html index 9048e8b..dae8307 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -24,14 +24,14 @@ {{ if .Params.categories }} {{ end }} {{ if .Params.tags }} {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index cb66e68..d3b5cb8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,12 +7,12 @@ {{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }} - + - - + + - + {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} diff --git a/layouts/taxonomy/category.html b/layouts/taxonomy/category.html index 6b1577c..0533db6 100644 --- a/layouts/taxonomy/category.html +++ b/layouts/taxonomy/category.html @@ -2,7 +2,7 @@

{{ i18n "category" | humanize }}: {{ .Title }}

- {{ i18n "toAllCategories" | humanize }} + {{ i18n "toAllCategories" | humanize }}
{{ range .Data.Pages }}
diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index 667e611..f01168f 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -2,7 +2,7 @@

{{ i18n "tag" | humanize }}: {{ .Title }}

{{ range .Data.Pages }}