From 0e91926ff40b3df1914375165633bb703c176558 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 5 Jun 2021 01:21:59 -0600 Subject: simplify templates --- blog/plt/index.html | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'blog/plt/index.html') diff --git a/blog/plt/index.html b/blog/plt/index.html index 7efcf20..189c7fe 100644 --- a/blog/plt/index.html +++ b/blog/plt/index.html @@ -1,4 +1,6 @@ {%extends "base.html"%} +{%block html_lang%}en{%endblock html_lang%} +{%block head_title%}Index{%endblock head_title%} {%block content%}

Index -- {{site_title}}

@@ -10,25 +12,10 @@ Get the RSS feed: {{site_base_url}}/rss.xml

-
-

Tags: - {%for t in all_tags%} - {{t[0]}}{{", " if not loop.last else ""}} - {%endfor%} -

-
+ {%import "tag_list.html" as tag_list%} + {{tag_list.print(all_tags)}} + + {%import "page_list.html" as page_list%} + {{page_list.print(all_pages)}} -

Articles

- {%endblock content%} -- cgit v1.2.3-70-g09d2