summaryrefslogtreecommitdiff
path: root/templates/software/section.html
blob: e1ec4b46d6378d1693592215ca6f5e15318ea2f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "base.html" %}

{% block title %}{{ section.title }} | {{ config.title }}{% endblock title %}
{% block description %}{{ section.description }}{% endblock description %}

{% block content %}
<div class="site-container listing-page">
  <header class="page-header">
    <h1>{{ section.title }}</h1>
    <p>{{ section.description }}</p>
  </header>
  {% if section.pages %}
  <div class="software-list software-list-full">
    {% for software_item in section.pages %}
    {% set item = software_item %}
    {% include "partials/software-list-item.html" %}
    {% endfor %}
  </div>
  {% else %}
  <p class="empty-state">Softwareはまだありません。</p>
  {% endif %}
  <p class="source-note">公開先リポジトリ: <a href="{{ config.extra.cgit }}" class="external-link" target="_blank" rel="noopener noreferrer">cgit</a></p>
</div>
{% endblock content %}