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

github.com/themefisher/Influencer-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomrat <monnaf37@gmail.com>2019-12-03 10:33:39 +0300
committersomrat <monnaf37@gmail.com>2019-12-03 10:33:39 +0300
commitd747873e177c1a914d36423a117ba399be4e4e32 (patch)
tree2a3bfc5a1bb3ecbe9787ed547d06c087c4535155
parent3914604cfa7dca4544718ee13e510d09b25b3925 (diff)
modified links for categories and tags
-rw-r--r--layouts/partials/head.html4
-rw-r--r--layouts/partials/sidebar.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 0c55791..a6b6cd7 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -22,7 +22,7 @@
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
{{ "<!--Favicon-->" | safeHTML }}
- <link rel="shortcut icon" href="{{ "images/favicon.png" | absURL }} " type="image/x-icon">
- <link rel="icon" href="{{ "images/favicon.png" | absURL }} " type="image/x-icon">
+ <link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
+ <link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
</head> \ No newline at end of file
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index c88eeee..b7316d3 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -20,7 +20,7 @@
<ul class="list-unstyled">
{{- range $name, $items := .Site.Taxonomies.categories }}
<li>
- <a href="{{ "categories/" | relLangURL }}{{ $name | urlize | lower }}">{{ $name | title | humanize }}<span class="ml-2">({{len $items}})</span></a>
+ <a href="{{ `categories/` | relLangURL }}{{ $name | urlize | lower }}">{{ $name | title | humanize }}<span class="ml-2">({{len $items}})</span></a>
</li>
{{- end }}
</ul>
@@ -34,7 +34,7 @@
{{- if isset .Site.Taxonomies "tags" }}
{{- if not (eq (len .Site.Taxonomies.tags) 0) }}
{{- range $name, $items := .Site.Taxonomies.tags }}
- <a href="{{ "tags/" | relLangURL }}{{ $name | urlize | lower }}">{{ $name | humanize }}</a>
+ <a href="{{ `tags/` | relLangURL }}{{ $name | urlize | lower }}">{{ $name | humanize }}</a>
{{- end }}
{{- end }}
{{- end }}