|
@ -13,7 +13,7 @@ |
|
|
|
|
|
|
|
|
{% include 'header.html' %} |
|
|
{% include 'header.html' %} |
|
|
|
|
|
|
|
|
{% set meta_subject %}{% if config.thread_subject_in_title and thread.subject %}{{ thread.subject|e }}{% else %}{{ thread.body_nomarkup[:256]|remove_modifiers|newline_to_full_stop|remove_markup|e }}{% endif %}{% endset %} |
|
|
{% set meta_subject %}{% if config.thread_subject_in_title and thread.subject %}{{ thread.subject|e }}{% else %}{{ thread.body_nomarkup|remove_modifiers|newline_to_full_stop|remove_markup|e[:256] }}{% endif %}{% endset %} |
|
|
|
|
|
|
|
|
<meta name="description" content="{{ board.url }} - {{ board.title|e }} - {{ meta_subject }}" /> |
|
|
<meta name="description" content="{{ board.url }} - {{ board.title|e }} - {{ meta_subject }}" /> |
|
|
<meta name="twitter:card" value="summary"> |
|
|
<meta name="twitter:card" value="summary"> |
|
@ -24,7 +24,7 @@ |
|
|
<meta property="og:type" content="article" /> |
|
|
<meta property="og:type" content="article" /> |
|
|
<meta property="og:url" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.res }}{{ thread.id }}.html" /> |
|
|
<meta property="og:url" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.res }}{{ thread.id }}.html" /> |
|
|
{% if thread.files.0.thumb %}<meta property="og:image" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.thumb }}{{ thread.files.0.thumb }}" />{% endif %} |
|
|
{% if thread.files.0.thumb %}<meta property="og:image" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.thumb }}{{ thread.files.0.thumb }}" />{% endif %} |
|
|
<meta property="og:description" content="{{ thread.body_nomarkup|e }}" /> |
|
|
<meta property="og:description" content="{{ thread.body_nomarkup|remove_modifiers|remove_markup|e }}" /> |
|
|
{% if isnoko50 %}<meta name="robots" content="noindex">{% endif %} |
|
|
{% if isnoko50 %}<meta name="robots" content="noindex">{% endif %} |
|
|
<title>{{ board.url }} - {{ meta_subject }}</title> |
|
|
<title>{{ board.url }} - {{ meta_subject }}</title> |
|
|
</head> |
|
|
</head> |
|
|