summaryrefslogtreecommitdiff
path: root/templates/software/section.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/software/section.html')
-rw-r--r--templates/software/section.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/software/section.html b/templates/software/section.html
new file mode 100644
index 0000000..813f793
--- /dev/null
+++ b/templates/software/section.html
@@ -0,0 +1,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">ソースコードの正本は各Softwareから自前cgitへ案内します。</p>
+</div>
+{% endblock content %}