From 6ec12d94c1b25883e3588afcadd686d3dc157675 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Wed, 14 Dec 2022 22:35:33 -0600 Subject: add more files, fixed bugs related to multiple documents in yaml config --- pyssg.xyz/db.psv | 2 +- pyssg.xyz/db_blog.psv | 2 + pyssg.xyz/live/blog/a/second.html | 107 +++++++++++++++++++++++++ pyssg.xyz/live/blog/first.html | 104 +++++++++++++++++++++++++ pyssg.xyz/live/blog/index.html | 108 ++++++++++++++++++++++++++ pyssg.xyz/live/blog/rss.xml | 52 +++++++++++++ pyssg.xyz/live/blog/sitemap.xml | 48 ++++++++++++ pyssg.xyz/live/blog/tag/@english.html | 100 ++++++++++++++++++++++++ pyssg.xyz/live/blog/tag/@multiple-author.html | 99 +++++++++++++++++++++++ pyssg.xyz/live/blog/tag/@short.html | 100 ++++++++++++++++++++++++ pyssg.xyz/live/blog/tag/@test.html | 100 ++++++++++++++++++++++++ pyssg.xyz/live/blog/tag/@update.html | 100 ++++++++++++++++++++++++ pyssg.xyz/live/pyssg.xyz/404.html | 4 + pyssg.xyz/live/pyssg.xyz/index.html | 6 ++ pyssg.xyz/live/pyssg.xyz/rss.xml | 2 + pyssg.xyz/live/pyssg.xyz/sitemap.xml | 2 +- pyssg.xyz/plt/blog/index.html | 101 ++++++++++++++++-------- pyssg.xyz/plt/blog/page.html | 87 +++++++++++++++------ pyssg.xyz/plt/blog/tag.html | 89 +++++++++++++++------ pyssg.xyz/plt/body/header.html | 4 + pyssg.xyz/src/blog/a/second.md | 14 ++++ pyssg.xyz/src/pyssg.xyz/index.md | 4 + src/pyssg/configuration.py | 11 +-- src/pyssg/page.py | 18 ++--- 24 files changed, 1167 insertions(+), 97 deletions(-) create mode 100644 pyssg.xyz/db_blog.psv create mode 100644 pyssg.xyz/live/blog/a/second.html create mode 100644 pyssg.xyz/live/blog/first.html create mode 100644 pyssg.xyz/live/blog/index.html create mode 100644 pyssg.xyz/live/blog/rss.xml create mode 100644 pyssg.xyz/live/blog/sitemap.xml create mode 100644 pyssg.xyz/live/blog/tag/@english.html create mode 100644 pyssg.xyz/live/blog/tag/@multiple-author.html create mode 100644 pyssg.xyz/live/blog/tag/@short.html create mode 100644 pyssg.xyz/live/blog/tag/@test.html create mode 100644 pyssg.xyz/live/blog/tag/@update.html create mode 100644 pyssg.xyz/src/blog/a/second.md diff --git a/pyssg.xyz/db.psv b/pyssg.xyz/db.psv index b6ea878..6e25b3e 100644 --- a/pyssg.xyz/db.psv +++ b/pyssg.xyz/db.psv @@ -1,4 +1,4 @@ test.md|1670227510.7104242|1670481891.6152065|21ef9b29a3a7b73718b244c9f32ef576|- subdir/test2.md|1670237921.0787709|0.0|309bd695d912634400f1d50b65d51ba3|- -index.md|1670906223.8776777|1670981840.3921337|6628953df39997d59ecc67ca9feb7366|- +index.md|1670906223.8776777|1671077575.953031|4bb24fb729562b6793486b503d8b9e5c|- 404.md|1670985271.2221887|0.0|184dcb50b5aeba89d98679f29f7b6d9e|- diff --git a/pyssg.xyz/db_blog.psv b/pyssg.xyz/db_blog.psv new file mode 100644 index 0000000..72117e9 --- /dev/null +++ b/pyssg.xyz/db_blog.psv @@ -0,0 +1,2 @@ +first.md|1671076311.823135|0.0|778bce781d95730cd1e872a10130e20d|english,short,test,update +a/second.md|1671077831.63301|1671078892.892921|6092d6471d3a83135293e34ef6012939|english,multiple-author,short,test,update diff --git a/pyssg.xyz/live/blog/a/second.html b/pyssg.xyz/live/blog/a/second.html new file mode 100644 index 0000000..79c7445 --- /dev/null +++ b/pyssg.xyz/live/blog/a/second.html @@ -0,0 +1,107 @@ + + + + + + + +Second blog post for testing purposes -- pyssg blog + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

Second blog post for testing purposes

+ +

By David Luévano, Someone Else

+

Created: Thu, Dec 15, 2022 @ 04:17 UTC

+

Modified: Thu, Dec 15, 2022 @ 04:34 UTC

+ +

A second “blog entry” for testing purposes which uses multiple authors and is inside a subdirectory.

+

Added a modification here after first submission.

+ +

Tags: + english, + multiple-author, + short, + test, + update +

+
+ + + + \ No newline at end of file diff --git a/pyssg.xyz/live/blog/first.html b/pyssg.xyz/live/blog/first.html new file mode 100644 index 0000000..2ba22e6 --- /dev/null +++ b/pyssg.xyz/live/blog/first.html @@ -0,0 +1,104 @@ + + + + + + + +First blog post for testing purposes -- pyssg blog + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

First blog post for testing purposes

+ +

By David Luévano

+

Created: Thu, Dec 15, 2022 @ 03:51 UTC

+ +

Even though I have this “blog” subdomain and page setup, doesn’t mean I’ll be blogging for pyssg, this is just to serve as an example for the types of sites that pyssg can be used for.

+ +

Tags: + english, + short, + test, + update +

+
+ + + + \ No newline at end of file diff --git a/pyssg.xyz/live/blog/index.html b/pyssg.xyz/live/blog/index.html new file mode 100644 index 0000000..d288454 --- /dev/null +++ b/pyssg.xyz/live/blog/index.html @@ -0,0 +1,108 @@ + + + + + + + +Index -- pyssg blog + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

Index -- pyssg blog

+

Some text here.

+ +

Tags: + english, + multiple-author, + short, + test, + update +

+ +

Articles

+ +
+ + + + \ No newline at end of file diff --git a/pyssg.xyz/live/blog/rss.xml b/pyssg.xyz/live/blog/rss.xml new file mode 100644 index 0000000..20b4c4e --- /dev/null +++ b/pyssg.xyz/live/blog/rss.xml @@ -0,0 +1,52 @@ + + + + pyssg blog + https://blog.pyssg.xyz + + PySSG blog, the python static site generator official blog. + en-us + Blog + Copyright 2023 David Luévano Alvarado + david@luevano.xyz (David Luévano Alvarado) + david@luevano.xyz (David Luévano Alvarado) + + + pyssg v0.8.0 + https://validator.w3.org/feed/docs/rss2.html + 30 + + https://static.pyssg.xyz/images/default.png + pyssg blog + https://blog.pyssg.xyz + + + Second blog post for testing purposes + https://blog.pyssg.xyz/a/second.html + https://blog.pyssg.xyz/a/second.html + Thu, 15 Dec 2022 04:17:11 GMT + English + Multiple-author + Short + Test + Update + This is just a post used for testing (the second). + A second “blog entry” for testing purposes which uses multiple authors and is inside a subdirectory.

+

Added a modification here after first submission.

]]>
+
+ + First blog post for testing purposes + https://blog.pyssg.xyz/first.html + https://blog.pyssg.xyz/first.html + Thu, 15 Dec 2022 03:51:51 GMT + English + Short + Test + Update + This is just a post used for testing. + Even though I have this “blog” subdomain and page setup, doesn’t mean I’ll be blogging for pyssg, this is just to serve as an example for the types of sites that pyssg can be used for.

]]>
+
+
+
\ No newline at end of file diff --git a/pyssg.xyz/live/blog/sitemap.xml b/pyssg.xyz/live/blog/sitemap.xml new file mode 100644 index 0000000..0a84fa2 --- /dev/null +++ b/pyssg.xyz/live/blog/sitemap.xml @@ -0,0 +1,48 @@ + + + + https://blog.pyssg.xyz/a/second.html + 2022-12-15 + weekly + 1.0 + + + https://blog.pyssg.xyz/first.html + 2022-12-15 + weekly + 1.0 + + + + https://blog.pyssg.xyz/tag/@english.html + + daily + 0.5 + + + https://blog.pyssg.xyz/tag/@multiple-author.html + + daily + 0.5 + + + https://blog.pyssg.xyz/tag/@short.html + + daily + 0.5 + + + https://blog.pyssg.xyz/tag/@test.html + + daily + 0.5 + + + https://blog.pyssg.xyz/tag/@update.html + + daily + 0.5 + + \ No newline at end of file diff --git a/pyssg.xyz/live/blog/tag/@english.html b/pyssg.xyz/live/blog/tag/@english.html new file mode 100644 index 0000000..f3fca24 --- /dev/null +++ b/pyssg.xyz/live/blog/tag/@english.html @@ -0,0 +1,100 @@ + + + + + + + +Posts filtered by english -- pyssg blog + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

Posts filtered by english

+

Some text here.

+ +

Articles

+ +
+ + + + \ No newline at end of file diff --git a/pyssg.xyz/live/blog/tag/@multiple-author.html b/pyssg.xyz/live/blog/tag/@multiple-author.html new file mode 100644 index 0000000..ca3f168 --- /dev/null +++ b/pyssg.xyz/live/blog/tag/@multiple-author.html @@ -0,0 +1,99 @@ + + + + + + + +Posts filtered by multiple-author -- pyssg blog + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

Posts filtered by multiple-author

+

Some text here.

+ +

Articles

+ +
+ + + + \ No newline at end of file diff --git a/pyssg.xyz/live/blog/tag/@short.html b/pyssg.xyz/live/blog/tag/@short.html new file mode 100644 index 0000000..141c6b9 --- /dev/null +++ b/pyssg.xyz/live/blog/tag/@short.html @@ -0,0 +1,100 @@ + + + + + + + +Posts filtered by short -- pyssg blog + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

Posts filtered by short

+

Some text here.

+ +

Articles

+ +
+ + + + \ No newline at end of file diff --git a/pyssg.xyz/live/blog/tag/@test.html b/pyssg.xyz/live/blog/tag/@test.html new file mode 100644 index 0000000..390a522 --- /dev/null +++ b/pyssg.xyz/live/blog/tag/@test.html @@ -0,0 +1,100 @@ + + + + + + + +Posts filtered by test -- pyssg blog + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

Posts filtered by test

+

Some text here.

+ +

Articles

+ +
+ + + + \ No newline at end of file diff --git a/pyssg.xyz/live/blog/tag/@update.html b/pyssg.xyz/live/blog/tag/@update.html new file mode 100644 index 0000000..2a77416 --- /dev/null +++ b/pyssg.xyz/live/blog/tag/@update.html @@ -0,0 +1,100 @@ + + + + + + + +Posts filtered by update -- pyssg blog + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

Posts filtered by update

+

Some text here.

+ +

Articles

+ +
+ + + + \ No newline at end of file diff --git a/pyssg.xyz/live/pyssg.xyz/404.html b/pyssg.xyz/live/pyssg.xyz/404.html index 860c6b5..0dea386 100644 --- a/pyssg.xyz/live/pyssg.xyz/404.html +++ b/pyssg.xyz/live/pyssg.xyz/404.html @@ -35,6 +35,10 @@ Home +
  • + Blog +
  • +
  • Git