Adjust tag_cloud style as advised by Alexandre
This commit is contained in:
		
							parent
							
								
									73b6a97fbd
								
							
						
					
					
						commit
						434121e1b3
					
				
					 1 changed files with 5 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -16,19 +16,15 @@
 | 
			
		|||
 | 
			
		||||
  {% if PLUGINS and 'tag_cloud' in PLUGINS %}
 | 
			
		||||
    <div>
 | 
			
		||||
      <h2 id="tag_cloud">{{ _('Tag Cloud') }}</h2>
 | 
			
		||||
      <ul class="tagcloud">
 | 
			
		||||
          {% for tag in tag_cloud %}
 | 
			
		||||
              <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
 | 
			
		||||
          {% endfor %}
 | 
			
		||||
        {% for tag in tag_cloud %}
 | 
			
		||||
            <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
      </ul>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div>
 | 
			
		||||
      <h2 id="tag_list">{{ _('Tag List') }}</h2>
 | 
			
		||||
  {% endif %}
 | 
			
		||||
  {% if not PLUGINS or 'tag_cloud' not in PLUGINS %}
 | 
			
		||||
    <div>
 | 
			
		||||
  {% endif %}
 | 
			
		||||
 | 
			
		||||
  <div>
 | 
			
		||||
    <ul class="list">
 | 
			
		||||
      {%- for tag, articles in tags|sort %}
 | 
			
		||||
          <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
 | 
			
		||||
| 
						 | 
				
			
			@ -37,4 +33,3 @@
 | 
			
		|||
  </div>
 | 
			
		||||
</article>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue