improve code
This commit is contained in:
parent
4ed88b3f3f
commit
2632128a06
@ -33,17 +33,17 @@
|
|||||||
<meta name="author" content="{{ article.author }}"/>
|
<meta name="author" content="{{ article.author }}"/>
|
||||||
<meta name="description" content="{{ seo_description|striptags }}"/>
|
<meta name="description" content="{{ seo_description|striptags }}"/>
|
||||||
<meta name="keywords" content="{{ article.tags|join(',')|escape }}"/>
|
<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 -->
|
<!-- Schema -->
|
||||||
<meta itemprop="name" content="{{ article.title }}"/>
|
<meta itemprop="name" content="{{ article.title }}"/>
|
||||||
<meta itemprop="description" content="{{ seo_description|striptags }}"/>
|
<meta itemprop="description" content="{{ seo_description|striptags }}"/>
|
||||||
<meta itemprop="uploadDate" content="{{ article.date.isoformat() }}"/>
|
<meta itemprop="uploadDate" content="{{ article.date.isoformat() }}"/>
|
||||||
<meta itemprop="thumbnailURL" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
|
<meta itemprop="thumbnailURL" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
|
||||||
<!-- OpenGraph -->
|
<!-- 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:title" content="{{ article.title }}"/>
|
||||||
<meta property="og:type" content="video.movie"/>
|
<meta property="og:type" content="video.movie"/>
|
||||||
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
|
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
<!-- Bootstrap 4.3.1 -->
|
<!-- Bootstrap 4.3.1 -->
|
||||||
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/bootstrap/bootstrap.min.css" rel="stylesheet"
|
<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 -->
|
<!-- 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 -->
|
<!-- 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="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"/>
|
<link rel="icon" type="image/png" sizes="96x96" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-96x96.png"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user