updated main pages links
This commit is contained in:
parent
d29902c676
commit
5fd4275046
46 changed files with 467 additions and 770 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "digitalglarus/base.html" %}
|
||||
{% extends "base_glarus.html" %}
|
||||
|
||||
{% block meta %}
|
||||
{% if meta %}
|
||||
|
|
@ -16,4 +16,4 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -29,4 +29,4 @@
|
|||
<div class="read-more">
|
||||
<a class="lead" href="{% url 'djangocms_blog:post-detail' post.slug %}">{% trans "read more" %} »</a>
|
||||
</div>
|
||||
</article>
|
||||
</article>
|
||||
|
|
@ -20,4 +20,4 @@
|
|||
<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>
|
||||
</ul>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "glarus_blog/base.html" %}
|
||||
{% extends "base_glarus.html" %}
|
||||
{% load i18n thumbnail cms_tags %}
|
||||
|
||||
{% block meta_description %}{{ post.meta_description }}{% endblock meta_description %}
|
||||
|
|
@ -7,7 +7,6 @@
|
|||
{% block title %}{{ post.get_title }}{% endblock %}
|
||||
|
||||
{% block content_blog %}{% spaceless %}
|
||||
{% debug %}
|
||||
<article id="post-{{ post.slug }}" class="post-item post-detail">
|
||||
{% if post.main_image_id %}
|
||||
<div class="blog-visual">
|
||||
|
|
@ -18,7 +17,7 @@
|
|||
<header class="text-center">
|
||||
<hr></hr>
|
||||
<h2 class="text-center intro-text">
|
||||
<a href="{% url 'djangocms_blog:post-detail' post.slug %}" class="post-title center-block">
|
||||
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
|
||||
<b>{{ post.title }}</b>
|
||||
</a>
|
||||
<small>
|
||||
|
|
@ -27,10 +26,10 @@
|
|||
</h2>
|
||||
<hr></hr>
|
||||
{% block blog_meta %}
|
||||
include "glarus_blog/includes/blog_meta.html"
|
||||
{# include "glarus_blog/includes/blog_meta.html" #}
|
||||
{% endblock %}
|
||||
</header>
|
||||
{% endspaceless %}
|
||||
<div class="digitalglarus-blog-content">{% render_placeholder post.content %}</div>
|
||||
</article>
|
||||
{% endblock content_blog %}
|
||||
{% endblock content_blog %}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "glarus_blog/base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% load i18n thumbnail %}{% spaceless %}
|
||||
|
||||
{% block canonical_url %}<link rel="canonical" href="{{ SITE.domain }}{{ view.get_view_url }}"/>{% endblock canonical_url %}
|
||||
|
|
@ -32,4 +32,4 @@
|
|||
{% endif %}
|
||||
</section>
|
||||
{% endblock %}
|
||||
{% endspaceless %}
|
||||
{% endspaceless %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue