mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add missing SITEURL variable to tag cloud docs
This commit is contained in:
parent
b282b7c72d
commit
f43742c3f0
1 changed files with 2 additions and 2 deletions
|
|
@ -493,11 +493,11 @@ Setting name (default value) What does it do?
|
|||
`TAG_CLOUD_MAX_ITEMS` (``100``) Maximum number of tags in the cloud.
|
||||
================================================ =====================================================
|
||||
|
||||
The default theme does not support tag clouds, but it is pretty easy to add::
|
||||
The default theme does not include a tag cloud, but it is pretty easy to add::
|
||||
|
||||
<ul>
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ tag.0.url }}">{{ tag.0 }}</a></li>
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue