File: data-links.html

package info (click to toggle)
staticsite 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 14,648 kB
  • sloc: javascript: 33,722; python: 9,851; makefile: 46; sh: 4
file content (20 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% extends "page.html" %}

{% block page_content %}
{% import "lib/links.html" as links with context %}
{% set all = page.link_collection %}

{# <script src="{{ url_for('/js/links.js') }}"></script> #}

{% if page.meta.description %}
<p class="lead">{{page.meta.description}}</p>
{% endif %}

{% if render_style in ("feed", "inline") %}
{{links.render_ungrouped(all)}}
{% else %}
{% set groups = all.make_groups() %}
{{links.render_links(all, groups)}}
{% endif %}

{% endblock %}