cleanup code
This commit is contained in:
parent
2f91e0eb6a
commit
7684aca39a
@ -36,7 +36,7 @@
|
||||
{% endif %}
|
||||
<!-- Meta Article -->
|
||||
<meta name="author" content="{{ article.author.name }}"/>
|
||||
<meta name="description" content="{{ seo_description }}"/>
|
||||
<meta name="description" content="{{ seo_description|striptags }}"/>
|
||||
<meta name="keywords" content="{{ article.tags|join(', ') }}"/>
|
||||
<meta property="article:author" content="{{ article.author }}"/>
|
||||
<meta property="article:section" content="{{ article.category }}"/>
|
||||
@ -49,7 +49,7 @@
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:tag" content="{{ article.tags|join(',')|escape }}"/>
|
||||
<meta property="og:title" content="{{ article.title }} - {{ SITENAME }}"/>
|
||||
<meta property="og:description" content="{{ seo_description }}"/>
|
||||
<meta property="og:description" content="{{ seo_description|striptags }}"/>
|
||||
<meta property="og:site_name" content="{{ SITENAME }}"/>
|
||||
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
|
||||
<meta property="og:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
|
||||
@ -57,7 +57,7 @@
|
||||
<!-- Twitter -->
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="{{ article.title }} - {{ SITENAME }}"/>
|
||||
<meta name="twitter:description" content="{{ seo_description }}"/>
|
||||
<meta name="twitter:description" content="{{ seo_description|striptags }}"/>
|
||||
<meta name="twitter:url" content="{{ SITEURL }}/{{ article.url }}"/>
|
||||
<meta name="twitter:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
|
||||
{% endblock %}
|
||||
|
@ -1,9 +1,11 @@
|
||||
{% extends "index.html" %}
|
||||
|
||||
{% block title %}
|
||||
{% block head %}
|
||||
{% block title %}
|
||||
<title>{{ _('Artículos escritos por %(author)s en %(sitename)s', author=author, sitename=SITENAME) }}</title>
|
||||
{% endblock %}
|
||||
{% block seo %}
|
||||
{% 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) }}"/>
|
||||
@ -13,6 +15,7 @@
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -1,7 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block head %}
|
||||
<!-- Hola -->
|
||||
{% block title %}
|
||||
<title>{{ category.name }} - {{SITENAME}}</title>
|
||||
{% endblock %}
|
||||
|
@ -10,8 +10,10 @@
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<!-- Main tag -->
|
||||
<div class="card-content-header">
|
||||
<h4 class="title is-4 has-text-centered">#{{ tag }}</h4>
|
||||
</div>
|
||||
{{ super() }}
|
||||
<!--/Main tag -->
|
||||
{% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user