[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[www] 02/02: Add opengraph to header, most of it is TODO
From: |
gnunet |
Subject: |
[www] 02/02: Add opengraph to header, most of it is TODO |
Date: |
Fri, 01 May 2020 19:05:43 +0200 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository www.
commit 5645dd991b7038f9b02f2e7fcc6d10bc7dee6259
Author: nikita <address@hidden>
AuthorDate: Fri May 1 19:00:24 2020 +0200
Add opengraph to header, most of it is TODO
---
common/header.j2.inc | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/common/header.j2.inc b/common/header.j2.inc
index 2f80985..9d797fe 100644
--- a/common/header.j2.inc
+++ b/common/header.j2.inc
@@ -56,3 +56,21 @@
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="GNUnet.org rss"
href="{{ url_localized('news/rss.xml') }}" />
+
+ <!-- opengraph -->
+ <!--
+ We do not actively use Twitter or endorse it, but people might
+ use our posts there or other websites might conform to the
+ twitter namespace of the opengraph. More opengraph must be
+ implemented in the sitecode.
+ -->
+ <meta name="twitter:card" content="article" />
+ <meta name="twitter:site" content="@gnunet" />
+ <meta name="twitter:creator" content="@gnunet" />
+ {#
+ TODO: Implement the necessary functions.
+ <meta property="og:url" content="{{ url_localized(url) }}" />
+ <meta property="og:title" content="{{ title }}" />
+ <meta property="og:description" content="{{ summary }}" />
+ <meta property="og:image" content="" />
+ #}
--
To stop receiving notification emails like this one, please contact
address@hidden.