diff options
author | Nathan Williams <nathan.andrew.williams@gmail.com> | 2014-04-24 16:14:36 +1000 |
---|---|---|
committer | Nathan Williams <nathan.andrew.williams@gmail.com> | 2014-04-24 16:14:36 +1000 |
commit | b6a040e83e6ef54c2b334af32aa491f7390bb679 (patch) | |
tree | dbc828fc2867cc97eddbde43aa0b9f65ee6b18ff | |
parent | daceecf538446c97d833954eb5e381fef00bcfd9 (diff) | |
download | pelican-themes-b6a040e83e6ef54c2b334af32aa491f7390bb679.tar.gz |
Fixed tag-cloud in foundation-default-colours to respect config by using example from docs: http://docs.getpelican.com/en/3.3.0/settings.html#tag-cloud
-rw-r--r-- | foundation-default-colours/templates/base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/foundation-default-colours/templates/base.html b/foundation-default-colours/templates/base.html index 9d0ff88..3f27d2a 100644 --- a/foundation-default-colours/templates/base.html +++ b/foundation-default-colours/templates/base.html @@ -147,7 +147,7 @@ <h5>Tags</h5> <ul class="tag-cloud"> {% for tag in tag_cloud %} - <li><a href="/tag/{{ tag.0|lower|replace(' ', '-') }}/" class="tag-{{ tag.1 }}">{{ tag.0 }}</a></li> + <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li> {% endfor %} </ul> </div> @@ -199,4 +199,4 @@ $(document).foundation(); </script> </body> -</html>
\ No newline at end of file +</html> |