diff options
author | inexist3nce <inexist3nce@users.noreply.github.com> | 2016-03-05 08:24:01 +0300 |
---|---|---|
committer | inexist3nce <inexist3nce@users.noreply.github.com> | 2016-03-05 08:24:01 +0300 |
commit | 5d1eba269ad9058c0c960ac14461b853f80d6c0a (patch) | |
tree | c592aacf489024af7861d5c862a002f1688a350f | |
parent | 9d3465beb042a95df9f9f39be84a8e4bb542627b (diff) | |
parent | 8f3207801a4f53a14a32495f1fa123020a00b59f (diff) |
Merge pull request #1 from camconn/master
Make tag links respect site BaseURL
-rw-r--r-- | layouts/_default/list.html | 4 | ||||
-rw-r--r-- | layouts/index.html | 4 |
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> + #<a href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a> {{ 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> + #<a href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a> {{ end }} </span> {{ end }} @@ -43,4 +43,4 @@ </body> -</html>
\ No newline at end of file +</html> |