diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 12 | ||||
-rw-r--r-- | layouts/_default/single.html | 22 |
2 files changed, 17 insertions, 17 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 7659d47..c362b25 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,15 +1,15 @@ {{ partial "head.html" . }} <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}"> -{{ partial "sidebar.html" . }} + {{ partial "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 }} + {{ 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> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2a8e053..26149e7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,13 +1,13 @@ - {{ partial "head.html" . }} - <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}"> - {{ partial "sidebar.html" . }} +{{ partial "head.html" . }} +<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}"> + {{ partial "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 class="content container"> + <div class="post"> + <h1>{{ .Title }}</h1> + <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span> + {{ .Content }} + </div> {{ if .Site.Params.disqusShortname }} <h2>Comments</h2> @@ -15,5 +15,5 @@ {{ end }} </div> - </body> -</html> +</body> +</html>
\ No newline at end of file |