margins of articles to be more center screen than full width added

This commit is contained in:
SURYAVANSHI SNEHAL BALKRISHNA 2020-10-15 16:16:41 +05:30
parent bbf47fe354
commit c0dc9d3c97
12 changed files with 17 additions and 8 deletions

View file

@ -1,5 +1,5 @@
{% if PLUGINS and 'neighbors' in PLUGINS %}
<div class="neighbors">
<div class="neighbors container">
{% if article.prev_article %}
<a class="btn float-left" href="{{ SITEURL }}/{{ article.prev_article.url }}" title="{{ article.prev_article.title|striptags }}">
<i class="fa fa-angle-left"></i> {{ _('Previous Post') }}

View file

@ -1,5 +1,5 @@
{% if DEFAULT_PAGINATION %}
<div class="pagination">
<div class="pagination container">
{% if articles_page.has_next() %}
<a class="btn float-left" href="{{ SITEURL }}/{{ articles_next_page.url }}">
<i class="fa fa-angle-left"></i> {{ _('Older Posts') }}

View file

@ -1,6 +1,6 @@
{% macro translations_for(article) %}
{% if article.translations %}
<div class="translations">
<div class="translations container">
<a class="active" href="{{ SITEURL }}/{{ article.url }}">{{article.lang}}</a>
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>