DEVELOPMENT ENVIRONMENT

~liljamo/dashboard-zola

ref: fad81aa24297e2b00e38c2a8c8ac219bbca0766d dashboard-zola/templates/index.html -rw-r--r-- 763 bytes
fad81aa2Jonni Liljamo feat: init 16 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "layouts/base.html" %}

{% block content %}
<div class="flex flex-col p-2">
  {% for section in config.extra.sections %}
  <p class="font-bold text-lg">{{ section.title }}</p>
  <div class="flex flex-col p-2 border">
    {% for link in section.links %}
    {% if link.subtitle %}
    <div class="pt-2 font-medium text-md">
      <p>{{ link.subtitle }}</p>
    </div>
    {% else %}
    <div>
      <a href={{ link.href }} target="_blank" class="hover:underline text-sky-500">{{ link.name }}</a>
      {% if link.pub_href %}
        <span>(<a href={{ link.pub_href }} target="_blank" class="hover:underline text-sky-700">pub</a>)</span>
      {% endif %}
    </div>
    {% endif %}
    {% endfor %}
  </div>
  {% endfor %}
</div>
{% endblock content %}