aboutsummaryrefslogtreecommitdiff
path: root/templates/categories
diff options
context:
space:
mode:
Diffstat (limited to 'templates/categories')
-rwxr-xr-xtemplates/categories/list.html27
-rwxr-xr-xtemplates/categories/single.html76
2 files changed, 0 insertions, 103 deletions
diff --git a/templates/categories/list.html b/templates/categories/list.html
deleted file mode 100755
index c78c7b0..0000000
--- a/templates/categories/list.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
-<section class="section">
- <div class="container">
- <div class="has-text-centered">
- <h1 class="title is-2">
- <span class="icon">
- <i class="fas fa-cubes"></i>
- </span>
- Categories
- </h1>
- <p class='subtitle is-4'>{{ terms | length }} categories in total</p>
- <p>
- {% for category in terms %}
- <a href="{{ get_taxonomy_url(kind='categories', name=category.name) }}" class="mr-4">
- <span class="icon">
- <i class="fas fa-cube"></i>
- </span>
- <span>{{category.name}} <sup>{{ category.pages | length }}</sup></span>
- </a>
- {% endfor %}
- </p>
- </div>
- </div>
-</section>
-{% endblock content %}
diff --git a/templates/categories/single.html b/templates/categories/single.html
deleted file mode 100755
index a3d2159..0000000
--- a/templates/categories/single.html
+++ /dev/null
@@ -1,76 +0,0 @@
-{% extends "base.html" %}
-
-{% block header %}
-<header class='hero'>
- <div class='hero-body pb-0'>
- <div class='container'>
- <div class='has-text-centered'>
- <h1 class="title">
- <span class="icon-text">
- <span class="icon">
- <i class="fas fa-cube"></i>
- </span>
- <span>{{ term.name }}</span>
- </span>
- </h1>
- </div>
- </div>
- </div>
-</header>
-{% endblock %}
-
-{% block content %}
-<section class="section">
- <div class="container">
- <div class="columns is-centered">
- <div class="column is-9">
- {% if paginator %}
- {% set pages = paginator.pages %}
- {% else %}
- {% set pages = term.pages %}
- {% endif %}
-
- {% for page in pages %}
- <article class="box">
- <h2 class="title">
- <a href='{{ page.permalink }}'>
- {{ page.title }}
- </a>
- </h2>
- <p class="subtitle">{{ page.description }}</p>
- <div class="columns is-multiline is-gapless">
- <div class="column is-8">
- {{ macros::page_publish_metadata(page=page) }}
- </div>
- <div class="column is-4 has-text-right-desktop">
- {{ macros::page_content_metadata(page=page) }}
- </div>
- </div>
- <div class="content mt-2">
- {{ page.summary | safe }}
- <a href='{{ page.permalink }}'>
- Read More
- <span class="icon is-small">
- <i class="fas fa-arrow-right fa-xs"></i>
- </span>
- </a>
- </div>
- <div class="columns">
- <div class="column">
- {% if page.taxonomies.categories %}
- {{ macros::render_categories(categories=page.taxonomies.categories) }}
- {% endif %}
- </div>
- <div class="column has-text-right-desktop">
- {% if page.taxonomies.tags %}
- {{ macros::render_tags(tags=page.taxonomies.tags) }}
- {% endif %}
- </div>
- </div>
- </article>
- {% endfor %}
- </div>
- </div>
- </div>
-</section>
-{% endblock content %} \ No newline at end of file