aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-07-27 01:21:06 +0300
committerCem Keylan <cem@ckyln.com>2020-07-27 01:21:06 +0300
commitec7e9e3183492bcd18d06c02b90930f6a837c6b5 (patch)
treef4609beabb395ea6a281001a56d62cf3afa9e835 /templates
parent22940b398010e3b653052dd27d0ac6fddbdae83c (diff)
downloadwebsite-ec7e9e3183492bcd18d06c02b90930f6a837c6b5.tar.gz
site update
Diffstat (limited to 'templates')
-rw-r--r--templates/blog-index8
-rw-r--r--templates/rss.xml15
-rw-r--r--templates/template.html27
3 files changed, 50 insertions, 0 deletions
diff --git a/templates/blog-index b/templates/blog-index
new file mode 100644
index 0000000..b00877c
--- /dev/null
+++ b/templates/blog-index
@@ -0,0 +1,8 @@
+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/rss.xml b/templates/rss.xml
new file mode 100644
index 0000000..cb45b89
--- /dev/null
+++ b/templates/rss.xml
@@ -0,0 +1,15 @@
+<?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
new file mode 100644
index 0000000..f6c753c
--- /dev/null
+++ b/templates/template.html
@@ -0,0 +1,27 @@
+<!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="https://github.com/CarbsLinux">github</a>
+ <a href='//dl.carbslinux.org'>downloads</a>
+ <a href='/blog'>blog</a>
+ <a href='/docs/install.html'>installation</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-2020 Cem Keylan</p>
+ </body>
+</html>