From 7e49db5ddefe8c515b5f3931a5c701efaac33d91 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 16 Dec 2022 17:45:03 -0600 Subject: change structure for new pyssg version --- blog/plt/base.html | 105 ------------------------------------------------ blog/plt/index.html | 31 -------------- blog/plt/page.html | 36 ----------------- blog/plt/page_list.html | 15 ------- blog/plt/page_nav.html | 28 ------------- blog/plt/rss.xml | 40 ------------------ blog/plt/sitemap.xml | 22 ---------- blog/plt/tag.html | 20 --------- blog/plt/tag_list.html | 9 ----- 9 files changed, 306 deletions(-) delete mode 100644 blog/plt/base.html delete mode 100644 blog/plt/index.html delete mode 100644 blog/plt/page.html delete mode 100644 blog/plt/page_list.html delete mode 100644 blog/plt/page_nav.html delete mode 100644 blog/plt/rss.xml delete mode 100644 blog/plt/sitemap.xml delete mode 100644 blog/plt/tag.html delete mode 100644 blog/plt/tag_list.html (limited to 'blog/plt') diff --git a/blog/plt/base.html b/blog/plt/base.html deleted file mode 100644 index 4cb4827..0000000 --- a/blog/plt/base.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - {%block head_title%}{%endblock head_title%} -- {{config.get("info", "title")}} - - - - - - - - - - - - - {%block gdscript_hl%}{%endblock gdscript_hl%} - - - - - - - - - {%block head_og%}{%endblock head_og%} - - - -
- - - -
- -
- {%block content%}{%endblock content%} -
- - - - diff --git a/blog/plt/index.html b/blog/plt/index.html deleted file mode 100644 index 8616732..0000000 --- a/blog/plt/index.html +++ /dev/null @@ -1,31 +0,0 @@ -{%extends "base.html"%} -{%block html_lang%}en{%endblock html_lang%} -{%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.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.get("url", "main")}}/rss.xml -

- - {%import "tag_list.html" as tag_list%} - {{tag_list.print(all_tags)}} - - {%import "page_list.html" as page_list%} - {{page_list.print(all_pages)}} - -{%endblock content%} diff --git a/blog/plt/page.html b/blog/plt/page.html deleted file mode 100644 index e2a7ecb..0000000 --- a/blog/plt/page.html +++ /dev/null @@ -1,36 +0,0 @@ -{%extends "base.html"%} -{%block html_lang%}{{page.lang}}{%endblock html_lang%} -{%block head_title%}{{page.title}}{%endblock head_title%} -{%block head_description%}{{page.summary}}{%endblock head_description%} -{%block gdscript_hl%} - - -{%endblock gdscript_hl%} -{%block head_og%} - - - - - - - -{%endblock head_og%} -{%block content%} -

{{page.title}}

- - {{page.content}} - - {%import "page_nav.html" as page_nav%} - {{page_nav.print(page, config)}} - -
-
-

By {{page.author}}

-

Created: {{page.cdate}}

- {%if page.mdate is not none%} -

Modified: {{page.mdate}}

- {%endif%} - {%import "tag_list.html" as tag_list%} - {{tag_list.print(page.tags)}} -
-{%endblock content%} diff --git a/blog/plt/page_list.html b/blog/plt/page_list.html deleted file mode 100644 index bd1f678..0000000 --- a/blog/plt/page_list.html +++ /dev/null @@ -1,15 +0,0 @@ -{%macro print(pages)%} -

Articles

- -{%endmacro%} diff --git a/blog/plt/page_nav.html b/blog/plt/page_nav.html deleted file mode 100644 index 4d26ae3..0000000 --- a/blog/plt/page_nav.html +++ /dev/null @@ -1,28 +0,0 @@ -{%macro print(page, config)%} - -{%endmacro%} diff --git a/blog/plt/rss.xml b/blog/plt/rss.xml deleted file mode 100644 index 3dc7908..0000000 --- a/blog/plt/rss.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - {{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.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.get("url", "static")}}/images/blog.png - {{config.get("info", "title")}} - {{config.get("url", "main")}} - - {%for p in all_pages%} - - {{p.title}} - {{p.url}} - {{p.url}} - {{p.cdate_rss}} - {%for t in p.tags%} - {{t[0].lower().capitalize()}} - {%endfor%} - {{p.summary}} - - - {%endfor%} - - diff --git a/blog/plt/sitemap.xml b/blog/plt/sitemap.xml deleted file mode 100644 index c364f54..0000000 --- a/blog/plt/sitemap.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - {%for p in all_pages%} - - {{p.url}} - {{p.mdate_sitemap if p.mdate_sitemap else p.cdate_sitemap}} - weekly - 1.0 - - {%endfor%} - - {%for t in all_tags%} - - {{t[1]}} - {{config.get("info", "sitemap_run_date")}} - daily - 0.5 - - {%endfor%} - diff --git a/blog/plt/tag.html b/blog/plt/tag.html deleted file mode 100644 index 5c1b110..0000000 --- a/blog/plt/tag.html +++ /dev/null @@ -1,20 +0,0 @@ -{%extends "base.html"%} -{%block html_lang%}en{%endblock html_lang%} -{%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]}}

- - {%import "page_list.html" as page_list%} - {{page_list.print(tag_pages)}} - -{%endblock content%} diff --git a/blog/plt/tag_list.html b/blog/plt/tag_list.html deleted file mode 100644 index 2dfb70c..0000000 --- a/blog/plt/tag_list.html +++ /dev/null @@ -1,9 +0,0 @@ -{%macro print(tags)%} -
-

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

-
-{%endmacro%} -- cgit v1.2.3-70-g09d2