digitalglarus: changed style of posts.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								dbc53d0deb
							
						
					
				
			
			
				commit
				
					
						eb1d4b04a5
					
				
			
		
					 3 changed files with 15 additions and 18 deletions
				
			
		| 
						 | 
					@ -8,26 +8,27 @@
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  {% endif %}
 | 
					  {% endif %}
 | 
				
			||||||
  <header>
 | 
					  <header>
 | 
				
			||||||
    {% block blog_meta %}
 | 
					    <hr></hr>
 | 
				
			||||||
    {# include "glarus_blog/includes/blog_meta.html" #}
 | 
					    <h2 class="text-center intro-text">
 | 
				
			||||||
    {% endblock %}
 | 
					      <a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
 | 
				
			||||||
    <h2>
 | 
					 | 
				
			||||||
      <a href="{% url 'digitalglarus:blog-detail' post.slug %}">
 | 
					 | 
				
			||||||
	{{ post.title }}
 | 
						{{ post.title }}
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
      <br>
 | 
					 | 
				
			||||||
      <small>
 | 
					      <small>
 | 
				
			||||||
	{{ post.date_created }}
 | 
						{{ post.date_created }}
 | 
				
			||||||
      </small>
 | 
					      </small>
 | 
				
			||||||
    </h2>
 | 
					    </h2>
 | 
				
			||||||
 | 
					    <hr></hr>
 | 
				
			||||||
 | 
					    {% block blog_meta %}
 | 
				
			||||||
 | 
					    {% include "glarus_blog/includes/blog_meta.html" %}
 | 
				
			||||||
 | 
					    {% endblock %}
 | 
				
			||||||
  </header>
 | 
					  </header>
 | 
				
			||||||
  <div class="blog-lead text-center">
 | 
					  <div class="blog-lead text-center blog-abstract">
 | 
				
			||||||
    <p>
 | 
					    <p>
 | 
				
			||||||
      {{ post.abstract| safe }}
 | 
					      {{ post.abstract| safe }}
 | 
				
			||||||
    </p>
 | 
					    </p>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <footer class="read-more">
 | 
					  <div class="read-more">
 | 
				
			||||||
    <a class="lead" href="{% url 'digitalglarus:blog-detail' post.slug %}">{% trans "read more" %} »</a>
 | 
					    <a class="lead" href="{% url 'digitalglarus:blog-detail' post.slug %}">{% trans "read more" %} »</a>
 | 
				
			||||||
  </footer>
 | 
					  </div>
 | 
				
			||||||
  <hr></hr>
 | 
					  <hr></hr>
 | 
				
			||||||
</article>
 | 
					</article>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,20 +15,21 @@
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  {% endif %}
 | 
					  {% endif %}
 | 
				
			||||||
  <header class="text-center">
 | 
					  <header class="text-center">
 | 
				
			||||||
    <h2>
 | 
					    <hr></hr>
 | 
				
			||||||
      <a href="{% url 'digitalglarus:blog-detail' post.slug %}">
 | 
					    <h2 class="text-center intro-text">
 | 
				
			||||||
 | 
					      <a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
 | 
				
			||||||
	{{ post.title }}
 | 
						{{ post.title }}
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
      <br>
 | 
					 | 
				
			||||||
      <small>
 | 
					      <small>
 | 
				
			||||||
	{{ post.date_created }}
 | 
						{{ post.date_created }}
 | 
				
			||||||
      </small>
 | 
					      </small>
 | 
				
			||||||
    </h2>
 | 
					    </h2>
 | 
				
			||||||
 | 
					    <hr></hr>
 | 
				
			||||||
    {% block blog_meta %}
 | 
					    {% block blog_meta %}
 | 
				
			||||||
    {% include "glarus_blog/includes/blog_meta.html" %}
 | 
					    {% include "glarus_blog/includes/blog_meta.html" %}
 | 
				
			||||||
    {% endblock %}
 | 
					    {% endblock %}
 | 
				
			||||||
    </header>
 | 
					    </header>
 | 
				
			||||||
    {% endspaceless %}
 | 
					    {% endspaceless %}
 | 
				
			||||||
    <div class="blog-content">{% render_placeholder post.content %}</div>
 | 
					    <div class="digitalglarus-blog-content">{% render_placeholder post.content %}</div>
 | 
				
			||||||
</article>
 | 
					</article>
 | 
				
			||||||
{% endblock content_blog %}
 | 
					{% endblock content_blog %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,11 +7,6 @@
 | 
				
			||||||
<section class="blog-list">
 | 
					<section class="blog-list">
 | 
				
			||||||
    {% block blog_title %}
 | 
					    {% block blog_title %}
 | 
				
			||||||
    <header>
 | 
					    <header>
 | 
				
			||||||
      <hr></hr>
 | 
					 | 
				
			||||||
      <h2 class="intro-text text-center">
 | 
					 | 
				
			||||||
	Digital Glarus <b>Blog</b>
 | 
					 | 
				
			||||||
      </h2>
 | 
					 | 
				
			||||||
      <hr></hr>
 | 
					 | 
				
			||||||
    </header>
 | 
					    </header>
 | 
				
			||||||
    {% endblock %}
 | 
					    {% endblock %}
 | 
				
			||||||
    {% for post in post_list %}
 | 
					    {% for post in post_list %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue