diff options
author | Vivek Ghaisas | 2017-05-26 23:13:31 +0300 |
---|---|---|
committer | digitalcraftsman | 2017-07-25 19:02:27 +0200 |
commit | 5aab5b03ab910f0920b961ebda2f7f75f685b121 (patch) | |
tree | ec7c0c4bf9f6a49e91da150ddd91836c2a4f5027 /layouts/_default/single.html | |
parent | 561c22d40141a796bffecbb24bcc02f931d92e1c (diff) | |
download | hyde-5aab5b03ab910f0920b961ebda2f7f75f685b121.tar.lz hyde-5aab5b03ab910f0920b961ebda2f7f75f685b121.tar.zst hyde-5aab5b03ab910f0920b961ebda2f7f75f685b121.zip |
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/single.html')
-rw-r--r-- | layouts/_default/single.html | 22 |
1 files changed, 11 insertions, 11 deletions
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 |