remove duplicate main-content

This commit is contained in:
Jesús
2019-03-17 17:13:40 -05:00
parent 1e525f348f
commit e688de7eb7
5 changed files with 393 additions and 412 deletions

View File

@@ -29,89 +29,85 @@
{% endblock %}
{% block content %}
<div class="main-content">
<div class="container">
<!-- start of pages -->
<div class="columns is-multiline is-centered">
<!-- start of page -->
<div class="column is-7">
<div class="card">
<!-- post header -->
<div class="card-content-header">
<h4 class="title is-4 has-text-centered">{{ page.title }}</h4>
</div>
<!-- end of post header -->
<!-- post content -->
<div class="card-content">
<div class="content">
<div class="card-inner-wrapper">
<!-- post text -->
<div class="card-content-text has-text-justified">
{{ page.content }}
</div>
<!-- end of post text -->
<!-- post footer -->
<div class="card-content-footer-small">
<div class="navbar is-social-center">
<a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
<title>GNUSocial</title>
</svg>
</span>
</a>
<a class="navbar-item" href="{{ SOCIAL['diaspora'] }}">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
<title>Diaspora</title>
</svg>
</span>
</a>
<a class="navbar-item" href="{{ SOCIAL['mastodom'] }}">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
<title>Mastodom</title>
</svg>
</span>
</a>
</div>
<!-- post footer nav -->
<div class="columns">
<div class="column has-text-left">
<a class="button is-small is-button-grey" href="{{ SITEURL }}/">{{ _('Regresar al Inicio') }}</a>
</div>
<div class="column has-text-right">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#translate" />
</svg>
</span>
{% import 'translations.html' as translations with context %}
{% if translations.translations_for(page) %}
<small>
{{ translations.translations_for(page) }}
</small>
{% endif %}
</div>
</div>
<!-- end of post footer nav -->
</div>
<!-- end of post footer -->
<div class="container">
<!-- start of pages -->
<div class="columns is-multiline is-centered">
<!-- start of page -->
<div class="column is-7">
<div class="card">
<!-- post header -->
<div class="card-content-header">
<h4 class="title is-4 has-text-centered">{{ page.title }}</h4>
</div>
<!-- end of post header -->
<!-- post content -->
<div class="card-content">
<div class="content">
<div class="card-inner-wrapper">
<!-- post text -->
<div class="card-content-text has-text-justified">
{{ page.content }}
</div>
<!-- end of post text -->
<!-- post footer -->
<div class="card-content-footer-small">
<div class="navbar is-social-center">
<a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" />
<title>GNUSocial</title>
</svg>
</span>
</a>
<a class="navbar-item" href="{{ SOCIAL['diaspora'] }}">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" />
<title>Diaspora</title>
</svg>
</span>
</a>
<a class="navbar-item" href="{{ SOCIAL['mastodom'] }}">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" />
<title>Mastodom</title>
</svg>
</span>
</a>
</div>
<!-- post footer nav -->
<div class="columns">
<div class="column has-text-left">
<a class="button is-small is-button-grey" href="{{ SITEURL }}/">{{ _('Regresar al Inicio') }}</a>
</div>
<div class="column has-text-right">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#translate" />
</svg>
</span>
{% import 'translations.html' as translations with context %}
{% if translations.translations_for(page) %}
<small>
{{ translations.translations_for(page) }}
</small>
{% endif %}
</div>
</div>
<!-- end of post footer nav -->
</div>
<!-- end of post footer -->
</div>
</div>
<!-- end page content -->
</div>
<!-- end page content -->
</div>
<!-- end of page -->
</div>
<!-- end of pages -->
<!-- end of page -->
</div>
<!-- end of pages -->
</div>
{% endblock %}