From 135c6380ad381762c89276bed4b8736e235529ff Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 4 Jun 2021 22:18:12 -0600 Subject: move plt dir to be included in data --- src/pyssg/plt/index.html | 32 ++++++++++++++++++++++++++++++++ src/pyssg/plt/page.html | 25 +++++++++++++++++++++++++ src/pyssg/plt/rss.xml | 39 +++++++++++++++++++++++++++++++++++++++ src/pyssg/plt/sitemap.xml | 22 ++++++++++++++++++++++ src/pyssg/plt/tag.html | 26 ++++++++++++++++++++++++++ 5 files changed, 144 insertions(+) create mode 100644 src/pyssg/plt/index.html create mode 100644 src/pyssg/plt/page.html create mode 100644 src/pyssg/plt/rss.xml create mode 100644 src/pyssg/plt/sitemap.xml create mode 100644 src/pyssg/plt/tag.html (limited to 'src') diff --git a/src/pyssg/plt/index.html b/src/pyssg/plt/index.html new file mode 100644 index 0000000..c96db3b --- /dev/null +++ b/src/pyssg/plt/index.html @@ -0,0 +1,32 @@ + + + + + + Index -- {{site_title}} + + +

Index -- {{site_title}}

+

Some text here.

+ +

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

+ +

Articles

+ + + diff --git a/src/pyssg/plt/page.html b/src/pyssg/plt/page.html new file mode 100644 index 0000000..fefaaa6 --- /dev/null +++ b/src/pyssg/plt/page.html @@ -0,0 +1,25 @@ + + + + + + {{page.title}} -- {{site_title}} + + +

{{page.title}}

+

By {{page.author}}

+

Created: {{page.cdate}}

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

Modified: {{page.mdate}}

+ {%endif%} + + {{page.content}} + +

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

+ + + diff --git a/src/pyssg/plt/rss.xml b/src/pyssg/plt/rss.xml new file mode 100644 index 0000000..99b2b49 --- /dev/null +++ b/src/pyssg/plt/rss.xml @@ -0,0 +1,39 @@ + + + + {{site_title}} + {{site_base_url}} + + Short site description. + en-us + Blog + Copyright 2021 Somebody + some@one.com (Sombody) + some@one.com (Sombody) + {{run_date}} + {{run_date}} + pyssg v{{pyssg_version}} + https://validator.w3.org/feed/docs/rss2.html + 30 + + {{site_base_static_url}}/images/blog.png + {{site_title}} + {{site_base_url}} + + {%for p in all_pages%} + + {{p.title}} + {{p.url}} + {{p.url}} + {{p.cdate_rss}} + {%for t in p.tags%} + {{t[0]}} + {%endfor%} + {{p.summary}} + + + {%endfor%} + + diff --git a/src/pyssg/plt/sitemap.xml b/src/pyssg/plt/sitemap.xml new file mode 100644 index 0000000..a5b5404 --- /dev/null +++ b/src/pyssg/plt/sitemap.xml @@ -0,0 +1,22 @@ + + + {%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]}} + {{run_date}} + daily + 0.5 + + {%endfor%} + diff --git a/src/pyssg/plt/tag.html b/src/pyssg/plt/tag.html new file mode 100644 index 0000000..2fdc27b --- /dev/null +++ b/src/pyssg/plt/tag.html @@ -0,0 +1,26 @@ + + + + + + Posts filtered by {{tag[0]}} -- {{site_title}} + + +

Posts filtered by {{tag[0]}}

+

Some text here.

+ +

Articles

+ + + -- cgit v1.2.3-54-g00ecf