From eaee38a4b6ebedc106548876cdbe1fe433c514bb Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
Date: Tue, 11 May 2021 20:38:48 -0600
Subject: refactor code and almost finish main functionality

---
 e_src/.files                                 |  5 +++++
 e_src/a/test2.md                             |  3 ++-
 e_src/templates/articles/list_entry.html     |  2 +-
 e_src/templates/articles/list_separator.html |  1 +
 e_src/templates/tag/header.html              |  1 +
 e_src/test1.html                             |  2 ++
 e_src/test1.md                               |  1 +
 e_src/test2.md                               | 11 +++++++++++
 8 files changed, 24 insertions(+), 2 deletions(-)
 create mode 100644 e_src/.files
 create mode 100644 e_src/test2.md

(limited to 'e_src')

diff --git a/e_src/.files b/e_src/.files
new file mode 100644
index 0000000..5381199
--- /dev/null
+++ b/e_src/.files
@@ -0,0 +1,5 @@
+test1.html 1620747134.884041 0.0 -
+a/test2.html 1620583182.7999856 0.0 -
+test1.md 1620745454.0012724 0.0 test,small,archive
+test2.md 1620786518.755961 0.0 test
+a/test2.md 1620781032.5948799 0.0 test,archive,another-test,123
diff --git a/e_src/a/test2.md b/e_src/a/test2.md
index 0eb26ec..95586cd 100644
--- a/e_src/a/test2.md
+++ b/e_src/a/test2.md
@@ -3,8 +3,9 @@ author: David Luévano
 summary: Small summary
 lang: en
 tags: test
-	small
 	archive
+	another-test
+	123
 
 This is an article test, again
 
diff --git a/e_src/templates/articles/list_entry.html b/e_src/templates/articles/list_entry.html
index 91d2d75..d6d8e88 100644
--- a/e_src/templates/articles/list_entry.html
+++ b/e_src/templates/articles/list_entry.html
@@ -1 +1 @@
-<li><a href="$$URL">$$DATE - $$TITLE</a></li>
+<li>$$DATE - <a href="$$URL">$$TITLE</a></li>
diff --git a/e_src/templates/articles/list_separator.html b/e_src/templates/articles/list_separator.html
index e69de29..b27ea84 100644
--- a/e_src/templates/articles/list_separator.html
+++ b/e_src/templates/articles/list_separator.html
@@ -0,0 +1 @@
+<h3>$$SEP</h3>
diff --git a/e_src/templates/tag/header.html b/e_src/templates/tag/header.html
index e69de29..29372aa 100644
--- a/e_src/templates/tag/header.html
+++ b/e_src/templates/tag/header.html
@@ -0,0 +1 @@
+<p>Posts filtered by tag: <a href="$$URL">$$NAME</a></p>
diff --git a/e_src/test1.html b/e_src/test1.html
index e69de29..7ade1a3 100644
--- a/e_src/test1.html
+++ b/e_src/test1.html
@@ -0,0 +1,2 @@
+<p> test</p>
+<p> modified</p>
diff --git a/e_src/test1.md b/e_src/test1.md
index 85e97b3..76e4ec5 100644
--- a/e_src/test1.md
+++ b/e_src/test1.md
@@ -10,3 +10,4 @@ This is an article test
 
 - asdfg
 - hjikl
+* modified
diff --git a/e_src/test2.md b/e_src/test2.md
new file mode 100644
index 0000000..8a32316
--- /dev/null
+++ b/e_src/test2.md
@@ -0,0 +1,11 @@
+title: Test 1
+author: David Luévano
+summary: Small summary
+lang: en
+tags: test
+
+This is an article test
+
+- asdfg
+- hjikl
+* modified
-- 
cgit v1.2.3-70-g09d2