From 43ed04c6740a3ac11f7e2fc6d75429951536286e Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
Date: Wed, 5 May 2021 00:20:50 -0600
Subject: initial template creation, barebones arg parser

---
 example/templates/article/article_entry.html       | 1 +
 example/templates/article/article_footer.html      | 0
 example/templates/article/article_header.html      | 1 +
 example/templates/article/article_list_footer.html | 1 +
 example/templates/article/article_list_header.html | 2 ++
 example/templates/article/article_separator.html   | 0
 example/templates/article/footer.html              | 2 ++
 example/templates/article/header.html              | 8 ++++++++
 example/templates/article/index_footer.html        | 0
 example/templates/article/index_header.html        | 0
 example/templates/article/tag_entry.html           | 1 +
 example/templates/article/tag_index_footer.html    | 0
 example/templates/article/tag_index_header.html    | 0
 example/templates/article/tag_list_footer.html     | 1 +
 example/templates/article/tag_list_header.html     | 1 +
 example/templates/article/tag_separator.html       | 1 +
 16 files changed, 19 insertions(+)
 create mode 100644 example/templates/article/article_entry.html
 create mode 100644 example/templates/article/article_footer.html
 create mode 100644 example/templates/article/article_header.html
 create mode 100644 example/templates/article/article_list_footer.html
 create mode 100644 example/templates/article/article_list_header.html
 create mode 100644 example/templates/article/article_separator.html
 create mode 100644 example/templates/article/footer.html
 create mode 100644 example/templates/article/header.html
 create mode 100644 example/templates/article/index_footer.html
 create mode 100644 example/templates/article/index_header.html
 create mode 100644 example/templates/article/tag_entry.html
 create mode 100644 example/templates/article/tag_index_footer.html
 create mode 100644 example/templates/article/tag_index_header.html
 create mode 100644 example/templates/article/tag_list_footer.html
 create mode 100644 example/templates/article/tag_list_header.html
 create mode 100644 example/templates/article/tag_separator.html

(limited to 'example')

diff --git a/example/templates/article/article_entry.html b/example/templates/article/article_entry.html
new file mode 100644
index 0000000..6e6befd
--- /dev/null
+++ b/example/templates/article/article_entry.html
@@ -0,0 +1 @@
+<li><a href="$$URL">$$DATE $$TITLE</a></li>
diff --git a/example/templates/article/article_footer.html b/example/templates/article/article_footer.html
new file mode 100644
index 0000000..e69de29
diff --git a/example/templates/article/article_header.html b/example/templates/article/article_header.html
new file mode 100644
index 0000000..d2954d9
--- /dev/null
+++ b/example/templates/article/article_header.html
@@ -0,0 +1 @@
+<h1>$$TITLE</h1>
\ No newline at end of file
diff --git a/example/templates/article/article_list_footer.html b/example/templates/article/article_list_footer.html
new file mode 100644
index 0000000..3d3a44c
--- /dev/null
+++ b/example/templates/article/article_list_footer.html
@@ -0,0 +1 @@
+</ul>
diff --git a/example/templates/article/article_list_header.html b/example/templates/article/article_list_header.html
new file mode 100644
index 0000000..7b504ea
--- /dev/null
+++ b/example/templates/article/article_list_header.html
@@ -0,0 +1,2 @@
+<h2>Articles</h2>
+<ul>
diff --git a/example/templates/article/article_separator.html b/example/templates/article/article_separator.html
new file mode 100644
index 0000000..e69de29
diff --git a/example/templates/article/footer.html b/example/templates/article/footer.html
new file mode 100644
index 0000000..308b1d0
--- /dev/null
+++ b/example/templates/article/footer.html
@@ -0,0 +1,2 @@
+</body>
+</html>
diff --git a/example/templates/article/header.html b/example/templates/article/header.html
new file mode 100644
index 0000000..48adfef
--- /dev/null
+++ b/example/templates/article/header.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html lang=$$LANG>
+<head>
+<meta charset="utf-8">
+<title>$$TITLE</title>
+$$EXTRAHEAD
+</head>
+<body>
diff --git a/example/templates/article/index_footer.html b/example/templates/article/index_footer.html
new file mode 100644
index 0000000..e69de29
diff --git a/example/templates/article/index_header.html b/example/templates/article/index_header.html
new file mode 100644
index 0000000..e69de29
diff --git a/example/templates/article/tag_entry.html b/example/templates/article/tag_entry.html
new file mode 100644
index 0000000..3a7aaad
--- /dev/null
+++ b/example/templates/article/tag_entry.html
@@ -0,0 +1 @@
+<a href="$$URL">$$NAME</a>
\ No newline at end of file
diff --git a/example/templates/article/tag_index_footer.html b/example/templates/article/tag_index_footer.html
new file mode 100644
index 0000000..e69de29
diff --git a/example/templates/article/tag_index_header.html b/example/templates/article/tag_index_header.html
new file mode 100644
index 0000000..e69de29
diff --git a/example/templates/article/tag_list_footer.html b/example/templates/article/tag_list_footer.html
new file mode 100644
index 0000000..8ce77e5
--- /dev/null
+++ b/example/templates/article/tag_list_footer.html
@@ -0,0 +1 @@
+</p>
diff --git a/example/templates/article/tag_list_header.html b/example/templates/article/tag_list_header.html
new file mode 100644
index 0000000..7a57395
--- /dev/null
+++ b/example/templates/article/tag_list_header.html
@@ -0,0 +1 @@
+<p>Tags:
\ No newline at end of file
diff --git a/example/templates/article/tag_separator.html b/example/templates/article/tag_separator.html
new file mode 100644
index 0000000..c3a6e48
--- /dev/null
+++ b/example/templates/article/tag_separator.html
@@ -0,0 +1 @@
+, 
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2