diff options
author | Steph Enders <steph@senders.io> | 2024-02-29 09:31:15 -0500 |
---|---|---|
committer | Steph Enders <steph@senders.io> | 2024-02-29 09:31:15 -0500 |
commit | 2b39175011422a0d8f96d7f598f46e2a781dd28f (patch) | |
tree | dd896a1e35e2ec194bfce829afd61f553652464a /old/templates | |
parent | 350a5058cf383733a7e75f753abdcd1cb7aae2c5 (diff) |
Initial rework commit: Build Script POC and CSS done
I've created the main CSS layout and a proof of concept for the build
script: this will actually build any "done" _post/ file and generate
it as a workable HTML file. However, no index file generate, rss, or
gemini is implemented
Diffstat (limited to 'old/templates')
-rw-r--r-- | old/templates/blog-footer.html | 11 | ||||
-rw-r--r-- | old/templates/blog-header.html | 31 | ||||
-rw-r--r-- | old/templates/blog.html | 33 | ||||
-rw-r--r-- | old/templates/page-footer.html | 8 | ||||
-rw-r--r-- | old/templates/page-header.html | 25 | ||||
-rw-r--r-- | old/templates/page.html | 25 | ||||
-rw-r--r-- | old/templates/rss/rss-footer.xml | 2 | ||||
-rw-r--r-- | old/templates/rss/rss-header.xml | 11 | ||||
-rw-r--r-- | old/templates/rss/rss-item-footer.xml | 3 | ||||
-rw-r--r-- | old/templates/rss/rss-item-header.xml | 7 |
10 files changed, 156 insertions, 0 deletions
diff --git a/old/templates/blog-footer.html b/old/templates/blog-footer.html new file mode 100644 index 0000000..a8adec8 --- /dev/null +++ b/old/templates/blog-footer.html @@ -0,0 +1,11 @@ + </article> + <div id="footer"> + <i>BLOG_DATE</i> + </div> + <div id='copyright'> + © 2023 senders dot io - + <a rel="license external noopener noreferrer" target="_blank" href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> + unless otherwise noted. + </div> +</body> +</html> diff --git a/old/templates/blog-header.html b/old/templates/blog-header.html new file mode 100644 index 0000000..84ff557 --- /dev/null +++ b/old/templates/blog-header.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="generator" + content="HTML Tidy for HTML5 for Linux version 5.6.0"> + <title>senders.io - PAGE_TITLE</title> + <link rel='stylesheet' + type='text/css' + href='/index.css'> + <meta name="viewport" + content="width=device-width, initial-scale=1"> +</head> +<body> + <div id='header'> + <a class='title' + href='/'>senders.io</a> + <nav> + <a href="/blog">blog</a> <a rel="external noopener noreferrer" + target="_blank" + href="https://github.com/s3nd3r5">github</a> <a rel= + "external noopener noreferrer" + target="_blank" + href="https://git.senders.io">cgit</a> <a rel= + "me external noopener noreferrer" + target="_blank" + href="https://tech.lgbt/@senders">fedi</a> + </nav> + </div> + <div id="body"> + <article> diff --git a/old/templates/blog.html b/old/templates/blog.html new file mode 100644 index 0000000..ac53f91 --- /dev/null +++ b/old/templates/blog.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="generator" + content="HTML Tidy for HTML5 for Linux version 5.6.0"> + <title>senders.io - Blog</title> + <link rel='stylesheet' + type='text/css' + href='/index.css'> + <meta name="viewport" + content="width=device-width, initial-scale=1"> +</head> +<body> + <div id='header'> + <a class='title' + href='/'>senders.io</a> + <nav> + <a href="/resume">Resume</a> <a href="/blog">Blog</a> <a href= + "https://github.com/s3nd3r5">Github</a> + </nav> + </div> + <div id='body'> + <article> + <h2>Title</h2> + <p>Text Here</p> + </article> + <div id='footer'> + <i>Date of post</i> + </div> + </div> +</body> +</html> diff --git a/old/templates/page-footer.html b/old/templates/page-footer.html new file mode 100644 index 0000000..bab1050 --- /dev/null +++ b/old/templates/page-footer.html @@ -0,0 +1,8 @@ + <div id='copyright'> + © 2023 senders dot io - + <a rel="license external noopener noreferrer" target="_blank" href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> + unless otherwise noted. + </div> + </div> +</body> +</html> diff --git a/old/templates/page-header.html b/old/templates/page-header.html new file mode 100644 index 0000000..d9a7417 --- /dev/null +++ b/old/templates/page-header.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.6.0"> + <title>senders.io - PAGE_TITLE</title> + <link rel='stylesheet' type='text/css' href='/index.css'> + <meta name="viewport" content="width=device-width, initial-scale=1"> +</head> +<body> + <div id='header'> + <a class='title' href='/'>senders.io</a> + <nav> + <a href="/blog">blog</a> <a rel="external noopener noreferrer" + target="_blank" + href="https://github.com/s3nd3r5">github</a> <a rel= + "external noopener noreferrer" + target="_blank" + href="https://git.senders.io">cgit</a> <a rel= + "me external noopener noreferrer" + target="_blank" + href="https://tech.lgbt/@senders">fedi</a> + </nav> + </div> + <div id="body" class="PAGE_CLASS"> diff --git a/old/templates/page.html b/old/templates/page.html new file mode 100644 index 0000000..a7dd5b3 --- /dev/null +++ b/old/templates/page.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="generator" + content="HTML Tidy for HTML5 for Linux version 5.6.0"> + <title>senders.io - {PAGE}</title> + <link rel='stylesheet' + type='text/css' + href='/index.css'> + <meta name="viewport" + content="width=device-width, initial-scale=1"> +</head> +<body> + <div id='header'> + <a class='title' + href='/'>senders.io</a> + <nav> + <a href="/resume">Resume</a> <a href="/blog">Blog</a> <a href= + "https://github.com/s3nd3r5">Github</a> + </nav> + </div> + <div id='body'></div> +</body> +</html> diff --git a/old/templates/rss/rss-footer.xml b/old/templates/rss/rss-footer.xml new file mode 100644 index 0000000..3a9dbde --- /dev/null +++ b/old/templates/rss/rss-footer.xml @@ -0,0 +1,2 @@ +</channel> +</rss> diff --git a/old/templates/rss/rss-header.xml b/old/templates/rss/rss-header.xml new file mode 100644 index 0000000..7eb169d --- /dev/null +++ b/old/templates/rss/rss-header.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<rss version="2.0"> +<channel> + <title>senders.io - Blog</title> + <description>senders.io's blog feed</description> + <link>https://www.senders.io/</link> + <copyright>2023 senders dot io - CC BY-SA 4.0</copyright> + <language>en-US</language> + <ttl>60</ttl> + <lastBuildDate>#BUILDDATE</lastBuildDate> + <pubDate>#PUBDATE</pubDate> diff --git a/old/templates/rss/rss-item-footer.xml b/old/templates/rss/rss-item-footer.xml new file mode 100644 index 0000000..d1a2e8b --- /dev/null +++ b/old/templates/rss/rss-item-footer.xml @@ -0,0 +1,3 @@ + ]]> + </description> + </item> diff --git a/old/templates/rss/rss-item-header.xml b/old/templates/rss/rss-item-header.xml new file mode 100644 index 0000000..ce5113b --- /dev/null +++ b/old/templates/rss/rss-item-header.xml @@ -0,0 +1,7 @@ + <item> + <title>#TITLE</title> + <link>#LINK</link> + <guid isPermaLink="true">#PERMALINK</guid> + <pubDate>#PUBDATE</pubDate> + <description> + <![CDATA[ |