aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornikita <nikita@n0.is>2020-05-01 19:00:24 +0200
committernikita <nikita@n0.is>2020-05-01 19:00:24 +0200
commit5645dd991b7038f9b02f2e7fcc6d10bc7dee6259 (patch)
tree1caeb1792752f7c3c2f0ec9bea15299470054401
parent8e623df246187bb5e0c9b769eb4b706ec437b628 (diff)
downloadwww-5645dd991b7038f9b02f2e7fcc6d10bc7dee6259.tar.gz
www-5645dd991b7038f9b02f2e7fcc6d10bc7dee6259.zip
Add opengraph to header, most of it is TODO
-rw-r--r--common/header.j2.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/common/header.j2.inc b/common/header.j2.inc
index 2f809854..9d797fed 100644
--- a/common/header.j2.inc
+++ b/common/header.j2.inc
@@ -56,3 +56,21 @@
56 <![endif]--> 56 <![endif]-->
57 57
58 <link rel="alternate" type="application/rss+xml" title="GNUnet.org rss" href="{{ url_localized('news/rss.xml') }}" /> 58 <link rel="alternate" type="application/rss+xml" title="GNUnet.org rss" href="{{ url_localized('news/rss.xml') }}" />
59
60 <!-- opengraph -->
61 <!--
62 We do not actively use Twitter or endorse it, but people might
63 use our posts there or other websites might conform to the
64 twitter namespace of the opengraph. More opengraph must be
65 implemented in the sitecode.
66 -->
67 <meta name="twitter:card" content="article" />
68 <meta name="twitter:site" content="@gnunet" />
69 <meta name="twitter:creator" content="@gnunet" />
70 {#
71 TODO: Implement the necessary functions.
72 <meta property="og:url" content="{{ url_localized(url) }}" />
73 <meta property="og:title" content="{{ title }}" />
74 <meta property="og:description" content="{{ summary }}" />
75 <meta property="og:image" content="" />
76 #}