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

github.com/zhe/hugo-theme-slim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinexist3nce <inexist3nce@users.noreply.github.com>2016-03-05 08:24:01 +0300
committerinexist3nce <inexist3nce@users.noreply.github.com>2016-03-05 08:24:01 +0300
commit5d1eba269ad9058c0c960ac14461b853f80d6c0a (patch)
treec592aacf489024af7861d5c862a002f1688a350f
parent9d3465beb042a95df9f9f39be84a8e4bb542627b (diff)
parent8f3207801a4f53a14a32495f1fa123020a00b59f (diff)
Merge pull request #1 from camconn/master
Make tag links respect site BaseURL
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/index.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index ef39b79..fa59237 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -17,7 +17,7 @@
{{ if .Params.tags }}
<span class="post-tags">
{{ range .Params.tags }}
- #<a href="/tags/{{ . | urlize }}">{{ . }}</a>&nbsp;
+ #<a href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>&nbsp;
{{ end }}
</span>
{{ end }}
@@ -43,4 +43,4 @@
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/layouts/index.html b/layouts/index.html
index 07331ed..9eb435d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -17,7 +17,7 @@
{{ if .Params.tags }}
<span class="post-tags">
{{ range .Params.tags }}
- #<a href="/tags/{{ . | urlize }}">{{ . }}</a>&nbsp;
+ #<a href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>&nbsp;
{{ end }}
</span>
{{ end }}
@@ -43,4 +43,4 @@
</body>
-</html> \ No newline at end of file
+</html>