diff options
-rwxr-xr-x | crumbs/templates/archives.html | 42 | ||||
-rwxr-xr-x | crumbs/templates/author.html | 41 | ||||
-rwxr-xr-x | crumbs/templates/authors.html | 43 | ||||
-rwxr-xr-x | crumbs/templates/categories.html | 48 | ||||
-rw-r--r-- | crumbs/templates/components/article_header.html | 18 | ||||
-rw-r--r-- | crumbs/templates/components/card_content.html | 14 | ||||
-rw-r--r-- | crumbs/templates/components/header.html | 12 | ||||
-rw-r--r-- | crumbs/templates/components/link_generator.html | 8 | ||||
-rw-r--r-- | crumbs/templates/components/super_gay.html | 17 | ||||
-rw-r--r-- | crumbs/templates/components/title_text.html | 7 | ||||
-rwxr-xr-x | crumbs/templates/index.html | 58 | ||||
-rwxr-xr-x | crumbs/templates/master.html | 70 | ||||
-rw-r--r-- | crumbs/templates/newbase.html | 81 | ||||
-rw-r--r-- | crumbs/templates/normal.html | 2 | ||||
-rwxr-xr-x | crumbs/templates/page.html | 37 | ||||
-rwxr-xr-x | crumbs/templates/pagination.html | 12 | ||||
-rwxr-xr-x | crumbs/templates/period_archives.html | 42 | ||||
-rw-r--r-- | crumbs/templates/style.html | 7 | ||||
-rwxr-xr-x | crumbs/templates/tag.html | 56 | ||||
-rwxr-xr-x | crumbs/templates/tags.html | 44 | ||||
-rwxr-xr-x | crumbs/templates/translations.html | 8 |
21 files changed, 78 insertions, 589 deletions
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 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: ARCHIVES --> - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ NEST_ARCHIVES_HEADER_TITLE }} ARCHIVE</h1> - <div class="header-underline"></div> - {# <p class="header-subtitle header-subtitle-homepage">{{ NEST_ARCHIVES_HEADER_SUBTITLE }}</p> #} - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - <div class="archive-container"> - <div class="container content archive"> - <h2><a href="{{ SITEURL }}/archives.html">{{ NEST_ARCHIVES_CONTENT_TITLE }}</a></h2> - <dl class="dl-horizontal"> - {% for article in articles %} - <dt>{{ article.locale_date}}</dt> - <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> - {% endfor %} - </dl> - </div> - </div> -{% 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 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: AUTHOR --> - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ author }} AUTHOR</h1> - <div class="header-underline"></div> - <p class="header-subtitle header-subtitle-homepage">{{ NEST_AUTHOR_HEADER_SUBTITLE }}</p> - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - <div class="archive-container"> - <div class="container content archive"> - <h2><a href="{{ SITEURL }}/{{ author.url }}">{{ NEST_AUTHOR_CONTENT_TITLE }}</a></h2> - <dl class="dl-horizontal"> - {% for article in articles %} - <dt>{{ article.locale_date}}</dt> - <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> - {% endfor %} - </dl> - </div> - </div> -{% 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 %} - <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: AUTHORS --> - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ NEST_AUTHORS_HEADER_TITLE }} AUTHORS</h1> - <div class="header-underline"></div> - <p class="header-subtitle header-subtitle-homepage">{{ NEST_AUTHORS_HEADER_SUBTITLE }}</p> - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - <div class="archive-container"> - <div class="container content archive"> - {% for author, articles in authors|sort %} - <h2><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a></h2> - <dl class="dl-horizontal"> - {% for article in articles %} - <dt>{{ article.locale_date}}</dt> - <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> - {% endfor %} - </dl> - {% endfor %} - </div> - </div> -{% 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 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: CATEGORIES --> - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ NEST_CATEGORIES_HEADER_TITLE }} CATEGORIES </h1> - <div class="header-underline"></div> - <p class="header-subtitle header-subtitle-homepage">{{ NEST_CATEGORIES_HEADER_SUBTITLE }}</p> - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - -<div class="col-lg-9 content archive"> - - <h1>{{ category|capitalize }}</h1> - <dl class="dl-horizontal"> - - {% for category, articles in categories %} - <h2><a href="{{ SITEURL }}/{{ category.url }}">{{ category|capitalize }}</a></h2> - <dl class="dl-horizontal"> - {% for article in articles %} - <dt>{{ article.locale_date}}</dt> - <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> - {% endfor %} - </dl> - {% endfor %} - </dl> -</div> -{% 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' %} +<h3 class="card-header-url"><a href="{{ SITEURL }}/{{ article.category|lower }}"> ⇠ Back</a></h3> +{% else %} +<h2 class="card-header-url"><b><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></b></h2> +{% endif %} + +<div class="article-meta"> + <p> + {% if article.tags|length > 0 %} + {% for tag in article.tags|sort %} + <strong>{{ tag }} |</strong> + {% endfor %} + Tags + {% endif %} + </p> + <p>Published <span class="tc-brown"><strong>{{ article.locale_date }}</strong></span></p> + <p>This article takes <span class="tc-brown"><strong>{{article.read_time_string}}</strong></span> to read.</p> +</div>
\ 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 @@ + +<div class="card"> + <div class="card-header"> + {% include "components/article_header.html" %} + </div> + + <div class="card-content"> + {% if type == 'single' %} + {{ article.content }} + {% else %} + {{ article.summary }} + {% endif %} + </div> +</div> 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 @@ +<head> + <meta charset="utf-8"> + <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> + <link href="{{ SITEURL }}/theme/css/pygment.css" rel="stylesheet"> + <link href="{{ SITEURL }}/theme/css/crumbs.css" rel="stylesheet"> + <link href="{{ SITEURL }}/theme/css/cr_gay_override.css" rel="stylesheet"> + + <link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500;subset=cyrillic,latin-ext" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet"> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + +</head> 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 %} + <a class="nav-item" href="{{ link }}">{{ title }} </a> + {% else %} + <a class="nav-item" href="{{ SITEURL }}{{ link }}">{{ title }} </a> + {% 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 @@ +<div class="gay"> + <div class="colour colour1"></div> + <div class="colour colour2"></div> + <div class="colour colour3"></div> + <div class="colour colour4"></div> + <div class="colour colour5"></div> + <div class="colour colour6"></div> + <div class="colour colour7"></div> + <div class="colour colour8"></div> + <div class="colour colour9"></div> + <div class="colour colour10"></div> + <div class="colour colour11"></div> + <div class="colour colour12"></div> + <div class="colour colour13"></div> + <div class="colour colour14"></div> + <div class="colour colour15"></div> +</div> 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 @@ +<div class="page-title" title="Inconsolata is my favourite monospace font, after all..."> + <span id="t-color-red"><b># ~ </b></span> + <span id="t-color-org">Fun</span> + <span id="t-color-ylw">Memory</span> + <span id="t-color-grn">Violations</span> + <span class="cursor" id="cursor"> ▁</span> +</div> 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 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: INDEX --> - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title">{{ NEST_INDEX_HEADER_TITLE }}</h1> - <div class="header-underline"></div> - {% if NEST_INDEX_HEADER_SUBTITLE %} WOOOOW - <p class="header-subtitle header-subtitle-homepage">{{ NEST_INDEX_HEADER_SUBTITLE }}</p> - {% endif %} - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - {% if DEFAULT_PAGINATION %} - <div class="archive-container"> - <div class="container content archive"> - <h2><a href="{{ SITEURL }}/{{ articles_page.url }}">{{ NEST_INDEX_CONTENT_TITLE }} {% if articles_page.has_previous() %}<small>- page {{ articles_page.number }}</small>{% endif %}</a></h2> - <dl class="dl-horizontal"> - {% for article in articles_page.object_list %} - <dt>{{ article.locale_date}}</dt> - <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> - {% endfor %} - </dl> - </div> - </div> - {% include 'pagination.html' %} - {% else %} - <div class="archive-container"> - <div class="container content archive"> - <h2><a href="{{ SITEURL }}/">{{ NEST_INDEX_CONTENT_TITLE }}</a></h2> - <dl class="dl-horizontal"> - {% for article in articles %} - <dt>{{ article.locale_date}}</dt> - <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> - {% endfor %} - </dl> - </div> - </div> - {% 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 headerstyle %} - {% if page.illustration %} - <div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ SITEURL }}/images/{{ page.illustration }}'); background-position: center; "> - {% elif 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: MASTER --> - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ page.title }}</h1> - <div class="header-underline"></div> - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - <div class="container content"> - {{ page.content }} - - <h1>Currently Hot</h1> - - <div class="container-fluid"> - <div class="row2"> - <div class="col-xs-12 col-sm-6 col-md-6"> - <h2>Reedb</h2> - <img src="images/red.png" class="img-responsive"> - <p>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.</p> - </div> - <div class="col-xs-12 col-sm-6 col-md-6"> - <h2>Graviton</h2> - <img src="images/blue.png" class="img-responsive"> - <p>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 <a href="https://lonelyrobot.io">lonelyrobot.io</a>.</p> - </div> - </div> - </div> - - <!-- - <h1>Not anymore but still warm</h1> - - <div class="container-fluid"> - <div class="row2"> - <div class="col-xs-12 col-sm-6 col-md-6"> - <h2>Novelist</h2> - <img src="images/blue.png" class="img-responsive"> - </div> - <div class="col-xs-12 col-sm-6 col-md-6"> - <h2>Poke</h2> - <img src="images/blue.png" class="img-responsive"> - </div> - </div> - </div> - - --> - </div> -{% 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 @@ -<!DOCTYPE html> -<html lang="{{ DEFAULT_LANG }}"> - <head> - - {% set SITEURL = 'http://localhost:8000' %} - - <!-- The head block contains all script and CSS loading --> - {% block head %} - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="description" content="{% block description %}{% endblock description %}"> - <meta name="keywords" content="{% block keywords %}{% endblock keywords %}"> - <link rel="icon" href="{{ SITEURL }}/favicon.ico"> - - <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> - - <!-- Stylesheets --> - <link href="https://fonts.googleapis.com/css?family=Inconsolata|Quicksand:300,400|Roboto:300,400&subset=cyrillic,cyrillic-ext" rel="stylesheet"> - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> - <link href="{{ SITEURL }}/theme/css/bootstrap.min.css" rel="stylesheet"> - <link href="{{ SITEURL }}/theme/css/fonts.css" rel="stylesheet"> - <link href="{{ SITEURL }}/theme/css/nest.css" rel="stylesheet"> - <link href="{{ SITEURL }}/theme/css/pygment.css" rel="stylesheet"> - <link href="{{ SITEURL }}/theme/css/home.css" rel="stylesheet"> <!-- TODO: Rename --> - <!-- /Stylesheets --> - - {% endblock head %} - </head> - - <body> - <!-- <div class="hacky_bg nav"> --> - - <!-- Header --> - <div class="header-container gradient"> - - <!-- Static nav bar and banner image and stuff --> - <div class="container"> - <div class="header-nav"> - <div class="header-logo"> - <a class="pull-left" href="{{ SITEURL }}/"><img class="mr20" width=192px height=64px src="{{ SITEURL }}{{NEST_HEADER_LOGO or "/images/logo3.png" }}" alt="logo"></a> - </div> <!-- header logo --> - - <div class="nav pull-right"> - - {% for title, link in MENUITEMS %} - {% if 'http://' in link or 'https://' in link %} - <a class="nav" href="{{ link }}">{{ title }}</a> - {% else %} - <a class="nav" href="{{ SITEURL }}{{ link }}">{{ title }}</a> - {% endif %} - {% endfor %} - - {% if DISPLAY_PAGES_ON_MENU %} - {% for pg in PAGES %} - <a {% if pg == page %} class="active"{% endif %} href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a> - {% endfor %} - {% endif %} - - </div> <!-- end nav pull-right --> - </div> <!-- end header-nav --> - - <h1>Fun memory violations</h1> - - <p><b>Hi –</b> Welcome to my dusty internet hangout place.</p> - - <p>My name is <b>Katharina Fey</b> and I'm a software developer from Berlin. I like taking photos, writing stories and starting way too many personal projects.</p> - - <div class="icons"> - <a href="https://twitter.com/spacekookie"><h1 id="twitter"><i class="fa fa-twitter"></i> Twitter</h1></a> - <a href="https://github.com/spacekookie"><h1 id="github"><i class="fa fa-github"></i> Github</h1></a> - <a href="https://spacekookie.de/kookie.txt"><h1 id="keys"><i class="fa fa-key"></i> Keys</h1></a> - </div> - - - <p>To get in touch with me, you can also send an e-mail to <a href="mailto:kookie@spacekookie.de" id="email"><b>kookie@spacekookie.de</b></a></p> - </div> <!-- end container --> - - <!-- </div> end hacky_bg --> - </body> -</html> 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" %} -<!-- TEMPLATE: PAGE --> - -{% block title %}{{ page.title }} - {{ super() }}{% endblock title %} -{% block description %}{{ page.content|striptags|truncate(200)|escape }}{% endblock description %} - -<!-- {% block headerstyle %} - {% if page.illustration %} - <div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ SITEURL }}/images/{{ page.illustration }}'); background-position: center; "> - {% elif 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 %} - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ page.title }}</h1> - <div class="header-underline"></div> - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - -<div class="col-lg-9 content"> - {{ page.content }} -</div> - -{% 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 %} -<!-- /Navigation --> -<div class="container navigation"> - {% if articles_page.has_previous() %} - <a class="navigate pull-left" href="{{ SITEURL }}/{{ articles_previous_page.url }}"><i class="fa fa-caret-left"></i> {{ NEST_PAGINATION_PREVIOUS }}</a> - {% endif %} - {% if articles_page.has_next() %} - <a class="navigate pull-right" href="{{ SITEURL }}/{{ articles_next_page.url }}">{{ NEST_PAGINATION_NEXT }} <i class="fa fa-caret-right"></i></a> - {% endif %} -</div> -<!-- /Navigation --> -{% 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" %} -<!-- TEMPLATE: PERIOD_ARCHIVE --> - -{% 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 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 %} - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ NEST_PERIOD_ARCHIVES_HEADER_TITLE }} : {{ period | reverse | join(' ') }}</h1> - <div class="header-underline"></div> - <p class="header-subtitle header-subtitle-homepage">{{ NEST_PERIOD_ARCHIVES_HEADER_SUBTITLE }} {{ period | reverse | join(' ') }}</p> - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - <div class="archive-container"> - <div class="container content archive"> - <h2>{{ NEST_PERIOD_ARCHIVES_CONTENT_TITLE }} {{ period | reverse | join(' ') }}</h2> - <dl class="dl-horizontal"> - {% for article in dates %} - <dt>{{ article.locale_date}}</dt> - <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> - {% endfor %} - </dl> - </div> - </div> -{% 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 @@ -<link href="https://fonts.googleapis.com/css?family=Inconsolata|Quicksand:300,400|Roboto:300,400&subset=cyrillic,cyrillic-ext" rel="stylesheet"> -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> -<link href="{{ SITEURL }}/theme/css/bootstrap.min.css" rel="stylesheet"> -<link href="{{ SITEURL }}/theme/css/fonts.css" rel="stylesheet"> -<link href="{{ SITEURL }}/theme/css/nest.css" rel="stylesheet"> -<link href="{{ SITEURL }}/theme/css/pygment.css" rel="stylesheet"> -<link href="{{ SITEURL }}/theme/css/home.css" rel="stylesheet">
\ 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" %} -<!-- TEMPLATE: TAG --> - -{% block title %}{{ NEST_TAG_HEAD_TITLE }} {{ tag }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_TAG_HEAD_DESCRIPTION }} {{ tag }}{% 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 %} - <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 }} {{ tag|capitalize }}</h1> - <div class="header-underline"></div> - </div> - </div> - </div> - </div> -{% endblock header %} --> - -{% block content %} - -<div class="col-lg-9 content archive"> - - <h1>{{ tag|capitalize }}</h1> - <dl class="dl-horizontal"> - - <!-- This section displays "pinned" articles for the blog tag page--> - {% if tag == 'blog' %} - <hr> - <dd> - Browse the archive by <a href="{{ SITEURL }}/categories.html">category</a></p> - </dd> - <hr> - {% endif %} - - <!-- 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 %} 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" %} -<!-- TEMPLATE: TAGS --> - -{% block title %}{{ NEST_TAGS_HEAD_TITLE }} - {{ super() }}{% endblock title %} -{% block description %}{{ NEST_TAGS_HEAD_DESCRIPTION }}{% 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 %} - <div class="container header-wrapper"> - <div class="row"> - <div class="col-lg-12"> - <div class="header-content"> - <h1 class="header-title text-uppercase">{{ NEST_TAGS_HEADER_TITLE }}</h1> - <div class="header-underline"></div> - <p class="header-subtitle header-subtitle-homepage">{{ NEST_TAGS_HEADER_SUBTITLE }}</p> - </div> - </div> - </div> - </div> -{% endblock header %} - -{% block content %} - <div class="archive-container"> - <div class="container content archive"> - <h2><a href="{{ SITEURL }}/tags.html">{{ NEST_TAGS_CONTENT_TITLE }}</a></h2> - <dl class="dl-horizontal"> - {% for tag, articles in tags|sort %} - {% set articles_count = articles | count %} - <dt><span class="label label-default">{{ articles | count }}</span> {% if articles_count == 1 %}article{% else %}articles{% endif %} {{ NEST_TAGS_CONTENT_LIST }}</dt> - <dd><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></dd> - {% endfor %} - </dl> - </div> - </div> -{% 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 %} -<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a> -{% endfor %} -{% endif %} -{% endmacro %}
\ No newline at end of file |