Refactoring SEO

This commit is contained in:
Jesús
2019-11-23 18:48:32 -05:00
parent 67beaca9bc
commit edae8a2e59
8 changed files with 207 additions and 159 deletions

View File

@@ -1,63 +1,54 @@
{% extends "base.html" %}
{% block extra_head %}
<meta name="description" content="{{ _('Lista de artículos publicados en LibreTube.') }}">
<meta name="keywords" content="{{ _('archivos,artículos,historia,lista de artículos') }}">
<style>
.content ul, .content ul ul, .content ul ul ul {
list-style:none !important;
}
.content ul {
margin-left: 0px !important;
}
.contenedor-arbol, .contenedor-arbol ul, .contenedor-arbol li {
position: relative;
margin: 0;
padding-left: 2%;
line-height: normal;
}
.contenedor-arbol ul {
list-style: none;
}
.contenedor-arbol li::before, .contenedor-arbol li::after {
content: "";
position: absolute;
left: -12px;
}
.contenedor-arbol li::before {
border-top: 2px solid #000;
top: 9px;
width: 12px;
height: 0;
}
.contenedor-arbol li::after {
border-left: 2px solid black;
height: 100%;
width: 0px;
top: 2px;
}
.contenedor-arbol ul > li:last-child::after {
height: 8px;
}
</style>
{% block head %}
{% block title %}
<title>{{ _('Archivos de %(sitename)s', sitename=SITENAME) }}</title>
{% endblock %}
{{ super() }}
{% block seo %}
<meta name="description" content="{{ _('Lista de artículos publicados en %(sitename)s', sitename=SITENAME) }}"/>
<meta name="keywords" content="{{ _('archivos,artículos,historia,lista de artículos') }}"/>
<style>
.content ul, .content ul ul, .content ul ul ul {
list-style:none !important;
}
.content ul {
margin-left: 0px !important;
}
.contenedor-arbol, .contenedor-arbol ul, .contenedor-arbol li {
position: relative;
margin: 0;
padding-left: 2%;
line-height: normal;
}
.contenedor-arbol ul {
list-style: none;
}
.contenedor-arbol li::before, .contenedor-arbol li::after {
content: "";
position: absolute;
left: -12px;
}
.contenedor-arbol li::before {
border-top: 2px solid #000;
top: 9px;
width: 12px;
height: 0;
}
.contenedor-arbol li::after {
border-left: 2px solid black;
height: 100%;
width: 0px;
top: 2px;
}
.contenedor-arbol ul > li:last-child::after {
height: 8px;
}
</style>
{% endblock %}
{% endblock %}
{% block title %}{% trans %}Archivos de {{ SITENAME }}{% endtrans %}{% endblock %}
{% block content %}
<!-- Main -->
<div class="row mt-6 mt-10">
<div class="col-md-9 mx-auto text-justify">