summaryrefslogtreecommitdiff
path: root/example/templates/article
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-05-05 00:20:50 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-05-05 00:20:50 -0600
commit43ed04c6740a3ac11f7e2fc6d75429951536286e (patch)
tree388bb3f6432dca25000f29295b10a73056bc5fd9 /example/templates/article
parentaf070051c1b9eafdd6e98d207f73c4793587c1f5 (diff)
initial template creation, barebones arg parser
Diffstat (limited to 'example/templates/article')
-rw-r--r--example/templates/article/article_entry.html1
-rw-r--r--example/templates/article/article_footer.html0
-rw-r--r--example/templates/article/article_header.html1
-rw-r--r--example/templates/article/article_list_footer.html1
-rw-r--r--example/templates/article/article_list_header.html2
-rw-r--r--example/templates/article/article_separator.html0
-rw-r--r--example/templates/article/footer.html2
-rw-r--r--example/templates/article/header.html8
-rw-r--r--example/templates/article/index_footer.html0
-rw-r--r--example/templates/article/index_header.html0
-rw-r--r--example/templates/article/tag_entry.html1
-rw-r--r--example/templates/article/tag_index_footer.html0
-rw-r--r--example/templates/article/tag_index_header.html0
-rw-r--r--example/templates/article/tag_list_footer.html1
-rw-r--r--example/templates/article/tag_list_header.html1
-rw-r--r--example/templates/article/tag_separator.html1
16 files changed, 19 insertions, 0 deletions
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
--- /dev/null
+++ b/example/templates/article/article_footer.html
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
--- /dev/null
+++ b/example/templates/article/article_separator.html
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
--- /dev/null
+++ b/example/templates/article/index_footer.html
diff --git a/example/templates/article/index_header.html b/example/templates/article/index_header.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/example/templates/article/index_header.html
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
--- /dev/null
+++ b/example/templates/article/tag_index_footer.html
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
--- /dev/null
+++ b/example/templates/article/tag_index_header.html
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