Browse Source

calling the category and page pages alive again

transformations
mb@mb 7 years ago
parent
commit
66572aead9
  1. 2
      plugins-custom
  2. 4
      themes/cetcat/templates/base.html
  3. 3
      themes/cetcat/templates/category.html
  4. 4
      themes/cetcat/templates/index.html
  5. 2
      themes/cetcat/templates/page.html

2
plugins-custom

@ -1 +1 @@
Subproject commit 4ded3cbc6c9899acbed83a146107c8244c56f882
Subproject commit d91a9e910bffb850ecb597f5c77241678f197e24

4
themes/cetcat/templates/base.html

@ -10,8 +10,8 @@
{% from 'syndication.html' import syndication with context %}
{{ syndication(article) }}
<link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}css/pygment.css" />
<link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}css/{{ CSS_FILE }}" />
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/pygment.css" />
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/{{ CSS_FILE }}" />
{% endblock head %}
</head>

3
themes/cetcat/templates/category.html

@ -1,6 +1,7 @@
{% extends "index.html" %}
{% block content_title %}
<h1>{{ category }}</h1>
<h1>Category: {{ category }}</h1>
<hr>
{% for p in pages %}
{% if p.slug == category %}
<div id="title">{{ p.content }}</div>

4
themes/cetcat/templates/index.html

@ -52,14 +52,14 @@
{% if article.category %}
<div class="categories">
<span itemprop="articleSection">
<a href="{{ SITEURL }}/{{ article.category.url }}" rel="category">{{ article.category }}</a>
<a href="/{{ article.category.url }}" rel="category">{{ article.category }}</a>
</span>
</div>
{% endif %} {% if article.tags %}
<div class="tags">
Tags: {% for tag in article.tags %}
<span itemprop="keywords">
<a href="{{ SITEURL }}/{{ tag.url }}" rel="tag">{{ tag }}</a>
<a href="/{{ tag.url }}" rel="tag">{{ tag }}</a>
</span> {% endfor %}
</div>
{% endif %}

2
themes/cetcat/templates/page.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}{{ page.title }}{%endblock%}
{% block content %}
<div id ="page-content">
<div id="page-content">
{{ page.content }}
{% if page.modified %}

Loading…
Cancel
Save