From 753f24320cdb184b350c3fedb4176cc6e88c0fc4 Mon Sep 17 00:00:00 2001 From: Dokuchaev Konstantin Date: Sat, 13 Dec 2014 16:11:42 +0300 Subject: [PATCH 1/3] Create theme.html --- theme.html | 258 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 258 insertions(+) create mode 100644 theme.html diff --git a/theme.html b/theme.html new file mode 100644 index 0000000..6c1f71e --- /dev/null +++ b/theme.html @@ -0,0 +1,258 @@ +{% set skiptags = ['etc', 'review', 'quick-tip'] %} + {{ header_meta }} + {% if is_login %} {{ login_form }} {% else %} + + + + +
+
+
+ {% if pages %} + + + {% endif %} + + + {% if site.tags %} + +
+

Посмотреть последние записи по тегу:

{% for tag in site.tags %} {% if tag not in skiptags %}{% endif %} #{{ tag.name }} {% endfor %} +
{% endif %} + +
+ {% if is_home or is_tag %} {% if is_tag %} + +

Показаны последние посты с тегом {{ tag }}:

{% endif %} {% if posts %} +
+ {% for post in posts %} +
+
+

{{ post.title }}

+ + +
+
+
+ {{ post.content }} + {% if post.type == 'link' or post.type == 'webclip' %} {% endif %} Читать полностью +
+
+
{% endfor %} +
+ {% else %} +
+

Пока нет постов :(

+
{% endif %} {% if not is_tag and posts %} + {% if pagination.next or pagination.prev %} +
+ {% if pagination.prev %}← Новые записи{% endif %} + {% if pagination.next %}Старые записи →{% endif %} +
{% endif %} {% endif %} {% elif post.type == 'post' %} + +
+
+ + +
+ +
+
+

{{ post.title }}

+
+ + +
+ +
+ + + + + + {{ post.content }} + + + +

Нашел ошибку? Выдели ее и нажми CTRL+Enter. Система Orphus

+ +
+
+
+ + + + + + + + {% if site.disqus %} +
+
+
Комментарии от Disqus +
{% endif %} + +
{% elif post.type == 'link' %} + +
+
+ + +
+ +
+
+

{{ link.title }}

+
+ + +
+ +
+ + + + + {{ link.content }} + Источник

+ + +

Нашел ошибку? Выдели ее и нажми CTRL+Enter. Система Orphus

+ +
+ +
+ + + + + + + + {% if site.disqus %} + +
+
+ +
Комментарии от Disqus +
{% endif %} +
{% elif post.type == 'page' %} + +
+

{{ page.title }}

+ +
+ {{ page.content }} +
+
{% endif %} +
+

вверх

+ +
+
+
{% endif %} {{ footer_meta }} From a5c1529fcf4a73999ec9abbca9e144ec328844e7 Mon Sep 17 00:00:00 2001 From: Dokuchaev Konstantin Date: Sat, 13 Dec 2014 16:13:32 +0300 Subject: [PATCH 2/3] Update theme.html --- theme.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.html b/theme.html index 6c1f71e..92dfc66 100644 --- a/theme.html +++ b/theme.html @@ -37,7 +37,7 @@

{{ site.name }}