Indent consistently with 2 spaces

This commit is contained in:
ItsDrike 2021-08-26 02:06:40 +02:00
parent cf116ca468
commit 1385f95d7f
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
11 changed files with 86 additions and 86 deletions

View file

@ -1,23 +1,23 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Language" content="{{ .Site.Language.Lang }}">
{{ partial "style.html" "scss/style.scss" }}
{{ partial "style.html" "css/highlight.css" }}
{{ partial "style.html" "css/font-awesome.css" }}
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Language" content="{{ .Site.Language.Lang }}">
{{ partial "style.html" "scss/style.scss" }}
{{ partial "style.html" "css/highlight.css" }}
{{ partial "style.html" "css/font-awesome.css" }}
{{ partial "favicon.html" }}
{{ partial "favicon.html" }}
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
</head>
<body>
{{ partial "navbar.html" . }}
{{ block "main" . }}{{ end }}
{{ partial "footer.html" . }}
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
</head>
<body>
{{ partial "navbar.html" . }}
{{ block "main" . }}{{ end }}
{{ partial "footer.html" . }}
{{ partial "script.html" "js/jquery.min.js" }}
{{ partial "script_async.html" "js/bootstrap.min.js" }}
{{ block "scripts_extra" . }}{{ end }}
</body>
{{ partial "script.html" "js/jquery.min.js" }}
{{ partial "script_async.html" "js/bootstrap.min.js" }}
{{ block "scripts_extra" . }}{{ end }}
</body>
</html>

View file

@ -1,13 +1,13 @@
{{ define "main" }}
<div id="main">
<div class="container">
{{ partial "content.html" . }}
{{ if .Content }}
<hr />
{{ end }}
{{ range .Pages.ByTitle }}
{{ partial "list_item.html" . }}
{{ end }}
{{ partial "content.html" . }}
{{ if .Content }}
<hr />
{{ end }}
{{ range .Pages.ByTitle }}
{{ partial "list_item.html" . }}
{{ end }}
</div>
</div>
{{ end }}

View file

@ -1,7 +1,7 @@
{{ define "main" }}
<div id="main">
<div class="container">
{{ partial "content.html" . }}
</div>
<div id="main">
<div class="container">
{{ partial "content.html" . }}
</div>
</div>
{{ end }}