diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 04:14:20 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 04:14:20 +0100 |
commit | 22e3845413ef85aa935a5c8cd865c1bcfa7823df (patch) | |
tree | 47516202c1a0307070bb2f3192c2a09121e6653e /crumbs/templates/category.html | |
parent | a6297ac0fdc7f517c66905dd448313c3fcd200f6 (diff) |
Working on blog feed
Diffstat (limited to 'crumbs/templates/category.html')
-rwxr-xr-x | crumbs/templates/category.html | 60 |
1 files changed, 27 insertions, 33 deletions
diff --git a/crumbs/templates/category.html b/crumbs/templates/category.html index b1a1c69..3264eef 100755 --- a/crumbs/templates/category.html +++ b/crumbs/templates/category.html @@ -1,44 +1,38 @@ {% extends "base.html" %} -<!-- {% block title %}{{ NEST_CATEGORY_HEAD_TITLE }} {{ category|capitalize }} - {{ super() }} CATEGORY {% endblock title %} --> -<!-- {% block description %}{{ NEST_CATEGORY_HEAD_DESCRIPTION }} {{ category|capitalize }}{% endblock description %} --> - -<!-- {% block headerstyle %} - {% if NEST_HEADER_IMAGES %} - <div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ SITEURL }}/images/{{ NEST_HEADER_IMAGES }}'); background-position: center; "> - {% else %} - <div class="header-container gradient"> - {% endif %} -{% endblock headerstyle %} --> - -{% block header %} -<!-- TEMPLATE: CATEGORY --> -<div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ NEST_CATEGORY_HEADER_TITLE }} {{ category|capitalize }}</h1> - <!-- <div class="header-underline"></div> --> - </div> - </div> - </div> -</div> -{% endblock header %} +{% block title %}{{ NEST_CATEGORY_HEAD_TITLE }} {{ category|capitalize }} - {{ super() }} CATEGORY {% endblock title %} +{% block description %}{{ NEST_CATEGORY_HEAD_DESCRIPTION }} {{ category|capitalize }}{% endblock description %} {% block content %} -<div class="col-lg-12 content"> - <dl class="dl-horizontal"> +<h1>{{ category }}</h1> - <!-- This loops through all the articles --> +<br/> + +<dl class="dl-horizontal"> {% for article in articles %} - <dt><p>{{ article.locale_date}}</p></dt> - <dd> - <a href="{{ SITEURL }}/{{ article.url }}"><h2>{{ article.title }}</h2></a> + <div class="card"> + <h2><b>{{ article.title }}</b></h2> + <hr class="divider" /> <p>{{ article.summary }}</p> - </dd> + </div> {% endfor %} - </dl> -</div> +</dl> + + + +<!-- <div class="col-lg-12 content"> --> + <!-- <dl class="dl-horizontal"> --> + + <!-- This loops through all the articles --> + <!-- {% for article in articles %} --> + <!-- <dt><p>{{ article.locale_date}}</p></dt> --> + <!-- <dd> --> + <!-- <a href="{{ SITEURL }}/{{ article.url }}"><h2>{{ article.title }}</h2></a> --> + <!-- <p>{{ article.summary }}</p> --> + <!-- </dd> --> + <!-- {% endfor %} --> + <!-- </dl> --> +<!-- </div> --> {% endblock content %} |