aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------libretube-theme/templates/.#category.html1
-rw-r--r--libretube-theme/templates/article.html8
-rw-r--r--libretube-theme/templates/category.html3
-rw-r--r--libretube-theme/templates/index.html2
4 files changed, 7 insertions, 7 deletions
diff --git a/libretube-theme/templates/.#category.html b/libretube-theme/templates/.#category.html
deleted file mode 120000
index 1592acb..0000000
--- a/libretube-theme/templates/.#category.html
+++ /dev/null
@@ -1 +0,0 @@
-heckyel@gnu.5679 \ No newline at end of file
diff --git a/libretube-theme/templates/article.html b/libretube-theme/templates/article.html
index d2450c4..de46427 100644
--- a/libretube-theme/templates/article.html
+++ b/libretube-theme/templates/article.html
@@ -31,7 +31,7 @@
{% endif %}
<!-- Meta Article -->
<meta name="author" content="{{ article.author }}"/>
- <meta name="description" content="{{ seo_description }}"/>
+ <meta name="description" content="{{ seo_description|striptags }}"/>
<meta name="keywords" content="{{ article.tags|join(',')|escape }}"/>
<meta property="article:section" content="{{ article.category }}"/>
<meta property="video:release_date" content="{{ article.date.isoformat() }}"/>
@@ -40,14 +40,14 @@
{% endif %}
<!-- Schema -->
<meta itemprop="name" content="{{ article.title }}"/>
- <meta itemprop="description" content="{{ seo_description }}"/>
+ <meta itemprop="description" content="{{ seo_description|striptags }}"/>
<meta itemprop="uploadDate" content="{{ article.date.isoformat() }}"/>
<meta itemprop="thumbnailURL" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
<!-- OpenGraph -->
<meta property="og:title" content="{{ article.title }}"/>
<meta property="og:type" content="video.movie"/>
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
- <meta property="og:description" content="{{ seo_description }}"/>
+ <meta property="og:description" content="{{ seo_description|striptags }}"/>
<meta property="og:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
{% for tag in article.tags %}
<meta property="og:video:tag" content="{{ tag | escape }}"/>
@@ -64,7 +64,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 %}
diff --git a/libretube-theme/templates/category.html b/libretube-theme/templates/category.html
index ba77294..b6fc9d5 100644
--- a/libretube-theme/templates/category.html
+++ b/libretube-theme/templates/category.html
@@ -9,8 +9,9 @@
{% block content %}
<div class="col-md-12">
- <!-- title tag -->
+ <!-- title category -->
<h3 class="text-center">{{ category }}</h3>
+ <!-- /title category -->
</div>
{{ super() }}
{% endblock %}
diff --git a/libretube-theme/templates/index.html b/libretube-theme/templates/index.html
index 8a1d5ad..e8746c7 100644
--- a/libretube-theme/templates/index.html
+++ b/libretube-theme/templates/index.html
@@ -7,7 +7,7 @@
{{ super() }}
{% if lang_siteurls and articles_page.number == 1 %}
{% for lang, url in lang_siteurls.items() %}
- <link rel="alternate" hreflang="{{ lang }}" href="{{ url }}/">
+ <link rel="alternate" hreflang="{{ lang }}" href="{{ url }}"/>
{% endfor %}
{% endif %}