updated main pages links
This commit is contained in:
		
					parent
					
						
							
								d29902c676
							
						
					
				
			
			
				commit
				
					
						5fd4275046
					
				
			
		
					 46 changed files with 467 additions and 770 deletions
				
			
		
							
								
								
									
										23
									
								
								cms_templates/includes/blog_meta.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								cms_templates/includes/blog_meta.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| {% load i18n thumbnail %} | ||||
| 
 | ||||
| <ul class="post-detail list-inline"> | ||||
|     {% if post.author %} | ||||
|     <li> | ||||
| 	{% trans "by" %} <a href="{% url 'djangocms_blog:posts-author' post.author.get_username %}">{% if post.author.get_full_name %}{{ post.author.get_full_name }}{% else %}{{ post.author }}{% endif %}</a> | ||||
|     </li> | ||||
|     {% endif %} | ||||
| </ul> | ||||
| <ul class="post-detail tags list-inline"> | ||||
|     {% if post.categories.exists %} | ||||
| 	{% for category in post.categories.all %} | ||||
| 	    {% if category.slug %} | ||||
| 		<li class="category_{{ forloop.counter }}"><a href="{% url 'djangocms_blog:posts-category' category=category.slug %}" class="blog-categories-{{ category.count }}">{{ category.name }}</a>{% if not forloop.last %}, {% endif %}</li> | ||||
| 	    {% endif %} | ||||
| 	{% endfor %} | ||||
|     {% endif %} | ||||
|     {% if post.tags.exists %} | ||||
| 	{% for tag in post.tags.all %} | ||||
| 	    <li class="tag_{{ forloop.counter }}"><a href="{% url 'djangocms_blog:posts-tagged' tag=tag.slug %}" class="blog-tag blog-tag-{{ tag.count }}">{{ tag.name }}</a>{% if not forloop.last %}, {% endif %}</li> | ||||
| 	{% endfor %} | ||||
|     {% endif %} | ||||
| </ul> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue