diff options
author | bie <bie@blekksprut.net> | 2017-06-29 15:48:02 +0200 |
---|---|---|
committer | bie <bie@blekksprut.net> | 2017-06-29 15:48:02 +0200 |
commit | 05c51adb090fa096eb229c9cc4f1c519fcda6a01 (patch) | |
tree | 38e7e4e7f5f150b016ad4835548a19c4c959ff5c /templates | |
parent | 9f249b3e2af30444dbfbd42396824df3724af68f (diff) | |
download | maker-05c51adb090fa096eb229c9cc4f1c519fcda6a01.tar.xz |
wew wew
Diffstat (limited to 'templates')
-rw-r--r-- | templates/article.html | 9 | ||||
-rw-r--r-- | templates/index.html | 10 | ||||
-rw-r--r-- | templates/layout.html | 18 |
3 files changed, 37 insertions, 0 deletions
diff --git a/templates/article.html b/templates/article.html new file mode 100644 index 0000000..d8b5b4b --- /dev/null +++ b/templates/article.html @@ -0,0 +1,9 @@ +<article> + <h2>{{title}}</h2> + <p>posted {{date}} by {{author}} + {{#lead}} + <p class=lead>{{lead}} + {{/lead}} + {{&text}} +</article> + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..4695387 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,10 @@ +{{#articles}} + <article> + <h2><a href='{{url}}'>{{title}}</a></h2> + <p>posted {{date}} by {{author}} + {{#lead}} + <p class=lead>{{lead}} + {{/lead}} + </article> +{{/articles}} + diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..7937763 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,18 @@ +<!doctype html> +<meta charset=utf-8> +<title>{{site.title}}</title> +<meta name=viewport content=width=device-width> +<meta name=viewport content=initial-scale=1.0> +<link rel=stylesheet href='{{&site.base}}/maker.css'> + +<header> + <h1>{{site.title}}</h1> +</header> + +<main> +{{&_}} +</main> + +<footer> +</footer> + |