From 9d978ecb238aaf97f15f7fa8b327bc16a71b1b0b Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Mon, 22 Jan 2018 22:01:22 +0100 Subject: Remove theme files we no longer need --- crumbs/templates/archives.html | 42 ------------- crumbs/templates/author.html | 41 ------------- crumbs/templates/authors.html | 43 ------------- crumbs/templates/categories.html | 48 --------------- crumbs/templates/components/article_header.html | 18 ++++++ crumbs/templates/components/card_content.html | 14 +++++ crumbs/templates/components/header.html | 12 ++++ crumbs/templates/components/link_generator.html | 8 +++ crumbs/templates/components/super_gay.html | 17 ++++++ crumbs/templates/components/title_text.html | 7 +++ crumbs/templates/index.html | 58 ------------------ crumbs/templates/master.html | 70 --------------------- crumbs/templates/newbase.html | 81 ------------------------- crumbs/templates/normal.html | 2 + crumbs/templates/page.html | 37 ----------- crumbs/templates/pagination.html | 12 ---- crumbs/templates/period_archives.html | 42 ------------- crumbs/templates/style.html | 7 --- crumbs/templates/tag.html | 56 ----------------- crumbs/templates/tags.html | 44 -------------- crumbs/templates/translations.html | 8 --- 21 files changed, 78 insertions(+), 589 deletions(-) delete mode 100755 crumbs/templates/archives.html delete mode 100755 crumbs/templates/author.html delete mode 100755 crumbs/templates/authors.html delete mode 100755 crumbs/templates/categories.html create mode 100644 crumbs/templates/components/article_header.html create mode 100644 crumbs/templates/components/card_content.html create mode 100644 crumbs/templates/components/header.html create mode 100644 crumbs/templates/components/link_generator.html create mode 100644 crumbs/templates/components/super_gay.html create mode 100644 crumbs/templates/components/title_text.html delete mode 100755 crumbs/templates/index.html delete mode 100755 crumbs/templates/master.html delete mode 100644 crumbs/templates/newbase.html create mode 100644 crumbs/templates/normal.html delete mode 100755 crumbs/templates/page.html delete mode 100755 crumbs/templates/pagination.html delete mode 100755 crumbs/templates/period_archives.html delete mode 100644 crumbs/templates/style.html delete mode 100755 crumbs/templates/tag.html delete mode 100755 crumbs/templates/tags.html delete mode 100755 crumbs/templates/translations.html diff --git a/crumbs/templates/archives.html b/crumbs/templates/archives.html deleted file mode 100755 index fb31236..0000000 --- a/crumbs/templates/archives.html +++ /dev/null @@ -1,42 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ NEST_ARCHIVES_HEAD_TITLE }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_ARCHIVES_HEAD_DESCRIPTION }}{% endblock description %} - - - -{% block header %} - -
-
-
-
-

{{ NEST_ARCHIVES_HEADER_TITLE }} ARCHIVE

-
- {#

{{ NEST_ARCHIVES_HEADER_SUBTITLE }}

#} -
-
-
-
-{% endblock header %} - -{% block content %} -
-
-

{{ NEST_ARCHIVES_CONTENT_TITLE }}

-
- {% for article in articles %} -
{{ article.locale_date}}
-
{{ article.title }}
- {% endfor %} -
-
-
-{% endblock content %} - diff --git a/crumbs/templates/author.html b/crumbs/templates/author.html deleted file mode 100755 index fdd3f30..0000000 --- a/crumbs/templates/author.html +++ /dev/null @@ -1,41 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ NEST_AUTHOR_HEAD_TITLE }} {{ author }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_AUTHOR_HEAD_DESCRIPTION }} {{ author }}{% endblock description %} - - - -{% block header %} - -
-
-
-
-

{{ author }} AUTHOR

-
-

{{ NEST_AUTHOR_HEADER_SUBTITLE }}

-
-
-
-
-{% endblock header %} - -{% block content %} -
-
-

{{ NEST_AUTHOR_CONTENT_TITLE }}

-
- {% for article in articles %} -
{{ article.locale_date}}
-
{{ article.title }}
- {% endfor %} -
-
-
-{% endblock content %} \ No newline at end of file diff --git a/crumbs/templates/authors.html b/crumbs/templates/authors.html deleted file mode 100755 index b490f5a..0000000 --- a/crumbs/templates/authors.html +++ /dev/null @@ -1,43 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ NEST_AUTHORS_HEAD_TITLE }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_AUTHORS_HEAD_DESCRIPTION }}{% endblock description %} - -{% block headerstyle %} - {% if NEST_HEADER_IMAGES %} -
- {% else %} -
- {% endif %} -{% endblock headerstyle %} - -{% block header %} - -
-
-
-
-

{{ NEST_AUTHORS_HEADER_TITLE }} AUTHORS

-
-

{{ NEST_AUTHORS_HEADER_SUBTITLE }}

-
-
-
-
-{% endblock header %} - -{% block content %} -
-
- {% for author, articles in authors|sort %} -

{{ author }}

-
- {% for article in articles %} -
{{ article.locale_date}}
-
{{ article.title }}
- {% endfor %} -
- {% endfor %} -
-
-{% endblock content %} \ No newline at end of file diff --git a/crumbs/templates/categories.html b/crumbs/templates/categories.html deleted file mode 100755 index fa44f11..0000000 --- a/crumbs/templates/categories.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ NEST_CATEGORIES_HEAD_TITLE }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_CATEGORIES_HEAD_DESCRIPTION }}{% endblock description %} - - - -{% block header %} - -
-
-
-
-

{{ NEST_CATEGORIES_HEADER_TITLE }} CATEGORIES

-
-

{{ NEST_CATEGORIES_HEADER_SUBTITLE }}

-
-
-
-
-{% endblock header %} - -{% block content %} - -
- -

{{ category|capitalize }}

-
- - {% for category, articles in categories %} -

{{ category|capitalize }}

-
- {% for article in articles %} -
{{ article.locale_date}}
-
{{ article.title }}
- {% endfor %} -
- {% endfor %} -
-
-{% endblock content %} - diff --git a/crumbs/templates/components/article_header.html b/crumbs/templates/components/article_header.html new file mode 100644 index 0000000..c8839c7 --- /dev/null +++ b/crumbs/templates/components/article_header.html @@ -0,0 +1,18 @@ +{% if type == 'single' %} +

⇠ Back

+{% else %} +

{{ article.title }}

+{% endif %} + + \ No newline at end of file diff --git a/crumbs/templates/components/card_content.html b/crumbs/templates/components/card_content.html new file mode 100644 index 0000000..c46f9ee --- /dev/null +++ b/crumbs/templates/components/card_content.html @@ -0,0 +1,14 @@ + +
+
+ {% include "components/article_header.html" %} +
+ +
+ {% if type == 'single' %} + {{ article.content }} + {% else %} + {{ article.summary }} + {% endif %} +
+
diff --git a/crumbs/templates/components/header.html b/crumbs/templates/components/header.html new file mode 100644 index 0000000..2d811d8 --- /dev/null +++ b/crumbs/templates/components/header.html @@ -0,0 +1,12 @@ + + + {% block title %}{{ SITENAME }}{% endblock title %} + + + + + + + + + diff --git a/crumbs/templates/components/link_generator.html b/crumbs/templates/components/link_generator.html new file mode 100644 index 0000000..7c7dc6a --- /dev/null +++ b/crumbs/templates/components/link_generator.html @@ -0,0 +1,8 @@ +{% for title, link in MENUITEMS %} + {# Do magic with http/https #} + {% if 'http://' in link or 'https://' in link %} + {{ title }} + {% else %} + {{ title }} + {% endif %} +{% endfor %} \ No newline at end of file diff --git a/crumbs/templates/components/super_gay.html b/crumbs/templates/components/super_gay.html new file mode 100644 index 0000000..6089ec4 --- /dev/null +++ b/crumbs/templates/components/super_gay.html @@ -0,0 +1,17 @@ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/crumbs/templates/components/title_text.html b/crumbs/templates/components/title_text.html new file mode 100644 index 0000000..a86a77d --- /dev/null +++ b/crumbs/templates/components/title_text.html @@ -0,0 +1,7 @@ +
+ # ~ + Fun + Memory + Violations +  ▁ +
diff --git a/crumbs/templates/index.html b/crumbs/templates/index.html deleted file mode 100755 index dd9ac22..0000000 --- a/crumbs/templates/index.html +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ NEST_INDEX_HEAD_TITLE }} {% if articles_page.has_previous() %}- page {{ articles_page.number }} {% endif %}- {{ super() }}{% endblock title %} -{% block description %}{{ SITENAME }}, {{ SITESUBTITLE }}{% endblock description %} - - - -{% block header %} - -
-
-
-
-

{{ NEST_INDEX_HEADER_TITLE }}

-
- {% if NEST_INDEX_HEADER_SUBTITLE %} WOOOOW -

{{ NEST_INDEX_HEADER_SUBTITLE }}

- {% endif %} -
-
-
-
-{% endblock header %} - -{% block content %} - {% if DEFAULT_PAGINATION %} -
-
-

{{ NEST_INDEX_CONTENT_TITLE }} {% if articles_page.has_previous() %}- page {{ articles_page.number }}{% endif %}

-
- {% for article in articles_page.object_list %} -
{{ article.locale_date}}
-
{{ article.title }}
- {% endfor %} -
-
-
- {% include 'pagination.html' %} - {% else %} -
-
-

{{ NEST_INDEX_CONTENT_TITLE }}

-
- {% for article in articles %} -
{{ article.locale_date}}
-
{{ article.title }}
- {% endfor %} -
-
-
- {% endif %} -{% endblock content %} diff --git a/crumbs/templates/master.html b/crumbs/templates/master.html deleted file mode 100755 index e73e2c1..0000000 --- a/crumbs/templates/master.html +++ /dev/null @@ -1,70 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ page.title }} - {{ super() }}{% endblock title %} -{% block description %}{{ page.content|striptags|truncate(200)|escape }}{% endblock description %} - - - -{% block header %} - -
-
-
-
-

{{ page.title }}

-
-
-
-
-
-{% endblock header %} - -{% block content %} -
- {{ page.content }} - -

Currently Hot

- -
-
-
-

Reedb

- -

Reedb is a free and opensource database that encrypts data locally before saving it to disk. It's made for applications that run on a users computer and need to protect sensitive information like passphrases or security tokens or keys. Data is encrypted with the Rijdael-256 Cipher and stored in a vault for users to interact with, sync across their devices or move onto a different computer conveniently.

-
-
-

Graviton

- -

Graviton is the first major game project that I started with my up and coming game studio "Lonely Robot". To learn more about us please go to lonelyrobot.io.

-
-
-
- - -
-{% endblock %} - diff --git a/crumbs/templates/newbase.html b/crumbs/templates/newbase.html deleted file mode 100644 index 8242dc7..0000000 --- a/crumbs/templates/newbase.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - {% set SITEURL = 'http://localhost:8000' %} - - - {% block head %} - - - - - - - - {% block title %}{{ SITENAME }}{% endblock title %} - - - - - - - - - - - - {% endblock head %} - - - - - - -
- - -
-
- - - -
- -

Fun memory violations

- -

Hi – Welcome to my dusty internet hangout place.

- -

My name is Katharina Fey and I'm a software developer from Berlin. I like taking photos, writing stories and starting way too many personal projects.

- - - - -

To get in touch with me, you can also send an e-mail to kookie@spacekookie.de

-
- - - - diff --git a/crumbs/templates/normal.html b/crumbs/templates/normal.html new file mode 100644 index 0000000..5cb6467 --- /dev/null +++ b/crumbs/templates/normal.html @@ -0,0 +1,2 @@ +{% extends "base.html" %} + diff --git a/crumbs/templates/page.html b/crumbs/templates/page.html deleted file mode 100755 index 45020fe..0000000 --- a/crumbs/templates/page.html +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "base.html" %} - - -{% block title %}{{ page.title }} - {{ super() }}{% endblock title %} -{% block description %}{{ page.content|striptags|truncate(200)|escape }}{% endblock description %} - - - -{% block header %} -
-
-
-
-

{{ page.title }}

-
-
-
-
-
-{% endblock header %} - -{% block content %} - -
- {{ page.content }} -
- -{% endblock %} - diff --git a/crumbs/templates/pagination.html b/crumbs/templates/pagination.html deleted file mode 100755 index a914cfb..0000000 --- a/crumbs/templates/pagination.html +++ /dev/null @@ -1,12 +0,0 @@ -{% if articles_paginator.num_pages > 1 %} - - - -{% endif %} \ No newline at end of file diff --git a/crumbs/templates/period_archives.html b/crumbs/templates/period_archives.html deleted file mode 100755 index 1ae1799..0000000 --- a/crumbs/templates/period_archives.html +++ /dev/null @@ -1,42 +0,0 @@ -{% extends "base.html" %} - - -{% block title %}{{ NEST_PERIOD_ARCHIVES_HEAD_TITLE }} {{ period | reverse | join(' ') }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_PERIOD_ARCHIVES_HEAD_DESCRIPTION }} {{ period | reverse | join(' ') }}{% endblock description %} - - - -{% block header %} -
-
-
-
-

{{ NEST_PERIOD_ARCHIVES_HEADER_TITLE }} : {{ period | reverse | join(' ') }}

-
-

{{ NEST_PERIOD_ARCHIVES_HEADER_SUBTITLE }} {{ period | reverse | join(' ') }}

-
-
-
-
-{% endblock header %} - -{% block content %} -
-
-

{{ NEST_PERIOD_ARCHIVES_CONTENT_TITLE }} {{ period | reverse | join(' ') }}

-
- {% for article in dates %} -
{{ article.locale_date}}
-
{{ article.title }}
- {% endfor %} -
-
-
-{% endblock content %} - diff --git a/crumbs/templates/style.html b/crumbs/templates/style.html deleted file mode 100644 index 756560c..0000000 --- a/crumbs/templates/style.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/crumbs/templates/tag.html b/crumbs/templates/tag.html deleted file mode 100755 index 85cdda7..0000000 --- a/crumbs/templates/tag.html +++ /dev/null @@ -1,56 +0,0 @@ -{% extends "base.html" %} - - -{% block title %}{{ NEST_TAG_HEAD_TITLE }} {{ tag }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_TAG_HEAD_DESCRIPTION }} {{ tag }}{% endblock description %} - - - - - -{% block content %} - -
- -

{{ tag|capitalize }}

-
- - - {% if tag == 'blog' %} -
-
- Browse the archive by category

-
-
- {% endif %} - - - {% for article in articles %} -

{{ article.locale_date}}

-
-

{{ article.title }}

-

{{ article.summary }}

-
- {% endfor %} -
-
- - -{% endblock content %} diff --git a/crumbs/templates/tags.html b/crumbs/templates/tags.html deleted file mode 100755 index bc0a450..0000000 --- a/crumbs/templates/tags.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends "base.html" %} - - -{% block title %}{{ NEST_TAGS_HEAD_TITLE }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_TAGS_HEAD_DESCRIPTION }}{% endblock description %} - - - -{% block header %} -
-
-
-
-

{{ NEST_TAGS_HEADER_TITLE }}

-
-

{{ NEST_TAGS_HEADER_SUBTITLE }}

-
-
-
-
-{% endblock header %} - -{% block content %} -
-
-

{{ NEST_TAGS_CONTENT_TITLE }}

-
- {% for tag, articles in tags|sort %} - {% set articles_count = articles | count %} -
{{ articles | count }} {% if articles_count == 1 %}article{% else %}articles{% endif %} {{ NEST_TAGS_CONTENT_LIST }}
-
{{ tag }}
- {% endfor %} -
-
-
-{% endblock content %} - - diff --git a/crumbs/templates/translations.html b/crumbs/templates/translations.html deleted file mode 100755 index f40a187..0000000 --- a/crumbs/templates/translations.html +++ /dev/null @@ -1,8 +0,0 @@ -{% macro translations_for(article) %} -{% if article.translations %} -Translations: -{% for translation in article.translations %} -{{ translation.lang }} -{% endfor %} -{% endif %} -{% endmacro %} \ No newline at end of file -- cgit v1.2.3