diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-05-05 00:20:50 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-05-05 00:20:50 -0600 |
commit | 43ed04c6740a3ac11f7e2fc6d75429951536286e (patch) | |
tree | 388bb3f6432dca25000f29295b10a73056bc5fd9 /example/templates | |
parent | af070051c1b9eafdd6e98d207f73c4793587c1f5 (diff) |
initial template creation, barebones arg parser
Diffstat (limited to 'example/templates')
-rw-r--r-- | example/templates/article/article_entry.html | 1 | ||||
-rw-r--r-- | example/templates/article/article_footer.html | 0 | ||||
-rw-r--r-- | example/templates/article/article_header.html | 1 | ||||
-rw-r--r-- | example/templates/article/article_list_footer.html | 1 | ||||
-rw-r--r-- | example/templates/article/article_list_header.html | 2 | ||||
-rw-r--r-- | example/templates/article/article_separator.html | 0 | ||||
-rw-r--r-- | example/templates/article/footer.html | 2 | ||||
-rw-r--r-- | example/templates/article/header.html | 8 | ||||
-rw-r--r-- | example/templates/article/index_footer.html | 0 | ||||
-rw-r--r-- | example/templates/article/index_header.html | 0 | ||||
-rw-r--r-- | example/templates/article/tag_entry.html | 1 | ||||
-rw-r--r-- | example/templates/article/tag_index_footer.html | 0 | ||||
-rw-r--r-- | example/templates/article/tag_index_header.html | 0 | ||||
-rw-r--r-- | example/templates/article/tag_list_footer.html | 1 | ||||
-rw-r--r-- | example/templates/article/tag_list_header.html | 1 | ||||
-rw-r--r-- | example/templates/article/tag_separator.html | 1 |
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 |