diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 15 | ||||
-rw-r--r-- | layouts/_default/single.html | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..017c932 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,15 @@ +{{ template "theme/chrome/head.html" . }} +<body> + +{{ template "theme/chrome/sidebar.html" . }} + + <div class="content container"> + <ul class="posts"> + {{ range .Data.Pages }} + <li><span><a href="{{ .Permalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</h4></time></span></span></li> + {{ end }} + </ul> + </div> + + </body> +</html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..a6f29b1 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,15 @@ +{{ template "theme/chrome/head.html" . }} +<body> + +{{ template "theme/chrome/sidebar.html" . }} + + <div class="content container"> +<div class="post"> + <h1>{{ .Title }}</h1> + <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span> + {{ .Content }} +</div> +</div> + + </body> +</html> |