From 08cbbe393099b8184a85448b7cb6fed7a6dedbb8 Mon Sep 17 00:00:00 2001 From: manetta Date: Thu, 5 Nov 2020 16:31:10 +0100 Subject: [PATCH] deleting the simple theme, changes title font, menu box sizes --- themes/simple/templates/archives.html | 14 ---- themes/simple/templates/article.html | 67 -------------------- themes/simple/templates/author.html | 8 --- themes/simple/templates/authors.html | 12 ---- themes/simple/templates/base.html | 63 ------------------ themes/simple/templates/categories.html | 12 ---- themes/simple/templates/category.html | 8 --- themes/simple/templates/gosquared.html | 14 ---- themes/simple/templates/index.html | 28 -------- themes/simple/templates/page.html | 27 -------- themes/simple/templates/pagination.html | 15 ----- themes/simple/templates/period_archives.html | 14 ---- themes/simple/templates/tag.html | 7 -- themes/simple/templates/tags.html | 12 ---- themes/simple/templates/translations.html | 16 ----- 15 files changed, 317 deletions(-) delete mode 100644 themes/simple/templates/archives.html delete mode 100644 themes/simple/templates/article.html delete mode 100644 themes/simple/templates/author.html delete mode 100644 themes/simple/templates/authors.html delete mode 100644 themes/simple/templates/base.html delete mode 100644 themes/simple/templates/categories.html delete mode 100644 themes/simple/templates/category.html delete mode 100644 themes/simple/templates/gosquared.html delete mode 100644 themes/simple/templates/index.html delete mode 100644 themes/simple/templates/page.html delete mode 100644 themes/simple/templates/pagination.html delete mode 100644 themes/simple/templates/period_archives.html delete mode 100644 themes/simple/templates/tag.html delete mode 100644 themes/simple/templates/tags.html delete mode 100644 themes/simple/templates/translations.html diff --git a/themes/simple/templates/archives.html b/themes/simple/templates/archives.html deleted file mode 100644 index cd12950..0000000 --- a/themes/simple/templates/archives.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - Archives{% endblock %} - -{% block content %} -

Archives for {{ SITENAME }}

- -
-{% for article in dates %} -
{{ article.locale_date }}
-
{{ article.title }}
-{% endfor %} -
-{% endblock %} diff --git a/themes/simple/templates/article.html b/themes/simple/templates/article.html deleted file mode 100644 index c8c9a4f..0000000 --- a/themes/simple/templates/article.html +++ /dev/null @@ -1,67 +0,0 @@ -{% extends "base.html" %} -{% block html_lang %}{{ article.lang }}{% endblock %} - -{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %} - -{% block head %} - {{ super() }} - - {% import 'translations.html' as translations with context %} - {% if translations.entry_hreflang(article) %} - {{ translations.entry_hreflang(article) }} - {% endif %} - - {% if article.description %} - - {% endif %} - - {% for tag in article.tags %} - - {% endfor %} - -{% endblock %} - -{% block content %} -
-
-

- {{ article.title }}

- {% import 'translations.html' as translations with context %} - {{ translations.translations_for(article) }} -
-
- - {% if article.modified %} - - {% endif %} - {% if article.authors %} -
- By {% for author in article.authors %} - {{ author }} - {% endfor %} -
- {% endif %} - {% if article.category %} -
- Category: {{ article.category }} -
- {% endif %} - {% if article.tags %} -
- Tags: - {% for tag in article.tags %} - {{ tag }} - {% endfor %} -
- {% endif %} -
-
- {{ article.content }} -
-
-{% endblock %} diff --git a/themes/simple/templates/author.html b/themes/simple/templates/author.html deleted file mode 100644 index a190194..0000000 --- a/themes/simple/templates/author.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "index.html" %} - -{% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} - -{% block content_title %} -

Articles by {{ author }}

-{% endblock %} - diff --git a/themes/simple/templates/authors.html b/themes/simple/templates/authors.html deleted file mode 100644 index 9aee5db..0000000 --- a/themes/simple/templates/authors.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - Authors{% endblock %} - -{% block content %} -

Authors on {{ SITENAME }}

- -{% endblock %} diff --git a/themes/simple/templates/base.html b/themes/simple/templates/base.html deleted file mode 100644 index 2c17dbf..0000000 --- a/themes/simple/templates/base.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - {% block head %} - {% block title %}{{ SITENAME }}{% endblock title %} - - - {% if FEED_ALL_ATOM %} - - {% endif %} - {% if FEED_ALL_RSS %} - - {% endif %} - {% if FEED_ATOM %} - - {% endif %} - {% if FEED_RSS %} - - {% endif %} - {% if CATEGORY_FEED_ATOM and category %} - - {% endif %} - {% if CATEGORY_FEED_RSS and category %} - - {% endif %} - {% if TAG_FEED_ATOM and tag %} - - {% endif %} - {% if TAG_FEED_RSS and tag %} - - {% endif %} - {% endblock head %} - - - - - - {% block content %} - {% endblock %} - - - diff --git a/themes/simple/templates/categories.html b/themes/simple/templates/categories.html deleted file mode 100644 index 7999de4..0000000 --- a/themes/simple/templates/categories.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - Categories{% endblock %} - -{% block content %} -

Categories on {{ SITENAME }}

- -{% endblock %} diff --git a/themes/simple/templates/category.html b/themes/simple/templates/category.html deleted file mode 100644 index 14d7ff0..0000000 --- a/themes/simple/templates/category.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "index.html" %} - -{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %} - -{% block content_title %} -

Articles in the {{ category }} category

-{% endblock %} - diff --git a/themes/simple/templates/gosquared.html b/themes/simple/templates/gosquared.html deleted file mode 100644 index 49ccbbe..0000000 --- a/themes/simple/templates/gosquared.html +++ /dev/null @@ -1,14 +0,0 @@ -{% if GOSQUARED_SITENAME %} - -{% endif %} diff --git a/themes/simple/templates/index.html b/themes/simple/templates/index.html deleted file mode 100644 index ab4bc34..0000000 --- a/themes/simple/templates/index.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "base.html" %} -{% block content %} -
-{% block content_title %} -

All articles

-{% endblock %} - -
    -{% for article in articles_page.object_list %} -
  1. -

    {{ article.title }}

    -
    - -
    By - {% for author in article.authors %} - {{ author }} - {% endfor %} -
    -
    -
    {{ article.summary }}
    -
  2. -{% endfor %} -
-{% if articles_page.has_other_pages() %} - {% include 'pagination.html' %} -{% endif %} -
-{% endblock content %} diff --git a/themes/simple/templates/page.html b/themes/simple/templates/page.html deleted file mode 100644 index 33344ea..0000000 --- a/themes/simple/templates/page.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "base.html" %} -{% block html_lang %}{{ page.lang }}{% endblock %} - -{% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%} - -{% block head %} - {{ super() }} - - {% import 'translations.html' as translations with context %} - {% if translations.entry_hreflang(page) %} - {{ translations.entry_hreflang(page) }} - {% endif %} -{% endblock %} - -{% block content %} -

{{ page.title }}

- {% import 'translations.html' as translations with context %} - {{ translations.translations_for(page) }} - - {{ page.content }} - - {% if page.modified %} -

- Last updated: {{ page.locale_modified }} -

- {% endif %} -{% endblock %} diff --git a/themes/simple/templates/pagination.html b/themes/simple/templates/pagination.html deleted file mode 100644 index 588f130..0000000 --- a/themes/simple/templates/pagination.html +++ /dev/null @@ -1,15 +0,0 @@ -{% if DEFAULT_PAGINATION %} -{% set first_page = articles_paginator.page(1) %} -{% set last_page = articles_paginator.page(articles_paginator.num_pages) %} -

- {% if articles_page.has_previous() %} - - « - {% endif %} - Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} - {% if articles_page.has_next() %} - » - - {% endif %} -

-{% endif %} diff --git a/themes/simple/templates/period_archives.html b/themes/simple/templates/period_archives.html deleted file mode 100644 index e1ddf62..0000000 --- a/themes/simple/templates/period_archives.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - {{ period | reverse | join(' ') }} archives{% endblock %} - -{% block content %} -

Archives for {{ period | reverse | join(' ') }}

- -
-{% for article in dates %} -
{{ article.locale_date }}
-
{{ article.title }}
-{% endfor %} -
-{% endblock %} diff --git a/themes/simple/templates/tag.html b/themes/simple/templates/tag.html deleted file mode 100644 index 9c95803..0000000 --- a/themes/simple/templates/tag.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "index.html" %} - -{% block title %}{{ SITENAME }} - {{ tag }} tag{% endblock %} - -{% block content_title %} -

Articles tagged with {{ tag }}

-{% endblock %} diff --git a/themes/simple/templates/tags.html b/themes/simple/templates/tags.html deleted file mode 100644 index b90b0ac..0000000 --- a/themes/simple/templates/tags.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - Tags{% endblock %} - -{% block content %} -

Tags for {{ SITENAME }}

- -{% endblock %} diff --git a/themes/simple/templates/translations.html b/themes/simple/templates/translations.html deleted file mode 100644 index f0e2478..0000000 --- a/themes/simple/templates/translations.html +++ /dev/null @@ -1,16 +0,0 @@ -{% macro translations_for(article) %} -{% if article.translations %} -Translations: -{% for translation in article.translations %} -{{ translation.lang }} -{% endfor %} -{% endif %} -{% endmacro %} - -{% macro entry_hreflang(entry) %} -{% if entry.translations %} - {% for translation in entry.translations %} - - {% endfor %} -{% endif %} -{% endmacro %}