From a7767906daad1f7e88be0eec9b3301a5f2b1e80e Mon Sep 17 00:00:00 2001 From: "mb @ ts" Date: Mon, 21 May 2018 23:29:39 +0200 Subject: [PATCH] removed plan B --- theme/wttf2/static/main.css | 156 --------------------- theme/wttf2/templates/archives.html | 11 -- theme/wttf2/templates/article.html | 33 ----- theme/wttf2/templates/author.html | 7 - theme/wttf2/templates/authors.html | 13 -- theme/wttf2/templates/base.html | 60 -------- theme/wttf2/templates/categories.html | 8 -- theme/wttf2/templates/category.html | 5 - theme/wttf2/templates/gosquared.html | 14 -- theme/wttf2/templates/index.html | 86 ------------ theme/wttf2/templates/page.html | 15 -- theme/wttf2/templates/pagination.html | 11 -- theme/wttf2/templates/period_archives.html | 11 -- theme/wttf2/templates/tag.html | 2 - theme/wttf2/templates/tags.html | 10 -- theme/wttf2/templates/translations.html | 9 -- 16 files changed, 451 deletions(-) delete mode 100644 theme/wttf2/static/main.css delete mode 100644 theme/wttf2/templates/archives.html delete mode 100644 theme/wttf2/templates/article.html delete mode 100644 theme/wttf2/templates/author.html delete mode 100644 theme/wttf2/templates/authors.html delete mode 100644 theme/wttf2/templates/base.html delete mode 100644 theme/wttf2/templates/categories.html delete mode 100644 theme/wttf2/templates/category.html delete mode 100644 theme/wttf2/templates/gosquared.html delete mode 100644 theme/wttf2/templates/index.html delete mode 100644 theme/wttf2/templates/page.html delete mode 100644 theme/wttf2/templates/pagination.html delete mode 100644 theme/wttf2/templates/period_archives.html delete mode 100644 theme/wttf2/templates/tag.html delete mode 100644 theme/wttf2/templates/tags.html delete mode 100644 theme/wttf2/templates/translations.html diff --git a/theme/wttf2/static/main.css b/theme/wttf2/static/main.css deleted file mode 100644 index 1fd919d..0000000 --- a/theme/wttf2/static/main.css +++ /dev/null @@ -1,156 +0,0 @@ -body{ - margin:0px; - font: 14px "SnigletRegular"; - color:midnightblue; -} - -h1{ - font-size: 42px; - line-height:45px; - margin: 0.3em 0; - font: 36px "SnigletRegular"; - text-align:left; - font-weight: bold; -} -blockquote{ - font-weight:bold; -} -a{ - color:lightseagreen; - text-decoration: none; -} -h1 a{ - color:black; -} -hr{ - border:0; - border-bottom:1px solid midnightblue; -} - -header, section{ - width: calc(100% - 4em); - padding:0 2em; -} -header{ - height: 200px; - margin:0; -} - #menu{ - position: absolute; - top:0.3em; - left:calc(50% + 2em); - width: 250px; - margin:0; - } - #menu select{ - height:3em; - vertical-align: middle; - } -#content{ -} - .featured { - max-width: calc(50% - 5.5em); - float: left; - padding: 0 2em; - margin:2em 0; - /*background-color: #7781ef;*/ - /*background-color: rgba(240,240,240,1);*/ - /*background-color: powderblue;*/ - /*box-shadow: 1.1em 1.1em gainsboro;*/ - } - .featured:nth-child(even) { - float:right; - margin-top: 10em; - } - .featured:last-of-type{ - margin-bottom:5em; - } - - .entry-title{ - /* circle */ - border: 0; - border-radius: 15px 50px; - - /*-webkit-transform: skew(20deg); - -moz-transform: skew(20deg); - -o-transform: skew(20deg);*/ - - background-color: #95cc74; - padding: 2em; - text-align: center; - box-shadow: 0em 3em rgba(230,230,230,1); - } - .entry-subtitle{ - font-size: 12px; - line-height: 1.5; - text-align:left; - margin:2em 0 1em; - /*margin-left:50px;*/ - color:black; - } - .entry-content{ - font: 16px serif; - line-height: 28px; - letter-spacing: 0.01em; - /*font-weight:500;*/ - line-break:strict; - } - .entry-tags a{ - font-weight:bold; - text-decoration: underline; - /*color:midnightblue;*/ - color:black; - } - .entry-category{ - font-weight:bold; - font-style: italic; - } - .entry-date{ - font-style:italic; - } -#list{ - margin:3em 0; - clear: both; -} - #list ul, #list li{ - list-style: none; - padding:0; - margin:2em 0; - } - #list .entry-title{ - margin-top:0; /* reset */ - margin-bottom:0; /* reset */ - padding:1em 2em; - } -footer{ - width: calc(100% - 4em); - margin:0; - padding:2em; - left:0; - background-color: black; - color:white; - clear:both; -} - - -@media only screen and (orientation:portrait) { - body { - - } - #menu{ - clear:both; - max-width: 100%; - } - .featured{ - max-width: calc(100% - 8em); !important - clear:both; !important - } - .featured:nth-child(even) { - clear:both; !important - } - .entry-content{ - max-width: 90%; - } - - -} \ No newline at end of file diff --git a/theme/wttf2/templates/archives.html b/theme/wttf2/templates/archives.html deleted file mode 100644 index 050f268..0000000 --- a/theme/wttf2/templates/archives.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} -{% block content %} -

Archives for {{ SITENAME }}

- -
-{% for article in dates %} -
{{ article.locale_date }}
-
{{ article.title }}
-{% endfor %} -
-{% endblock %} diff --git a/theme/wttf2/templates/article.html b/theme/wttf2/templates/article.html deleted file mode 100644 index 0e27f79..0000000 --- a/theme/wttf2/templates/article.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "base.html" %} -{% block head %} - {{ super() }} - {% if article.description %} - - {% endif %} -{% endblock %} - -{% block content %} -
-

- {{ article.title }} -

-
- A - - about - - published on - -
-
{{ article.content }}
-
- -{% endblock %} diff --git a/theme/wttf2/templates/author.html b/theme/wttf2/templates/author.html deleted file mode 100644 index e9f7870..0000000 --- a/theme/wttf2/templates/author.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "index.html" %} - -{% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} -{% block content_title %} -

Articles by {{ author }}

-{% endblock %} - diff --git a/theme/wttf2/templates/authors.html b/theme/wttf2/templates/authors.html deleted file mode 100644 index 4914904..0000000 --- a/theme/wttf2/templates/authors.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - Authors{% endblock %} - -{% block content %} -

Authors on {{ SITENAME }}

- - -{% endblock %} diff --git a/theme/wttf2/templates/base.html b/theme/wttf2/templates/base.html deleted file mode 100644 index d60a036..0000000 --- a/theme/wttf2/templates/base.html +++ /dev/null @@ -1,60 +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/theme/wttf2/templates/categories.html b/theme/wttf2/templates/categories.html deleted file mode 100644 index e29be0c..0000000 --- a/theme/wttf2/templates/categories.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} -{% block content %} - -{% endblock %} diff --git a/theme/wttf2/templates/category.html b/theme/wttf2/templates/category.html deleted file mode 100644 index 4e6fd24..0000000 --- a/theme/wttf2/templates/category.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "index.html" %} -{% block content_title %} -

Articles in the {{ category }} category

-{% endblock %} - diff --git a/theme/wttf2/templates/gosquared.html b/theme/wttf2/templates/gosquared.html deleted file mode 100644 index 49ccbbe..0000000 --- a/theme/wttf2/templates/gosquared.html +++ /dev/null @@ -1,14 +0,0 @@ -{% if GOSQUARED_SITENAME %} - -{% endif %} diff --git a/theme/wttf2/templates/index.html b/theme/wttf2/templates/index.html deleted file mode 100644 index 86c31f6..0000000 --- a/theme/wttf2/templates/index.html +++ /dev/null @@ -1,86 +0,0 @@ -{% extends "base.html" %} -{% block content %} -{% if articles %} -
- {% for article in articles_page.object_list %} - {% if loop.index <= 3 %} - - {% if loop.index < 3 %} - {% if loop.last %} -
- {% endif %} - {% endif %} - {% if loop.index == 3 %} - -
-
Other articles
-
-
-
-
    - {% endif %} -
  1. -
    -
    -

    - {{ article.title }} -

    -
    - A - - about - - published on - -
    -
    - -
    -

    {{ article.summary }}

    - read more -
    -
    -
  2. - {% endif %} - {% endfor %} -
-{% endif %} -{% endblock content %} - - diff --git a/theme/wttf2/templates/page.html b/theme/wttf2/templates/page.html deleted file mode 100644 index 5ceb779..0000000 --- a/theme/wttf2/templates/page.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ page.title }}{%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/theme/wttf2/templates/pagination.html b/theme/wttf2/templates/pagination.html deleted file mode 100644 index 4219a5c..0000000 --- a/theme/wttf2/templates/pagination.html +++ /dev/null @@ -1,11 +0,0 @@ -{% if DEFAULT_PAGINATION %} -

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

-{% endif %} diff --git a/theme/wttf2/templates/period_archives.html b/theme/wttf2/templates/period_archives.html deleted file mode 100644 index d930dbb..0000000 --- a/theme/wttf2/templates/period_archives.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} -{% block content %} -

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

- -
-{% for article in dates %} -
{{ article.locale_date }}
-
{{ article.title }}
-{% endfor %} -
-{% endblock %} diff --git a/theme/wttf2/templates/tag.html b/theme/wttf2/templates/tag.html deleted file mode 100644 index c17cf1f..0000000 --- a/theme/wttf2/templates/tag.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "index.html" %} - diff --git a/theme/wttf2/templates/tags.html b/theme/wttf2/templates/tags.html deleted file mode 100644 index b5d1482..0000000 --- a/theme/wttf2/templates/tags.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - Tags{% endblock %} - -{% block content %} -

Tags for {{ SITENAME }}

- {%- for tag, articles in tags|sort %} -
  • {{ tag }} ({{ articles|count }})
  • - {% endfor %} -{% endblock %} diff --git a/theme/wttf2/templates/translations.html b/theme/wttf2/templates/translations.html deleted file mode 100644 index db8c372..0000000 --- a/theme/wttf2/templates/translations.html +++ /dev/null @@ -1,9 +0,0 @@ -{% macro translations_for(article) %} -{% if article.translations %} -Translations: -{% for translation in article.translations %} -{{ translation.lang }} -{% endfor %} -{% endif %} -{% endmacro %} -