summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-02-18 16:05:06 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-02-18 16:05:06 -0600
commitaed766e32e9bb4f05514e180c1468a5a86fb08be (patch)
treefa9119b1eca6940da45e6c280bc31b6d78a04a1d
parent6c27c6cdb9feff6ded293b3673e8ae66155f6bed (diff)
add html files for toc testing
-rw-r--r--pyssg.xyz/db_blog.psv1
-rw-r--r--pyssg.xyz/live/blog/index.html2
-rw-r--r--pyssg.xyz/live/blog/rss.xml40
-rw-r--r--pyssg.xyz/live/blog/sitemap.xml6
-rw-r--r--pyssg.xyz/live/blog/tag/@english.html2
-rw-r--r--pyssg.xyz/live/blog/tag/@short.html2
-rw-r--r--pyssg.xyz/live/blog/tag/@test.html2
-rw-r--r--pyssg.xyz/live/blog/tag/@update.html2
-rw-r--r--pyssg.xyz/live/blog/toc_test.html130
9 files changed, 186 insertions, 1 deletions
diff --git a/pyssg.xyz/db_blog.psv b/pyssg.xyz/db_blog.psv
index 72117e9..62856b6 100644
--- a/pyssg.xyz/db_blog.psv
+++ b/pyssg.xyz/db_blog.psv
@@ -1,2 +1,3 @@
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
+toc_test.md|1676757015.2435772|0.0|8823c7928c3c5ece60adad608b99c508|english,short,test,update
diff --git a/pyssg.xyz/live/blog/index.html b/pyssg.xyz/live/blog/index.html
index b732064..597c935 100644
--- a/pyssg.xyz/live/blog/index.html
+++ b/pyssg.xyz/live/blog/index.html
@@ -70,6 +70,8 @@
<h2>Articles</h2>
<ul>
+ <h3>February 2023</h3>
+ <li>Feb 18 - <a href="https://blog.pyssg.xyz/toc_test.html">Table of contents test</a></li>
<h3>December 2022</h3>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/a/second.html">Second blog post for testing purposes</a></li>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/first.html">First blog post for testing purposes</a></li>
diff --git a/pyssg.xyz/live/blog/rss.xml b/pyssg.xyz/live/blog/rss.xml
index 63ac7e9..9058816 100644
--- a/pyssg.xyz/live/blog/rss.xml
+++ b/pyssg.xyz/live/blog/rss.xml
@@ -14,7 +14,7 @@
<webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster>
<pubDate></pubDate>
<lastBuildDate></lastBuildDate>
- <generator>pyssg v0.8.2</generator>
+ <generator>pyssg v0.8.4.dev1</generator>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<ttl>30</ttl>
<image>
@@ -23,6 +23,44 @@
<link>https://blog.pyssg.xyz</link>
</image>
<item>
+ <title>Table of contents test</title>
+ <link>https://blog.pyssg.xyz/toc_test.html</link>
+ <guid isPermaLink="true">https://blog.pyssg.xyz/toc_test.html</guid>
+ <pubDate>Sat, 18 Feb 2023 21:50:15 GMT</pubDate>
+ <category>English</category>
+ <category>Short</category>
+ <category>Test</category>
+ <category>Update</category>
+ <description>This is just a post used for testing.</description>
+ <content:encoded><![CDATA[<p>This is just a table of content test</p>
+<h1 id="table-of-contents">Table of contents</h1>
+<div class="toc">
+<ul>
+<li><a href="#table-of-contents">Table of contents</a></li>
+<li><a href="#hello">Hello</a><ul>
+<li><a href="#no">No</a></li>
+</ul>
+</li>
+<li><a href="#test">Test?</a><ul>
+<li><a href="#second">Second</a><ul>
+<li><a href="#test-2">Test 2?</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="hello">Hello</h1>
+<p>Anyone there?</p>
+<h2 id="no">No</h2>
+<p>Nobody.</p>
+<h1 id="test">Test?</h1>
+<p>Don&rsquo;t know how many of these I&rsquo;ll &ldquo;test&rdquo;.</p>
+<h2 id="second">Second</h2>
+<h3 id="test-2">Test 2?</h3>
+<p>Last one</p>]]></content:encoded>
+ </item>
+ <item>
<title>Second blog post for testing purposes</title>
<link>https://blog.pyssg.xyz/a/second.html</link>
<guid isPermaLink="true">https://blog.pyssg.xyz/a/second.html</guid>
diff --git a/pyssg.xyz/live/blog/sitemap.xml b/pyssg.xyz/live/blog/sitemap.xml
index 0a84fa2..62625a0 100644
--- a/pyssg.xyz/live/blog/sitemap.xml
+++ b/pyssg.xyz/live/blog/sitemap.xml
@@ -3,6 +3,12 @@
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://blog.pyssg.xyz/toc_test.html</loc>
+ <lastmod>2023-02-18</lastmod>
+ <changefreq>weekly</changefreq>
+ <priority>1.0</priority>
+ </url>
+ <url>
<loc>https://blog.pyssg.xyz/a/second.html</loc>
<lastmod>2022-12-15</lastmod>
<changefreq>weekly</changefreq>
diff --git a/pyssg.xyz/live/blog/tag/@english.html b/pyssg.xyz/live/blog/tag/@english.html
index fb23c17..1f19225 100644
--- a/pyssg.xyz/live/blog/tag/@english.html
+++ b/pyssg.xyz/live/blog/tag/@english.html
@@ -62,6 +62,8 @@
<h2>Articles</h2>
<ul>
+ <h3>February 2023</h3>
+ <li>Feb 18 - <a href="https://blog.pyssg.xyz/toc_test.html">Table of contents test</a></li>
<h3>December 2022</h3>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/a/second.html">Second blog post for testing purposes</a></li>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/first.html">First blog post for testing purposes</a></li>
diff --git a/pyssg.xyz/live/blog/tag/@short.html b/pyssg.xyz/live/blog/tag/@short.html
index dc65349..6adc51d 100644
--- a/pyssg.xyz/live/blog/tag/@short.html
+++ b/pyssg.xyz/live/blog/tag/@short.html
@@ -62,6 +62,8 @@
<h2>Articles</h2>
<ul>
+ <h3>February 2023</h3>
+ <li>Feb 18 - <a href="https://blog.pyssg.xyz/toc_test.html">Table of contents test</a></li>
<h3>December 2022</h3>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/a/second.html">Second blog post for testing purposes</a></li>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/first.html">First blog post for testing purposes</a></li>
diff --git a/pyssg.xyz/live/blog/tag/@test.html b/pyssg.xyz/live/blog/tag/@test.html
index 2f7da04..500035b 100644
--- a/pyssg.xyz/live/blog/tag/@test.html
+++ b/pyssg.xyz/live/blog/tag/@test.html
@@ -62,6 +62,8 @@
<h2>Articles</h2>
<ul>
+ <h3>February 2023</h3>
+ <li>Feb 18 - <a href="https://blog.pyssg.xyz/toc_test.html">Table of contents test</a></li>
<h3>December 2022</h3>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/a/second.html">Second blog post for testing purposes</a></li>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/first.html">First blog post for testing purposes</a></li>
diff --git a/pyssg.xyz/live/blog/tag/@update.html b/pyssg.xyz/live/blog/tag/@update.html
index 1060499..5f0c00d 100644
--- a/pyssg.xyz/live/blog/tag/@update.html
+++ b/pyssg.xyz/live/blog/tag/@update.html
@@ -62,6 +62,8 @@
<h2>Articles</h2>
<ul>
+ <h3>February 2023</h3>
+ <li>Feb 18 - <a href="https://blog.pyssg.xyz/toc_test.html">Table of contents test</a></li>
<h3>December 2022</h3>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/a/second.html">Second blog post for testing purposes</a></li>
<li>Dec 15 - <a href="https://blog.pyssg.xyz/first.html">First blog post for testing purposes</a></li>
diff --git a/pyssg.xyz/live/blog/toc_test.html b/pyssg.xyz/live/blog/toc_test.html
new file mode 100644
index 0000000..dc99a81
--- /dev/null
+++ b/pyssg.xyz/live/blog/toc_test.html
@@ -0,0 +1,130 @@
+<!DOCTYPE html>
+<html class="theme-dark" lang="en
+"
+ prefix="og: https://ogp.me/ns#">
+ <head>
+ <base href="https://static.pyssg.xyz">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="images/icons/favicon.ico">
+<title>Table of contents test -- pyssg blog</title>
+<meta name="description" content="PySSG blog, the python static site generator official blog."/>
+<link rel="alternate" type="application/rss+xml" href="https://blog.pyssg.xyz/rss.xml" title="pyssg blog RSS">
+ <!-- general style -->
+ <link rel="stylesheet" type="text/css" href="css/style.css">
+ <link rel="stylesheet" type="text/css" href="fork-awesome/css/fork-awesome.min.css">
+ <link rel="stylesheet" type="text/css" href="font-awesome/css/all.min.css">
+ <!-- theme related -->
+ <script type="text/javascript" src="scripts/theme.js"></script>
+ <link id="theme-css" rel="stylesheet" type="text/css" href="css/theme.css">
+ <!-- extra -->
+ <!-- og meta -->
+ <meta property="og:title" content="pyssg blog"/>
+ <meta property="og:type" content="article"/>
+ <meta property="og:url" content="https://blog.pyssg.xyz/toc_test.md"/>
+ <meta property="og:image" content="https://static.pyssg.xyz/images/default.png"/>
+ <meta property="og:description" content="PySSG blog, the python static site generator official blog."/>
+ <meta property="og:locale" content="en"/>
+ <meta property="og:site_name" content="pyssg blog"/>
+ </head>
+
+ <body>
+ <header>
+<nav>
+ <ul>
+ <li>
+ <a href="https://pyssg.xyz/"><i class="fas fa-home" alt="Home"></i><span>Home</span></a>
+ </li>
+
+ <li>
+ <a href="https://blog.pyssg.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a>
+ </li>
+
+ <li><i class="fab fa-git" alt="Git"></i><span>Git</span>
+ <ul>
+ <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li>
+
+ <li><a href="https://github.com/luevano" target="_blank"><i class="fab fa-github" alt="Github"></i></a></li>
+
+ <li><a href="https://gitlab.com/dluevano" target="_blank"><i class="fab fa-gitlab" alt="Gitlab"></i></a></li>
+ </ul>
+ </li>
+ </ul>
+</nav>
+
+<button class="theme-switcher" onclick="toggleTheme()"><i class="fas fa-moon"></i><i class="fas fa-sun"></i></button>
+
+ </header>
+
+ <main>
+ <h1>Table of contents test</h1>
+
+ <p>By David Luévano</p>
+ <p>Created: Sat, Feb 18, 2023 @ 21:50 UTC</p>
+
+ <p>This is just a table of content test</p>
+<h1 id="table-of-contents">Table of contents</h1>
+<div class="toc">
+<ul>
+<li><a href="#table-of-contents">Table of contents</a></li>
+<li><a href="#hello">Hello</a><ul>
+<li><a href="#no">No</a></li>
+</ul>
+</li>
+<li><a href="#test">Test?</a><ul>
+<li><a href="#second">Second</a><ul>
+<li><a href="#test-2">Test 2?</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="hello">Hello</h1>
+<p>Anyone there?</p>
+<h2 id="no">No</h2>
+<p>Nobody.</p>
+<h1 id="test">Test?</h1>
+<p>Don&rsquo;t know how many of these I&rsquo;ll &ldquo;test&rdquo;.</p>
+<h2 id="second">Second</h2>
+<h3 id="test-2">Test 2?</h3>
+<p>Last one</p>
+
+<p>Tags:
+ <a href="https://blog.pyssg.xyz/tag/@english.html">english</a>,
+ <a href="https://blog.pyssg.xyz/tag/@short.html">short</a>,
+ <a href="https://blog.pyssg.xyz/tag/@test.html">test</a>,
+ <a href="https://blog.pyssg.xyz/tag/@update.html">update</a>
+</p>
+ </main>
+
+ <footer>
+<span>
+ <i class="fas fa-address-card" alt="Contact"></i>
+ <a href="https://blog.pyssg.xyz/contact.html">Contact</a>
+</span>
+
+<span>
+ <i class="fas fa-donate" alt="Donate"></i>
+ <a href="https://blog.pyssg.xyz/donate.html">Donate</a>
+</span>
+
+<span>
+ <i class="fas fa-rss" alt="RSS"></i>
+ <a target="_blank" href="https://blog.pyssg.xyz/rss.xml">RSS</a>
+</span>
+
+<br>
+<span class="created-with">
+ <i class="fas fa-hammer" alt="Hammer"></i>
+ Created with <a href="https://github.com/luevano/pyssg">pyssg</a>
+</span>
+
+<br>
+<span class="copyright">
+ Copyright <i class="far fa-copyright" alt="Copyright"></i> 2023 David Luévano Alvarado
+</span>
+
+ </footer>
+ </body>
+</html> \ No newline at end of file