From e065a0f8406c144d5a15c1268ea31a2e69190e7c Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Wed, 27 Apr 2022 00:28:44 -0600 Subject: final changes for pyssg update --- blog/config.ini | 2 +- blog/plt/base.html | 6 +++--- blog/plt/index.html | 12 ++++++------ blog/plt/page.html | 4 ++-- blog/plt/page_nav.html | 2 +- blog/plt/rss.xml | 18 +++++++++--------- blog/plt/sitemap.xml | 2 +- blog/plt/tag.html | 6 +++--- 8 files changed, 26 insertions(+), 26 deletions(-) diff --git a/blog/config.ini b/blog/config.ini index 6057e85..ddf2304 100644 --- a/blog/config.ini +++ b/blog/config.ini @@ -12,6 +12,6 @@ date=%%a, %%b %%d, %%Y @ %%H:%%M %%Z list_date=%%b %%d list_sep_date=%%B %%Y [info] -title=Luevano's Blog +title=Luévano's Blog [other] force=False diff --git a/blog/plt/base.html b/blog/plt/base.html index cbf4e19..3c0e3c9 100644 --- a/blog/plt/base.html +++ b/blog/plt/base.html @@ -2,12 +2,12 @@ - + - {%block head_title%}{%endblock head_title%} -- {{config.title}} + {%block head_title%}{%endblock head_title%} -- {{config.get("info", "title")}} - + diff --git a/blog/plt/index.html b/blog/plt/index.html index 5b1c9e1..8616732 100644 --- a/blog/plt/index.html +++ b/blog/plt/index.html @@ -3,23 +3,23 @@ {%block head_title%}Index{%endblock head_title%} {%block head_description%}My personal blog where I post about my thoughts, some how-to's, or general ranting.{%endblock head_description%} {%block head_og%} - + - - + + - + {%endblock head_og%} {%block content%} -

Index -- {{config.title}}

+

Index -- {{config.get("info", "title")}}

Welcome to my blog where I'll post whatever I please, ranging from rants to how-to's. Además, este pex va a estar en español e inglés porque quiero (no una mezcla en cada entrada, pero sí entradas completas en diferentes lenguajes).

- Get the RSS feed: {{config.url}}/rss.xml + Get the RSS feed: {{config.get("url", "main")}}/rss.xml

{%import "tag_list.html" as tag_list%} diff --git a/blog/plt/page.html b/blog/plt/page.html index 1b0afd9..92aed91 100644 --- a/blog/plt/page.html +++ b/blog/plt/page.html @@ -3,13 +3,13 @@ {%block head_title%}{{page.title}}{%endblock head_title%} {%block head_description%}{{page.summary}}{%endblock head_description%} {%block head_og%} - + - + {%endblock head_og%} {%block content%}

{{page.title}}

diff --git a/blog/plt/page_nav.html b/blog/plt/page_nav.html index b15b9eb..4d26ae3 100644 --- a/blog/plt/page_nav.html +++ b/blog/plt/page_nav.html @@ -10,7 +10,7 @@ {%endif%} - + Index diff --git a/blog/plt/rss.xml b/blog/plt/rss.xml index 5ce541d..3dc7908 100644 --- a/blog/plt/rss.xml +++ b/blog/plt/rss.xml @@ -4,24 +4,24 @@ xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> - {{config.title}} - {{config.url}} - + {{config.get("info", "title")}} + {{config.get("url", "main")}} + A personal weblog ranging from rants to how to's and other thoughts. en-us Blog Copyright 2021 David Luévano Alvarado david@luevano.xyz (David Luévano Alvarado) david@luevano.xyz (David Luévano Alvarado) - {{config.run_date_rss}} - {{config.run_date_rss}} - pyssg v{{config.version}} + {{config.get("info", "rss_run_date")}} + {{config.get("info", "rss_run_date")}} + pyssg v{{config.get("info", "version")}} https://validator.w3.org/feed/docs/rss2.html 30 - {{config.static_url}}/images/blog.png - {{config.title}} - {{config.url}} + {{config.get("url", "static")}}/images/blog.png + {{config.get("info", "title")}} + {{config.get("url", "main")}} {%for p in all_pages%} diff --git a/blog/plt/sitemap.xml b/blog/plt/sitemap.xml index 26ee5c1..c364f54 100644 --- a/blog/plt/sitemap.xml +++ b/blog/plt/sitemap.xml @@ -14,7 +14,7 @@ {%for t in all_tags%} {{t[1]}} - {{config.run_date_sitemap}} + {{config.get("info", "sitemap_run_date")}} daily 0.5 diff --git a/blog/plt/tag.html b/blog/plt/tag.html index d379590..5c1b110 100644 --- a/blog/plt/tag.html +++ b/blog/plt/tag.html @@ -3,13 +3,13 @@ {%block head_title%}Posts filtered by {{tag[0]}}{%endblock head_title%} {%block head_description%}Posts filtered by {{tag[0]}}{%endblock head_description%} {%block head_og%} - + - + - + {%endblock head_og%} {%block content%}

Posts filtered by {{tag[0]}}

-- cgit v1.2.3-70-g09d2