From 1acd421e61ecf17a75dffb4dad3202e0a2f0a777 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Thu, 20 Jul 2023 23:34:53 -0400 Subject: [PATCH] rss and cleanup --- .../static/images/feed-icon-28x28.png | Bin 0 -> 1737 bytes themes/waterspill-en/templates/base.html | 4 +--- themes/waterspill-en/templates/category.html | 12 ++++++++++++ themes/waterspill-en/templates/index.html | 2 +- themes/waterspill-en/templates/page.html | 1 + themes/waterspill-en/templates/tag.html | 12 +++++++++++- 6 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 themes/waterspill-en/static/images/feed-icon-28x28.png diff --git a/themes/waterspill-en/static/images/feed-icon-28x28.png b/themes/waterspill-en/static/images/feed-icon-28x28.png new file mode 100644 index 0000000000000000000000000000000000000000..d64c669c7589d3a886682dbd1f3c83b716a420f5 GIT binary patch literal 1737 zcmV;)1~&PLP)sAF&N>2z!Fdr4Imm26om*2a>%jE0(;Kv%yf78|JB{oGfPNxX8x(_?yCCg`;V_$ zXsz+vi(@PROR2wt+9on+`tt9tz79KlSO2H>IyGO>#kRR$cU=`Hmyc#J&lVDyanqor z1tA1LcZEeQ^@U{`(^^*e%-kna7Wft+z>JVkoMv=$6&UWDkQ$<2lKHssGAf!lTvqVr4)B+FQFUkn06c#WX1OxA_5 z;;t4x27iQdkQg)F7+O{!f8h`chd+YqxfC)gbK_tz9fLAfFeIEn@r7e^t8mW`EtHtl zf~sX-Ks>w(zD$JfL<}?-ObbNSqyoSo8EhI@Me*$0_W}BkY=u=l5_at*Bqz>Bs-YQ{ zos4mvG?H^x!JY63{2$(dmAw(OgDBN4r@D?n>1$kSvMo%1n@ne~L*#Ej+@`@-enjuF z&(K|SKhjN0k!f56nXE1WtNKQG3pT>t|2pJAM+hc@!uQ#Vl>I(@D{D3pxKswlb>~tD zb^TOW4Rc`CjDzjiNDWa)=dPf5=zVl-eHJ}`?5*&!96k~1@ekpr?gI+6@IV)I-%YZ1 z=-v+aWGLp%CKUe#s$sz;wpp^;mX)Y(TnOzI;dNa_{>&cebNk>B1K00F_Tam4Z(qQO zd23_Pq2no`*2DW|3GJHdIgFd8T4NJhnrn;yjGBaL&ff6-AOJ$zP&E^gesm2|&uoXB zvj$EwiHzuj`}0P$f4kO{ObL|Si{@9rxo7|l7_S!?%oAqFYC^>-3Q9eduY7-u)FfIoCHc?ZV)@-|{<8PO#m0!q@K`h=j&~-o;Qk3aNwz=j=|n zt*@f@(}n2RJRjZ1wpX$pMoIGICP*h?K<~6}fS2ozSx$Zo7}Z$8j=^Jwto#h>^+V-5 z;CNj~*)B4qf2rJg3h)YcC8lmRCX=+ze4R)W{Rjv-OrYtP6i`tkW#ZBZo zAquzQ)1pNRc%A~zt)gVgBrSNqe~I>8uMwtO7Oxi|M?C$Fs^Ts74UpfJM^h3sV?wMW0WJehh2{~g4ogxB$XB+z3 zj>dqsQ-JDmG0PG|RvIr$F{C4kCg$jP$}HFbr*4{YjY!qNUc40!F-=kycOU+QnB?Mx z8|Kk4n-6^So&Tjm@IeU{f$7jOq0(5vX+iOD$&HEn>6Ln&9A*v|n??7|MdU7@C{vjR z$f_|A5hO^O4ut*#ZxgtJGkT`cL-*i%v!F$w>{{>2ab(X< zB7{67ze4nP(?WE=r;}pbYUptK=i7b_Vo0DObgB4h*)ZMw#4Moef;n1P)m$$SapFyk zgn28|VG$Q8#!==OS!68?6Qk&A<31f;^D`aBP}NOF+u83;43FmqXr@XA^@G5zL#R|Z z-6OEbB$o=0VUJMXVpoM`Q5^X>w^j&dHb$?C`9O1za}2k1oIVYauA>==_^=F>L6=L^ zy)3G=Vq5~I&uoz(IUI+sizYAj3Qn3MPY>NxTc2EAJ9P${{ item.name }} {% endfor %} - +
  • @@ -114,10 +114,8 @@ {% endblock %} diff --git a/themes/waterspill-en/templates/category.html b/themes/waterspill-en/templates/category.html index 56f8e93..91899a2 100644 --- a/themes/waterspill-en/templates/category.html +++ b/themes/waterspill-en/templates/category.html @@ -1,2 +1,14 @@ {% extends "index.html" %} {% block title %}{{ SITENAME }} - {{ category }}{% endblock %} +{% block content %} + {% if articles %} + {% for article in articles %} +
    +

    {{ article.title }}

    +

    {{ article.locale_date }}

    + {{ article.content }} +

    {% if not SUPPRESS_ITEM_CATEGORIES %}Category: {{ article.category }}{% endif %} | {% if article.tags %} Tags: {% for tag in article.tags %} {{ tag }} {% if not loop.last %} / {% endif %} {% endfor %}

    {% endif %}
    + {% endfor %} +{% endif %} +{% endblock content %} +{% block archives %} {% endblock %} diff --git a/themes/waterspill-en/templates/index.html b/themes/waterspill-en/templates/index.html index 6d351ec..80de2b2 100644 --- a/themes/waterspill-en/templates/index.html +++ b/themes/waterspill-en/templates/index.html @@ -3,7 +3,7 @@ {% block content %} {% if articles %} {% for article in articles %} - {% if loop.index <= 1 %} + {% if loop.index <= 3 %}

    {{ article.title }}

    {{ article.locale_date }}

    diff --git a/themes/waterspill-en/templates/page.html b/themes/waterspill-en/templates/page.html index 9812e31..0f8f781 100644 --- a/themes/waterspill-en/templates/page.html +++ b/themes/waterspill-en/templates/page.html @@ -13,3 +13,4 @@
    {% endblock %} +{% block archives %} {% endblock %} diff --git a/themes/waterspill-en/templates/tag.html b/themes/waterspill-en/templates/tag.html index e33255d..7165ac6 100644 --- a/themes/waterspill-en/templates/tag.html +++ b/themes/waterspill-en/templates/tag.html @@ -1,4 +1,14 @@ {% extends "index.html" %} {% block title %}{{ SITENAME }} - {{ tag }}{% endblock %} -{% block archives %}{% endblock %} +{% block content %} + {% if articles %} + {% for article in articles %} +
    +

    {{ article.title }}

    +

    {{ article.locale_date }}

    + {{ article.content }} +

    {% if not SUPPRESS_ITEM_CATEGORIES %}Category: {{ article.category }}{% endif %} | {% if article.tags %} Tags: {% for tag in article.tags %} {{ tag }} {% if not loop.last %} / {% endif %} {% endfor %}

    {% endif %}
    + {% endfor %} +{% endif %} +{% endblock content %}