From 40d23848d816816b3db3e7296e8a28f964b53786 Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
Date: Wed, 7 Dec 2022 03:31:51 -0600
Subject: refactor code, fix config checker and new files for pyssg.xyz

---
 pyssg.xyz/live/pyssg.xyz/index.html        | 22 ++++++++++++++++
 pyssg.xyz/live/pyssg.xyz/rss.xml           | 42 ++++++++++++++++++++++++++++++
 pyssg.xyz/live/pyssg.xyz/sitemap.xml       | 18 +++++++++++++
 pyssg.xyz/live/pyssg.xyz/subdir/test2.html | 19 ++++++++++++++
 pyssg.xyz/live/pyssg.xyz/test.html         | 19 ++++++++++++++
 5 files changed, 120 insertions(+)
 create mode 100644 pyssg.xyz/live/pyssg.xyz/index.html
 create mode 100644 pyssg.xyz/live/pyssg.xyz/rss.xml
 create mode 100644 pyssg.xyz/live/pyssg.xyz/sitemap.xml
 create mode 100644 pyssg.xyz/live/pyssg.xyz/subdir/test2.html
 create mode 100644 pyssg.xyz/live/pyssg.xyz/test.html

(limited to 'pyssg.xyz/live')

diff --git a/pyssg.xyz/live/pyssg.xyz/index.html b/pyssg.xyz/live/pyssg.xyz/index.html
new file mode 100644
index 0000000..723cbd1
--- /dev/null
+++ b/pyssg.xyz/live/pyssg.xyz/index.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <base href="https://static.pyssg.xyz">
+    <title>Index -- pyssg</title>
+  </head>
+  <body>
+  <h1>Index -- pyssg</h1>
+  <p>Some text here.</p>
+
+  <p>Tags:
+  </p>
+
+  <h2>Articles</h2>
+  <ul>
+        <h3>December 2022</h3>
+    <li>Dec 05 - <a href="https://pyssg.xyz/subdir/test2.html">Test file in subdir</a></li>
+    <li>Dec 05 - <a href="https://pyssg.xyz/test.html">Index</a></li>
+  </ul>
+  </body>
+</html>
\ No newline at end of file
diff --git a/pyssg.xyz/live/pyssg.xyz/rss.xml b/pyssg.xyz/live/pyssg.xyz/rss.xml
new file mode 100644
index 0000000..c6eac30
--- /dev/null
+++ b/pyssg.xyz/live/pyssg.xyz/rss.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<rss version="2.0"
+  xmlns:atom="http://www.w3.org/2005/Atom"
+  xmlns:content="http://purl.org/rss/1.0/modules/content/">
+  <channel>
+    <title>pyssg</title>
+    <link>https://pyssg.xyz</link>
+    <atom:link href="https://pyssg.xyz/rss.xml" rel="self" type="application/rss+xml"/>
+    <description>Short site description.</description>
+    <language>en-us</language>
+    <category>Blog</category>
+    <copyright>Copyright 2021 Somebody</copyright>
+    <managingEditor>some@one.com (Sombody)</managingEditor>
+    <webMaster>some@one.com (Sombody)</webMaster>
+    <pubDate></pubDate>
+    <lastBuildDate></lastBuildDate>
+    <generator>pyssg v0.7.3</generator>
+    <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
+    <ttl>30</ttl>
+    <image>
+      <url>https://static.pyssg.xyz/images/blog.png</url>
+      <title>pyssg</title>
+      <link>https://pyssg.xyz</link>
+    </image>
+    <item>
+      <title>Test file in subdir</title>
+      <link>https://pyssg.xyz/subdir/test2.html</link>
+      <guid isPermaLink="true">https://pyssg.xyz/subdir/test2.html</guid>
+      <pubDate>Mon, 05 Dec 2022 10:58:41 GMT</pubDate>
+      <description>Second file for testing.</description>
+      <content:encoded><![CDATA[<p>This is a small test for the newly added pyssg.xyz.</p>]]></content:encoded>
+    </item>
+    <item>
+      <title>Index</title>
+      <link>https://pyssg.xyz/test.html</link>
+      <guid isPermaLink="true">https://pyssg.xyz/test.html</guid>
+      <pubDate>Mon, 05 Dec 2022 08:05:10 GMT</pubDate>
+      <description>Index page for pyssg.xyz.</description>
+      <content:encoded><![CDATA[<p>This is a small test for the newly added pyssg.xyz.</p>]]></content:encoded>
+    </item>
+  </channel>
+</rss>
\ No newline at end of file
diff --git a/pyssg.xyz/live/pyssg.xyz/sitemap.xml b/pyssg.xyz/live/pyssg.xyz/sitemap.xml
new file mode 100644
index 0000000..63949aa
--- /dev/null
+++ b/pyssg.xyz/live/pyssg.xyz/sitemap.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
+    <url>
+      <loc>https://pyssg.xyz/subdir/test2.html</loc>
+      <lastmod>2022-12-05</lastmod>
+      <changefreq>weekly</changefreq>
+      <priority>1.0</priority>
+    </url>
+    <url>
+      <loc>https://pyssg.xyz/test.html</loc>
+      <lastmod>2022-12-05</lastmod>
+      <changefreq>weekly</changefreq>
+      <priority>1.0</priority>
+    </url>
+
+</urlset>
\ No newline at end of file
diff --git a/pyssg.xyz/live/pyssg.xyz/subdir/test2.html b/pyssg.xyz/live/pyssg.xyz/subdir/test2.html
new file mode 100644
index 0000000..1f0082f
--- /dev/null
+++ b/pyssg.xyz/live/pyssg.xyz/subdir/test2.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <base href="https://static.pyssg.xyz">
+    <title>Test file in subdir -- pyssg</title>
+  </head>
+  <body>
+    <h1>Test file in subdir</h1>
+    <p>By David Luevano</p>
+    <p>Created: Mon, Dec 05, 2022 @ 10:58 UTC</p>
+      <p>Modified: </p>
+
+    <p>This is a small test for the newly added pyssg.xyz.</p>
+
+  <p>Tags: 
+  </p>
+  </body>
+</html>
diff --git a/pyssg.xyz/live/pyssg.xyz/test.html b/pyssg.xyz/live/pyssg.xyz/test.html
new file mode 100644
index 0000000..0ce6abd
--- /dev/null
+++ b/pyssg.xyz/live/pyssg.xyz/test.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <base href="https://static.pyssg.xyz">
+    <title>Index -- pyssg</title>
+  </head>
+  <body>
+    <h1>Index</h1>
+    <p>By David Luevano</p>
+    <p>Created: Mon, Dec 05, 2022 @ 08:05 UTC</p>
+      <p>Modified: </p>
+
+    <p>This is a small test for the newly added pyssg.xyz.</p>
+
+  <p>Tags: 
+  </p>
+  </body>
+</html>
-- 
cgit v1.2.3-70-g09d2