summaryrefslogtreecommitdiff
path: root/templates/thread.html
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2016-05-06 12:23:18 +0200
committerczaks <marcin@6irc.net>2016-05-06 12:23:18 +0200
commit3f29170f1bebba532c73e4188b15cdc7e4335c15 (patch)
treeec945cc8d7ee9cf96ad81da58a0293b4b012c789 /templates/thread.html
parentce62673a2cf1dd4667b75756c80c44cc5746a63b (diff)
debrand 8chan; btw. the previous commit was [SECURITY] i think?
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/thread.html b/templates/thread.html
index 9051d8e0..4314fa5e 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -13,12 +13,12 @@
{% set meta_subject %}{% if config.thread_subject_in_title and thread.subject %}{{ thread.subject|e }}{% else %}{{ thread.body_nomarkup[:256]|e }}{% endif %}{% endset %}
- <meta name="description" content="8chan /{{ board.uri }}/ - {{ board.title|e }} - {{ meta_subject }}" />
+ <meta name="description" content="{{ board.url }} - {{ board.title|e }} - {{ meta_subject }}" />
<meta name="twitter:card" value="summary">
<meta property="og:title" content="{{ meta_subject }}" />
<meta property="og:type" content="article" />
- <meta property="og:url" content="https://8ch.net/{{ board.uri }}/{{ config.dir.res }}{{ thread.id }}.html" />
- {% if thread.files.0.thumb %}<meta property="og:image" content="https://8ch.net/{{ board.uri }}/{{ config.dir.thumb }}{{ thread.files.0.thumb }}" />{% endif %}
+ <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 %}
<meta property="og:description" content="{{ thread.body_nomarkup|e }}" />
<title>{{ board.url }} - {{ meta_subject }}</title>