diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 21 | ||||
-rw-r--r-- | layouts/_default/single.html | 21 |
2 files changed, 18 insertions, 24 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d376d80..35f2a6a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,15 +1,12 @@ {{ template "theme/partials/head.html" . }} -<body> - + <body> {{ template "theme/partials/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" }}</time></span></li> - {{ end }} - </ul> - </div> - - </body> + <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" }}</time></span></li> + {{ end }} + </ul> + </div> + </body> </html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e0b2f94..f627d2d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,15 +1,12 @@ {{ template "theme/partials/head.html" . }} -<body> - + <body> {{ template "theme/partials/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> + <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> |