figbert.com-website

[ACTIVE] the website and home of figbert on the clearnet
git clone git://git.figbert.com/figbert.com-website.git
Log | Files | Refs | README | LICENSE

commit f4f2105536fa207e21698ce0d1ff50f5a4eaf811
parent 993490a22fe4be9e42acdd7e83f4e2bc380c6cae
Author: FIGBERT <figbert@figbert.com>
Date:   Fri, 28 May 2021 22:25:09 -0700

Remove descriptions from list template

Diffstat:
Mtemplates/index.html | 3+--
Mtemplates/list.html | 28+++++-----------------------
2 files changed, 6 insertions(+), 25 deletions(-)

diff --git a/templates/index.html b/templates/index.html @@ -28,7 +28,6 @@ <hr> </header> <main> - {% block content %}{% endblock content %} - </main> + {%- block content %}{% endblock content %} </main> </body> </html> diff --git a/templates/list.html b/templates/list.html @@ -1,26 +1,8 @@ {% extends "index.html" %} - -{% block posthead %} - {% for page in section.pages %} - <link rel="prerender" href="{{ page.permalink }}" /> - {% endfor %} -{% endblock posthead %} - {% block content %} - {{ section.content | safe }} - - {% for page in section.pages %} - <div class="page-preview"> - <h3><a href="{{ page.permalink }}">{{ page.title }}</a></h3> - <small>{{ page.date | date(format="%B %d, %Y") }} :: {{ page.word_count }} words :: {{ page.reading_time }} mins</small> - <div> - {% if page.summary -%} - {{ page.summary | markdown | safe }} - {% else %} - {{ page.content | safe | striptags | truncate(length=300) }} - {%- endif %} - </div> - </div> - {% endfor %} + <ul> + {%- for page in section.pages %} + <li><a href="{{ page.permalink | safe }}">{{ page.title | safe }}</a> {{ page.date | date(format="%B %d, %Y") }}</li> + {%- endfor %} + </ul> {% endblock content %} -