diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/default.html | 12 | ||||
| -rw-r--r-- | templates/page.html | 3 | ||||
| -rw-r--r-- | templates/tag.html | 14 |
3 files changed, 29 insertions, 0 deletions
diff --git a/templates/default.html b/templates/default.html new file mode 100644 index 0000000..52c4b44 --- /dev/null +++ b/templates/default.html @@ -0,0 +1,12 @@ +<!doctype html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>My Stuffs - $title$</title> + </head> + <body> + <h1>$title$</h1> + $body$ + </body> +</html> diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..38b50ce --- /dev/null +++ b/templates/page.html @@ -0,0 +1,3 @@ +<section> + $body$ +</section> diff --git a/templates/tag.html b/templates/tag.html new file mode 100644 index 0000000..6f329cd --- /dev/null +++ b/templates/tag.html @@ -0,0 +1,14 @@ +<section> + <h2>Tag</h2> + <ul> + $for(htags)$ + <li>$htag$</li> + $endfor$ + </ul> + <h2>Pages</h2> + <ul> + $for(pages)$ + <li><a href="$page$">$page$</a></li> + $endfor$ + </ul> +</section> |
