diff options
author | Monty Taylor <mordred@inaugust.com> | 2015-08-01 06:21:17 +1000 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2015-08-01 06:21:17 +1000 |
commit | 89ae9df5de906ef45968830bac4569274bc9315a (patch) | |
tree | ba4113cad2305550af05b67f4db3bac68b258390 /src/templates | |
parent | 816c90235ed3393b72fc2344457a105971049b5b (diff) |
Try to make a templated layoutfeature/layout
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/post.hbs | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/templates/post.hbs b/src/templates/post.hbs new file mode 100644 index 0000000..dd2187e --- /dev/null +++ b/src/templates/post.hbs | |||
@@ -0,0 +1,66 @@ | |||
1 | <!doctype html> | ||
2 | <html class="no-js"> | ||
3 | <head> | ||
4 | <meta charset="utf-8"> | ||
5 | <title>{{ title }}</title> | ||
6 | <link rel="stylesheet" href="/css/bootstrap.css"> | ||
7 | <link rel="stylesheet" href="/css/mordred.css"> | ||
8 | <meta name="author" content="{{author.name}}"> | ||
9 | <meta name="viewport" | ||
10 | content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"> | ||
11 | <meta name="description" content="{{ description }}"> | ||
12 | <meta name="viewport" content="width=device-width"> | ||
13 | <link rel="shortcut icon" href="/favicon.ico"> | ||
14 | </head> | ||
15 | |||
16 | <body> | ||
17 | <!--[if lt IE 10]> | ||
18 | <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> | ||
19 | <![endif]--> | ||
20 | |||
21 | <nav class="navbar navbar-default navbar-fixed-top"> | ||
22 | <div class="container-fluid"><a href="/"> | ||
23 | <span class="navbar-brand"> | ||
24 | Things you may or may not care or not care about.</a></span> | ||
25 | </div> | ||
26 | </nav> | ||
27 | |||
28 | <div class="jumbotron"> | ||
29 | <div class="container-fluid"> | ||
30 | <h1> | ||
31 | <span xmlns:dct="http://purl.org/dc/terms/" | ||
32 | href="http://purl.org/dc/dcmitype/InteractiveResource" | ||
33 | property="dct:title" | ||
34 | rel="dct:type"> | ||
35 | {{ title }} | ||
36 | </h1> | ||
37 | <p class="lead">{{ description }}</p> | ||
38 | </div> | ||
39 | </div> | ||
40 | |||
41 | <div class="container-fluid"> | ||
42 | {{{ body }}} | ||
43 | </div> | ||
44 | |||
45 | <nav class="navbar navbar-default navbar-fixed-bottom"> | ||
46 | <div class="container-fluid"> | ||
47 | <p class="navbar-text"> | ||
48 | <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"> | ||
49 | <img alt="Creative Commons License" | ||
50 | src="https://i.creativecommons.org/l/by/4.0/88x31.png"/> | ||
51 | </a> | ||
52 | <a xmlns:cc="http://creativecommons.org/ns#" | ||
53 | rel="cc:attributionURL" | ||
54 | href='http://inaugust.com'>http://inaugust.com</a> | ||
55 | by <span xmlns:cc="http://creativecommons.org/ns#" | ||
56 | property="cc:attributionName">{{author.name}}</span> | ||
57 | is licensed under a <a rel="license" | ||
58 | href="http://creativecommons.org/licenses/by/4.0/">Creative | ||
59 | Commons Attribution 4.0 International License</a>. | ||
60 | Source code available at <a href='http://git.inaugust.com/cgit/inaugust.com'>http://git.inaugust.com/cgit/inaugust.com</a> | ||
61 | </p> | ||
62 | </div> | ||
63 | </nav> | ||
64 | |||
65 | </body> | ||
66 | </html> | ||