gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www_shared] 14/19: add macro for single link preview


From: gnunet
Subject: [www_shared] 14/19: add macro for single link preview
Date: Sat, 25 Jan 2020 11:29:29 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository www_shared.

commit 78c5d589e6619206cb7b29fbe23e816ad3838bbd
Author: ng0 <address@hidden>
AuthorDate: Mon Dec 9 20:32:17 2019 +0000

    add macro for single link preview
---
 news.macro.j2 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/news.macro.j2 b/news.macro.j2
index eb9a476..2ecfdac 100644
--- a/news.macro.j2
+++ b/news.macro.j2
@@ -23,3 +23,7 @@
     </p>
   </section>
 {% endmacro -%}
+
+{% macro tinylinkpreview(name) -%}
+  <a href="{% if kwargs|length > 0 %}{{ kwargs['prefix'] }}{% endif %}{{ 
name['page'] }}" title="{{ name['date']}}">{{ name['page'] }}</a>
+{% endmacro -%}

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]