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

github.com/salcan/BeyondNothing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSal Cangeloso <salcan@gmail.com>2018-06-07 05:00:24 +0300
committerGitHub <noreply@github.com>2018-06-07 05:00:24 +0300
commite02d02fc2e8fa496865397b955021feb3eae0357 (patch)
tree506df20decf7a839f49add18cf04f7a08b5eef99
parent99fae2bdf2c0fddff28245fc228f59d97835eb3f (diff)
add slash
tags were breaking and missing a slash. looked like /tagsone, /tagstwo, not /tags/one
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9894d81..0015253 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -32,14 +32,14 @@
{{ with .Params.topics }}
<ul id="topics">
{{ range . }}
- <li><a href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li>
+ <li><a href="{{ "topics" | absURL}}/{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
{{ end }}
{{ with .Params.tags }}
<ul id="tags">
{{ range . }}
- <li> <a href="{{ "tags" | absURL }}{{ . | urlize }}">{{ . }}</a> </li>
+ <li> <a href="{{ "tags" | absURL }}/{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
{{ end }}