diff options
-rw-r--r-- | libretube-theme/templates/article.html | 10 | ||||
-rw-r--r-- | libretube-theme/templates/base.html | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/libretube-theme/templates/article.html b/libretube-theme/templates/article.html index de46427..017602e 100644 --- a/libretube-theme/templates/article.html +++ b/libretube-theme/templates/article.html @@ -33,17 +33,17 @@ <meta name="author" content="{{ article.author }}"/> <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() }}"/> - {% if article.modified %} - <meta property="article:modified_time" content="{{ article.modified.isoformat() }}"/> - {% endif %} <!-- Schema --> <meta itemprop="name" content="{{ article.title }}"/> <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="article:section" content="{{ article.category }}"/> + <meta property="video:release_date" content="{{ article.date.isoformat() }}"/> + {% if article.modified %} + <meta property="article:modified_time" content="{{ article.modified.isoformat() }}"/> + {% endif %} <meta property="og:title" content="{{ article.title }}"/> <meta property="og:type" content="video.movie"/> <meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/> diff --git a/libretube-theme/templates/base.html b/libretube-theme/templates/base.html index 43b7f5e..15f14fe 100644 --- a/libretube-theme/templates/base.html +++ b/libretube-theme/templates/base.html @@ -12,9 +12,9 @@ {% endblock %} <!-- Bootstrap 4.3.1 --> <link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/bootstrap/bootstrap.min.css" rel="stylesheet" - integrity="sha384-63+VK53+oFYHzIqG3ljBEZ1Pr9+l0uKU+6UK4YsgNZtVkXQQtsvr0TRcBxncV0gG"> + integrity="sha384-63+VK53+oFYHzIqG3ljBEZ1Pr9+l0uKU+6UK4YsgNZtVkXQQtsvr0TRcBxncV0gG"/> <!-- Main style --> - <link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/styles.min.css" rel="stylesheet"> + <link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/styles.min.css" rel="stylesheet"/> <!-- favicon --> <link rel="icon" type="image/png" sizes="192x192" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-192x192.png"/> <link rel="icon" type="image/png" sizes="96x96" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-96x96.png"/> |