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,17 +1,23 @@
{% extends "index.html" %}
{% extends "base.html" %}
{% block extra_head %}
<meta name="author" content="{{ author }}">
<meta name="description" content="{% trans %}Artículos escritos por {{ author }} en LibreTube.{% endtrans %}">
<meta name="keywords" content="{% trans %}articulista,artículos,author,autor {{ author }},escritor,{{ author }}{% endtrans %}">
<style>
.card-content-header {
margin-bottom: 2rem;
}
</style>
{% block head %}
{% block title %}
<title>{{ _('Artículos escritos por %(author)s en %(sitename)s', author=author, sitename=SITENAME) }}</title>
{% endblock %}
{{ super() }}
{% block seo %}
<!-- Meta Author -->
<meta name="author" content="{{ author }}"/>
<meta name="description" content="{{ _('Artículos escritos por %(author)s en %(sitename)s', author=author, sitename=SITENAME) }}"/>
<meta name="keywords" content="{% trans %}articulista,artículos,author,autor {{ author }},escritor,{{ author }}{% endtrans %}"/>
<style>
.card-content-header {
margin-bottom: 2rem;
}
</style>
{% endblock %}
{% endblock %}
{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
{% block menu_header %}{% endblock menu_header %}
{% block content %}