diff options
author | Vivek Ghaisas <v.a.ghaisas@gmail.com> | 2017-05-26 23:13:31 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-07-25 19:02:27 +0200 |
commit | 5aab5b03ab910f0920b961ebda2f7f75f685b121 (patch) | |
tree | ec7c0c4bf9f6a49e91da150ddd91836c2a4f5027 /layouts/_default/list.html | |
parent | 561c22d40141a796bffecbb24bcc02f931d92e1c (diff) |
Fix indentation in layouts
- Change indentation to 2 spaces to match convention
- Don't indent <body> and <head> as per convention
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 12 |
1 files changed, 6 insertions, 6 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> |