styling changes: img width and work-in-progress on the next and prev buttons
This commit is contained in:
parent
52f5e29256
commit
39a4effc9e
@ -103,6 +103,11 @@ hr{
|
|||||||
margin:3em auto;
|
margin:3em auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img{
|
||||||
|
width: calc(100% + 6em);
|
||||||
|
margin: 1em 0 1em -3em;
|
||||||
|
}
|
||||||
|
|
||||||
.lastupdate{
|
.lastupdate{
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
margin:4em 0;
|
margin:4em 0;
|
||||||
|
@ -4,49 +4,66 @@
|
|||||||
{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %}
|
{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
|
|
||||||
{% import 'translations.html' as translations with context %}
|
{% import 'translations.html' as translations with context %}
|
||||||
{% if translations.entry_hreflang(article) %}
|
{% if translations.entry_hreflang(article) %}
|
||||||
{{ translations.entry_hreflang(article) }}
|
{{ translations.entry_hreflang(article) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if article.description %}
|
{% if article.description %}
|
||||||
<meta name="description" content="{{article.description}}" />
|
<meta name="description" content="{{article.description}}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for tag in article.tags %}
|
{% for tag in article.tags %}
|
||||||
<meta name="tags" content="{{tag}}" />
|
<meta name="tags" content="{{tag}}" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<section id="content" class="body">
|
<section id="content" class="body">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="entry-title">
|
<h2 class="entry-title">
|
||||||
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
||||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
|
||||||
{% import 'translations.html' as translations with context %}
|
{% import 'translations.html' as translations with context %}
|
||||||
{{ translations.translations_for(article) }}
|
{{ translations.translations_for(article) }}
|
||||||
</header>
|
</header>
|
||||||
<footer class="post-info">
|
<footer class="post-info">
|
||||||
{% if article.category %}
|
{% if article.category %}
|
||||||
<div class="category">
|
<div class="category">
|
||||||
Part of: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
Part of: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if article.tags %}
|
{% if article.tags %}
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
Tags:
|
Tags:
|
||||||
{% for tag in article.tags %}
|
{% for tag in article.tags %}
|
||||||
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{% if article.prev_article_in_category %}
|
||||||
|
<li>
|
||||||
|
<a href="{{ SITEURL }}/{{ article.prev_article_in_category.url}}">
|
||||||
|
{{ article.prev_article_in_category.title }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% if article.next_article_in_category %}
|
||||||
|
<li>
|
||||||
|
<a href="{{ SITEURL }}/{{ article.next_article_in_category.url}}">
|
||||||
|
{{ article.next_article_in_category.title }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -12,9 +12,4 @@
|
|||||||
<footer class="post-info"></footer>
|
<footer class="post-info"></footer>
|
||||||
</article></li>
|
</article></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<!-- {% if articles_page.has_other_pages() %} -->
|
|
||||||
<!-- {% include 'pagination.html' %} -->
|
|
||||||
<!-- {% endif %} -->
|
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
Loading…
Reference in New Issue
Block a user