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/page.html | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'blog/plt/page.html') diff --git a/blog/plt/page.html b/blog/plt/page.html index a98338e..6128d3b 100644 --- a/blog/plt/page.html +++ b/blog/plt/page.html @@ -1,4 +1,6 @@ {%extends "base.html"%} +{%block html_lang%}{{page.lang}}{%endblock html_lang%} +{%block head_title%}{{page.title}}{%endblock head_title%} {%block content%}

{{page.title}}

@@ -11,12 +13,7 @@ {%if page.mdate is not none%}

Modified: {{page.mdate}}

{%endif%} -
-

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

-
+ {%import "tag_list.html" as tag_list%} + {{tag_list.print(page.tags)}} {%endblock content%} -- cgit v1.2.3-70-g09d2