diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/blog-index | 8 | ||||
-rw-r--r-- | templates/blog.org | 3 | ||||
-rw-r--r-- | templates/postamble.html | 4 | ||||
-rw-r--r-- | templates/preamble.html | 14 | ||||
-rw-r--r-- | templates/rss.xml | 15 | ||||
-rw-r--r-- | templates/template.html | 28 |
6 files changed, 21 insertions, 51 deletions
diff --git a/templates/blog-index b/templates/blog-index deleted file mode 100644 index b00877c..0000000 --- a/templates/blog-index +++ /dev/null @@ -1,8 +0,0 @@ -Blog Index -================================================================================ - -This is the Carbs Linux Blog Index. You can find every post here. [RSS Feed] - -[RSS Feed]: /rss.xml - - diff --git a/templates/blog.org b/templates/blog.org new file mode 100644 index 0000000..4f8cb2d --- /dev/null +++ b/templates/blog.org @@ -0,0 +1,3 @@ +#+TITLE: Blog Index + +This is the Carbs Linux blog index. You can find every post here. [[file:../rss.xml][RSS Feed]] diff --git a/templates/postamble.html b/templates/postamble.html new file mode 100644 index 0000000..bbb22c2 --- /dev/null +++ b/templates/postamble.html @@ -0,0 +1,4 @@ +<footer> + <p>Linux® is a registered trademark of Linus Torvalds</p> + <p>Copyright © 2019-2021 Cem Keylan</p> +</footer> diff --git a/templates/preamble.html b/templates/preamble.html new file mode 100644 index 0000000..e9f3578 --- /dev/null +++ b/templates/preamble.html @@ -0,0 +1,14 @@ +<nav id="navbar"> + <a href="/" class=navbartitle>Carbs Linux</a> + + <label for="hamburger">☰</label> + <input type="checkbox" id="hamburger" /> + <ul id=navbarlist> + <li><a href="/" title="Home Page">Home</a></li> + <li><a href="//git.carbslinux.org" title="Git Repository">Git</a></li> + <li><a href="/download.html" title="Download Carbs Linux">Download</a></li> + <li><a href="/blog" title="Blog Posts">Blog</a></li> + <li><a href="/install.html" title="Installation Instructions">Installation</a></li> + <li><a href="/docs.html" title="Documentation">Docs</a></li> + </ul> +</nav> diff --git a/templates/rss.xml b/templates/rss.xml deleted file mode 100644 index cb45b89..0000000 --- a/templates/rss.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<rss version="2.0" - xmlns:atom="http://www.w3.org/2005/Atom" - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" -> - <channel> - <title>Carbs Linux</title> - <description>a simple linux distribution</description> - <link>https://carbslinux.org</link> - <atom:link href="https://carbslinux.org/{{ SRC }}" rel="self" type="application/rss+xml" /> - <lastBuildDate>{{ DATE }}</lastBuildDate> - {{ CONTENT }} - </channel> -</rss> diff --git a/templates/template.html b/templates/template.html deleted file mode 100644 index f79569c..0000000 --- a/templates/template.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE HTML> -<html lan=en> - <head> - <title>{{ TITLE }}</title> - <link rel="stylesheet" href="/style.css"> - <meta charset="utf-8"> - <meta name="Description" content="Carbs Linux - a simple linux distribution"> - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> - </head> - <body> - <p class=header><strong>Carbs Linux - a simple linux distribution</strong></p> - <div class="header"> - <nav> - <a href='/'>index</a> - <a href="//git.carbslinux.org">git</a> - <a href='//dl.carbslinux.org'>downloads</a> - <a href='/blog'>blog</a> - <a href='/docs/install.html'>installation</a> - <a href='/docs'>user manual</a> - </nav> - </div><div class="border"></div> - {{ CONTENT }} - <a href="{{ SRC }}">View Page Source</a> - <div class="border"></div> - <p class=footer>Linux® is a registered trademark of Linus Torvalds</p> - <p class=footer>Copyright © 2019-2021 Cem Keylan</p> - </body> -</html> |