aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-04 22:30:27 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-04 22:30:27 +0200
commit76bbc33ea45cd415081f34ae93109fe5c9718fe2 (patch)
tree1d44860229be610b5458aa5c1f5f28e57abf8e24
parent44ad8ae9f2f1ab275d2e93f7778a1ca3fca6cb27 (diff)
downloadwww_shared-76bbc33ea45cd415081f34ae93109fe5c9718fe2.tar.gz
www_shared-76bbc33ea45cd415081f34ae93109fe5c9718fe2.zip
remove problematic macro
-rw-r--r--news.macro.j238
1 files changed, 0 insertions, 38 deletions
diff --git a/news.macro.j2 b/news.macro.j2
deleted file mode 100644
index 48f04b0..0000000
--- a/news.macro.j2
+++ /dev/null
@@ -1,38 +0,0 @@
1{#
2# Copyright (C) 2019 GNUnet e.V.
3#
4# This code is derived from code contributed to GNUnet eV
5# by nikita <nikita@n0.is>.
6#
7# Permission to use, copy, modify, and/or distribute this software for
8# any purpose with or without fee is hereby granted.
9#
10# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12# WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13# AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17# PERFORMANCE OF THIS SOFTWARE.
18#
19# SPDX-License-Identifier: 0BSD
20#}
21{% macro newspreview(name) -%}
22 <section class="item-preview">
23 <header>
24 <h3>{{ name['title']|e }}</h3>
25 <p class="item-date">
26 {{ name['date'] }}
27 </p>
28 </header>
29 <p class="item-abstract">
30 {{ name['abstract'] }} <br/>
31 [<a href="{% if kwargs|length > 0 %}{{ kwargs['prefix'] }}{% endif %}{{ name['page'] }}" title="{{ name['date']}}">{{ _("read more") }}</a>]
32 </p>
33 </section>
34{% endmacro -%}
35
36{% macro tinylinkpreview(name) -%}
37 <a href="{% if kwargs|length > 0 %}{{ kwargs['prefix'] }}{% endif %}{{ name['page'] }}" title="{{ name['date']}}">{{ name['date'] }}: {{ name['title'] }}</a>
38{% endmacro -%}