theme/templates/base.html

Thu, 10 Nov 2022 18:52:14 +0100

author
David Douard <david.douard@logilab.fr>
date
Thu, 10 Nov 2022 18:52:14 +0100
changeset 144
202ad178f68f
parent 122
08b9a05b3d8d
child 145
66ea6b61242e
permissions
-rw-r--r--

Fix matomo and CATEGORY_FEED_ATOM config option

36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 <!doctype html>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2 <html class="no-js" lang="en">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3 <head>
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
4 <meta charset="UTF-8">
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
6 <link rel="stylesheet" href="{{ SITEURL}}/theme/css/foundation.min.css" media="all">
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
7 <script type="text/javascript" src="{{ SITEURL }}/theme/js/modernizr.js"></script>
102
3be37c16285c [theme] embed exo 2 font
David Douard <david.douard@logilab.fr>
parents: 70
diff changeset
8 <link href="{{ SITEURL }}/theme/css/exo2.css" rel='stylesheet' type='text/css'>
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
9 <link rel="stylesheet" href="{{ SITEURL }}/theme/css/lamboz.css" media="all">
108
08c0c0d695e8 [hp34970] replace dailymotion by peertube for embedded video
David Douard <david.douard@logilab.fr>
parents: 102
diff changeset
10 <link rel="stylesheet" href="{{ SITEURL }}/theme/css/peertube.css" media="all">
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
11 {% block head %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
12 <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
13 <meta charset="utf-8" />
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
14 {% if FEED_ALL_ATOM %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
15 <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
16 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
17 {% if FEED_ALL_RSS %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
18 <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
19 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
20 {% if FEED_ATOM %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
21 <link href="{{ FEED_DOMAIN }}/{%if FEED_ATOM_URL %}{{ FEED_ATOM_URL }}{% else %}{{ FEED_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
22 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
23 {% if FEED_RSS %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
24 <link href="{{ FEED_DOMAIN }}/{% if FEED_RSS_URL %}{{ FEED_RSS_URL }}{% else %}{{ FEED_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
25 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
26 {% if CATEGORY_FEED_ATOM and category %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
27 <link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_ATOM_URL %}{{ CATEGORY_FEED_ATOM_URL|format(category.slug) }}{% else %}{{ CATEGORY_FEED_ATOM|format(category.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
28 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
29 {% if CATEGORY_FEED_RSS and category %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
30 <link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_RSS_URL %}{{ CATEGORY_FEED_RSS_URL|format(category.slug) }}{% else %}{{ CATEGORY_FEED_RSS|format(category.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
31 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
32 {% if TAG_FEED_ATOM and tag %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
33 <link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_ATOM_URL %}{{ TAG_FEED_ATOM_URL|format(tag.slug) }}{% else %}{{ TAG_FEED_ATOM|format(tag.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
34 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
35 {% if TAG_FEED_RSS and tag %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
36 <link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL|format(tag.slug) }}{% else %}{{ TAG_FEED_RSS|format(tag.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
37 {% endif %}
144
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
38 {% if MATOMO_JS %}
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
39 <script>
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
40 var _paq = window._paq = window._paq || [];
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
41 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
42 _paq.push(['trackPageView']);
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
43 _paq.push(['enableLinkTracking']);
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
44 (function() {
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
45 var u="//matomo.sdfa3.org/";
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
46 _paq.push(['setTrackerUrl', u+'matomo.php']);
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
47 _paq.push(['setSiteId', '2']);
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
48 var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
49 g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
50 })();
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
51 </script>
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
52 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
53 {% if article %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
54 {% if article.stylesheets %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
55 {% for stylesheet in article.stylesheets %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
56 {{ stylesheet }}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
57 {% endfor %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
58 {% endif %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
59
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
60 {% if article.javascripts %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
61 {% for javascript in article.javascripts %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
62 {{ javascript }}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
63 {% endfor %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
64 {% endif %}
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
65 {% endif %}
70
b027bc447b57 [hp3456a] new blog post
David Douard <david.douard@logilab.fr>
parents: 68
diff changeset
66 <script type="text/javascript" src="{{ SITEURL }}/js/plotly-latest.min.js"></script>
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
67 {% endblock head %}
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
68 </head>
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
69 <body onload="WaveDrom.ProcessAll()">
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
70 <div class="pages">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
71 <ul>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
72 <li class="home"><a href="{{ SITEURL }}/index.html">{{ SITENAME }}</a></li>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
73 {% for p in pages %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
74 <li {% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
75 {% endfor %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
76 {% set cnt=5 %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
77 {% for cat,l in categories %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
78 {% if cnt >= 0 %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
79 <li class="category"><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a>({{ l | length }})</li>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
80 {% set cnt=cnt-1 %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
81 {% endif %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
82 {% endfor %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
83
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
84 </ul>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
85 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
86 {% block pageheader %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
87 <div class="hp-header">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
88 <div class="page-header">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
89 <div class="content-header">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
90 <div id="title-block">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
91 <h1><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
92 <p class="blurb">{{ SITESUBTITLE }}</p>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
93 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
94 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
95 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
96 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
97 {% endblock %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
98 <div class="content">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
99 <div class="data-holder">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
100 <div class="row">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
101 <div class="large-9 content-column column">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
102 {% block content %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
103 {% endblock %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
104 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
105
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
106 <div class="large-3 aside column">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
107 {% block sidecontent %}
114
33cd55d481ba theme: add support for rss feed
David Douard <david.douard@sdfa3.org>
parents: 108
diff changeset
108 {% endblock %}
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
109 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
110 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
111 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
112 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
113 <div class="footer">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
114 <div class="data-holder">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
115 {% block footer %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
116 <div class="row">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
117 <div class="large-3 column">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
118 {% include 'credits.html' %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
119 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
120 <div class="large-3 tag-cloud column">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
121 <h3>Tags</h3>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
122 <ul>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
123 {% for t,tx in tags %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
124 <li{% if t==tag %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ t.url }}">{{ t }}</a>({{ tx | length }})</li>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
125 {% endfor %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
126 </ul>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
127 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
128 <div class="large-3 links column">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
129 <h3>Links</h3>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
130 <ul>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
131 {% for title,link in LINKS %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
132 <li><a href="{{ link }}">{{ title }}</a></li>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
133 {% endfor %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
134 </ul>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
135 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
136 <div class="large-3 category-column column">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
137 <h3>Categories</h3>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
138 <ul>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
139 {% for cat,l in categories %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
140 <li{% if cat==category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a> ({{ l | length }})</li>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
141 {% endfor %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
142 </ul>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
143 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
144 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
145 {% endblock %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
146 </div>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
147 {% include 'trademark.html' %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
148 </div>
144
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
149
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
150 {% if MATOMO_IMG %}
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 122
diff changeset
151 <img referrerpolicy="no-referrer-when-downgrade" src="https://matomo.sdfa3.org/matomo.php?idsite=2&amp;rec=1" style="border:0" alt="" />
122
08b9a05b3d8d upgrade piwik code for matomo
David Douard <david.douard@sdfa3.org>
parents: 114
diff changeset
152 {% endif %}
08b9a05b3d8d upgrade piwik code for matomo
David Douard <david.douard@sdfa3.org>
parents: 114
diff changeset
153
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
154 </body>
68
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
155
4fa6621fec0f [hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents: 40
diff changeset
156
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
157 </html>

mercurial