aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-02-02 03:39:56 +0300
committerCem Keylan <cem@ckyln.com>2021-02-02 03:39:56 +0300
commite7999a032bd888abf3665c501a754dbb922fe7c9 (patch)
tree9e6fd5104482ba77815a1ed1d591e9ba8167be78 /templates
parentc17e5bd8eb9c0b98b5b6eb9b6cd8f38e2856bb40 (diff)
downloadwebsite-e7999a032bd888abf3665c501a754dbb922fe7c9.tar.gz
Switch to org-mode for generating the website
Diffstat (limited to 'templates')
-rw-r--r--templates/blog-index8
-rw-r--r--templates/blog.org3
-rw-r--r--templates/postamble.html4
-rw-r--r--templates/preamble.html14
-rw-r--r--templates/rss.xml15
-rw-r--r--templates/template.html28
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&reg; is a registered trademark of Linus Torvalds</p>
+ <p>Copyright &copy; 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">&#9776;</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>