summaryrefslogtreecommitdiff
path: root/blog/old_newer/src/templates
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:50:58 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:50:58 -0600
commitb171347f739b2ada7960ad50bcba47e898d890d2 (patch)
treec88d6c3cdfb39b7e8e7cb5ec5952160cd4cf9911 /blog/old_newer/src/templates
parentfebe3173b7430266c36508927f3535c431f0aa8b (diff)
reflect changes on updated pyssg using jinja templates
Diffstat (limited to 'blog/old_newer/src/templates')
-rw-r--r--blog/old_newer/src/templates/article/footer.html8
-rw-r--r--blog/old_newer/src/templates/article/header.html1
-rw-r--r--blog/old_newer/src/templates/articles/footer.html0
-rw-r--r--blog/old_newer/src/templates/articles/header.html9
-rw-r--r--blog/old_newer/src/templates/articles/list_entry.html1
-rw-r--r--blog/old_newer/src/templates/articles/list_footer.html1
-rw-r--r--blog/old_newer/src/templates/articles/list_header.html2
-rw-r--r--blog/old_newer/src/templates/articles/list_separator.html1
-rw-r--r--blog/old_newer/src/templates/common/footer.html31
-rw-r--r--blog/old_newer/src/templates/common/header.html66
-rw-r--r--blog/old_newer/src/templates/rss/rss.xml27
-rw-r--r--blog/old_newer/src/templates/sitemap/sitemap.xml6
-rw-r--r--blog/old_newer/src/templates/tag/footer.html0
-rw-r--r--blog/old_newer/src/templates/tag/header.html1
-rw-r--r--blog/old_newer/src/templates/tag/list_entry.html1
-rw-r--r--blog/old_newer/src/templates/tag/list_footer.html2
-rw-r--r--blog/old_newer/src/templates/tag/list_header.html2
-rw-r--r--blog/old_newer/src/templates/tag/list_separator.html1
18 files changed, 160 insertions, 0 deletions
diff --git a/blog/old_newer/src/templates/article/footer.html b/blog/old_newer/src/templates/article/footer.html
new file mode 100644
index 0000000..354aac2
--- /dev/null
+++ b/blog/old_newer/src/templates/article/footer.html
@@ -0,0 +1,8 @@
+
+<hr>
+<div class="article-info">
+<p>By: $$AUTHOR</p>
+<p>Created: $$CTIME</p>
+<p>Edited: $$MTIME</p>
+$$TAGS
+</div>
diff --git a/blog/old_newer/src/templates/article/header.html b/blog/old_newer/src/templates/article/header.html
new file mode 100644
index 0000000..cb941df
--- /dev/null
+++ b/blog/old_newer/src/templates/article/header.html
@@ -0,0 +1 @@
+<h1>$$TITLE</h1>
diff --git a/blog/old_newer/src/templates/articles/footer.html b/blog/old_newer/src/templates/articles/footer.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/blog/old_newer/src/templates/articles/footer.html
diff --git a/blog/old_newer/src/templates/articles/header.html b/blog/old_newer/src/templates/articles/header.html
new file mode 100644
index 0000000..9a3dcc9
--- /dev/null
+++ b/blog/old_newer/src/templates/articles/header.html
@@ -0,0 +1,9 @@
+<h1>Index -- Luévano's Blog</h1>
+
+<p>
+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).
+</p>
+
+<p>
+Get the RSS feed: <a target="_blank" href="https://blog.luevano.xyz/rss.xml">https://blog.luevano.xyz/rss.xml</a>
+</p>
diff --git a/blog/old_newer/src/templates/articles/list_entry.html b/blog/old_newer/src/templates/articles/list_entry.html
new file mode 100644
index 0000000..d6d8e88
--- /dev/null
+++ b/blog/old_newer/src/templates/articles/list_entry.html
@@ -0,0 +1 @@
+<li>$$DATE - <a href="$$URL">$$TITLE</a></li>
diff --git a/blog/old_newer/src/templates/articles/list_footer.html b/blog/old_newer/src/templates/articles/list_footer.html
new file mode 100644
index 0000000..3d3a44c
--- /dev/null
+++ b/blog/old_newer/src/templates/articles/list_footer.html
@@ -0,0 +1 @@
+</ul>
diff --git a/blog/old_newer/src/templates/articles/list_header.html b/blog/old_newer/src/templates/articles/list_header.html
new file mode 100644
index 0000000..7b504ea
--- /dev/null
+++ b/blog/old_newer/src/templates/articles/list_header.html
@@ -0,0 +1,2 @@
+<h2>Articles</h2>
+<ul>
diff --git a/blog/old_newer/src/templates/articles/list_separator.html b/blog/old_newer/src/templates/articles/list_separator.html
new file mode 100644
index 0000000..b27ea84
--- /dev/null
+++ b/blog/old_newer/src/templates/articles/list_separator.html
@@ -0,0 +1 @@
+<h3>$$SEP</h3>
diff --git a/blog/old_newer/src/templates/common/footer.html b/blog/old_newer/src/templates/common/footer.html
new file mode 100644
index 0000000..cba93cd
--- /dev/null
+++ b/blog/old_newer/src/templates/common/footer.html
@@ -0,0 +1,31 @@
+ </main>
+
+ <footer>
+ <span>
+ <i class="fas fa-address-card" alt="Contact"></i>
+ <a href="https://luevano.xyz/contact.html">Contact</a>
+ </span>
+
+ <span>
+ <i class="fas fa-donate" alt="Donate"></i>
+ <a href="https://luevano.xyz/donate.html">Donate</a>
+ </span>
+
+ <span>
+ <i class="fas fa-rss" alt="RSS"></i>
+ <a href="https://blog.luevano.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="fal fa-copyright" alt="Copyright"></i> 2021 David Luévano Alvarado
+ </span>
+ </footer>
+ </body>
+</html>
diff --git a/blog/old_newer/src/templates/common/header.html b/blog/old_newer/src/templates/common/header.html
new file mode 100644
index 0000000..f3c12aa
--- /dev/null
+++ b/blog/old_newer/src/templates/common/header.html
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<html lang="$$LANG">
+ <head>
+ <base href="https://static.luevano.xyz/">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>$$TITLE -- Luévano's Blog</title>
+ <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS">
+ <link rel="icon" href="images/icons/favicon.ico">
+
+ <!-- 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">
+
+ <!-- highlight support for code blocks -->
+ <script type="text/javascript" src="hl/highlight.min.js"></script>
+ <script type="text/javascript">hljs.initHighlightingOnLoad();</script>
+
+ <!-- theme related -->
+ <script type="text/javascript" src="scripts/theme.js"></script>
+ <link id="theme-css" rel="stylesheet" type="text/css" href="css/dark.css">
+ <link id="code-theme-css" rel="stylesheet" type="text/css" href="hl/styles/solarized-dark.min.css">
+ </head>
+
+ <body>
+ <header>
+ <nav>
+ <ul>
+ <li>
+ <a href="https://luevano.xyz/"><i class="fas fa-home" alt="Home"></i><span>Home</span></a>
+ </li>
+
+ <li>
+ <a href="https://blog.luevano.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>
+
+ <li><i class="fas fa-box-open" alt="Stuff"></i><span>Stuff</span>
+ <ul>
+ <li><a href="https://gb.luevano.xyz/"><i class="fas fa-gamepad" alt="Gameboy"></i><span>Gameboy</span></a></li>
+ </ul>
+ </li>
+ </ul>
+ </nav>
+
+ <div class="theme-switch-container">
+ <i class="fas fa-sun"></i>
+ <label class="switch theme">
+ <input id="theme-switch" type="checkbox" onclick="toggleTheme()">
+ <span class="slider round"></span>
+ </label>
+ <i class="fas fa-moon"></i>
+ </div>
+ </header>
+
+ <main>
diff --git a/blog/old_newer/src/templates/rss/rss.xml b/blog/old_newer/src/templates/rss/rss.xml
new file mode 100644
index 0000000..bda362a
--- /dev/null
+++ b/blog/old_newer/src/templates/rss/rss.xml
@@ -0,0 +1,27 @@
+<?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>$$TITLE</title>
+ <link>$$LINK</link>
+ <atom:link href="https://blog.luevano.xyz/rss.xml" rel="self" type="application/rss+xml"/>
+ <description>A personal weblog ranging from rants to how to's and other thoughts.</description>
+ <language>en-us</language>
+ <category>Blog</category>
+ <copyright>Copyright 2021 David Luévano Alvarado</copyright>
+ <managingEditor>david@luevano.xyz (David Luévano Alvarado)</managingEditor>
+ <webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster>
+ <pubDate>$$CURRENTDATE</pubDate>
+ <lastBuildDate>$$CURRENTDATE</lastBuildDate>
+ <generator>$$PYSSGVERSION</generator>
+ <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
+ <ttl>30</ttl>
+ <image>
+ <url>https://static.luevano.xyz/images/blog.png</url>
+ <title>$$TITLE</title>
+ <link>$$LINK</link>
+ </image>
+$$ITEMS
+ </channel>
+</rss>
diff --git a/blog/old_newer/src/templates/sitemap/sitemap.xml b/blog/old_newer/src/templates/sitemap/sitemap.xml
new file mode 100644
index 0000000..b3fcc75
--- /dev/null
+++ b/blog/old_newer/src/templates/sitemap/sitemap.xml
@@ -0,0 +1,6 @@
+<?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">
+$$URLS
+</urlset>
diff --git a/blog/old_newer/src/templates/tag/footer.html b/blog/old_newer/src/templates/tag/footer.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/blog/old_newer/src/templates/tag/footer.html
diff --git a/blog/old_newer/src/templates/tag/header.html b/blog/old_newer/src/templates/tag/header.html
new file mode 100644
index 0000000..48793fb
--- /dev/null
+++ b/blog/old_newer/src/templates/tag/header.html
@@ -0,0 +1 @@
+<h1>Posts filtered by: $$NAME</h1>
diff --git a/blog/old_newer/src/templates/tag/list_entry.html b/blog/old_newer/src/templates/tag/list_entry.html
new file mode 100644
index 0000000..3a7aaad
--- /dev/null
+++ b/blog/old_newer/src/templates/tag/list_entry.html
@@ -0,0 +1 @@
+<a href="$$URL">$$NAME</a> \ No newline at end of file
diff --git a/blog/old_newer/src/templates/tag/list_footer.html b/blog/old_newer/src/templates/tag/list_footer.html
new file mode 100644
index 0000000..a1a9917
--- /dev/null
+++ b/blog/old_newer/src/templates/tag/list_footer.html
@@ -0,0 +1,2 @@
+</p>
+</div>
diff --git a/blog/old_newer/src/templates/tag/list_header.html b/blog/old_newer/src/templates/tag/list_header.html
new file mode 100644
index 0000000..af11130
--- /dev/null
+++ b/blog/old_newer/src/templates/tag/list_header.html
@@ -0,0 +1,2 @@
+<div class="article-tags">
+ <p>Tags:
diff --git a/blog/old_newer/src/templates/tag/list_separator.html b/blog/old_newer/src/templates/tag/list_separator.html
new file mode 100644
index 0000000..c3a6e48
--- /dev/null
+++ b/blog/old_newer/src/templates/tag/list_separator.html
@@ -0,0 +1 @@
+, \ No newline at end of file