diff options
author | spf13 | 2014-04-26 16:25:13 -0600 |
---|---|---|
committer | spf13 | 2014-04-26 16:25:13 -0600 |
commit | da66ac1983b586765652f54bf556f268f1e32ff4 (patch) | |
tree | c5cf3722e926455c30c8113c473e0e73aef04312 /layouts/_default | |
download | hyde-da66ac1983b586765652f54bf556f268f1e32ff4.tar.lz hyde-da66ac1983b586765652f54bf556f268f1e32ff4.tar.zst hyde-da66ac1983b586765652f54bf556f268f1e32ff4.zip |
Adding the hyde theme
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> |