Fix indentation in layouts
- Change indentation to 2 spaces to match convention - Don't indent <body> and <head> as per convention
This commit is contained in:
parent
561c22d401
commit
5aab5b03ab
2 changed files with 17 additions and 17 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue