aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2018-02-07 14:43:36 +0100
committerFélix Sipma <felix.sipma@no-log.org>2018-02-07 14:43:36 +0100
commit2c8264aee01b0be2342a2e9f7226e2904808e87d (patch)
treed7f993115ef3b61e1713d53a214acaf62355393b
parent85ca3d263cae412d792dfe48fb0de2bc7652000e (diff)
put content in container-fluid
-rw-r--r--layouts/_default/baseof.html34
-rw-r--r--layouts/index.html14
2 files changed, 24 insertions, 24 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 15e3b00..5665929 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -10,25 +10,27 @@
</head>
<body>
{{ block "header" . }}
-<div class="header">
- <div class="logo">
- <img class="logo-img" src="{{ .Site.BaseURL }}img/logo_pain_transparent.png" alt="logo">
- <address>
- <span class="title">{{ .Site.Title }}</span>
- {{ range $address := .Site.Params.Address }}
- <span class="address">{{ $address }}</span>
- {{ end }}
- <span class="phone">{{ .Site.Params.Phone }}</span>
- <span class="email">
- <a href="mailto:{{ .Site.Params.Email }}">{{ .Site.Params.Email }}</a>
- </span>
- </address>
- </div>
-</div>
-{{ partial "menu.html" . }}
+ <div class="header">
+ <div class="logo">
+ <img class="logo-img" src="{{ .Site.BaseURL }}img/logo_pain_transparent.png" alt="logo">
+ <address>
+ <span class="title">{{ .Site.Title }}</span>
+ {{ range $address := .Site.Params.Address }}
+ <span class="address">{{ $address }}</span>
+ {{ end }}
+ <span class="phone">{{ .Site.Params.Phone }}</span>
+ <span class="email">
+ <a href="mailto:{{ .Site.Params.Email }}">{{ .Site.Params.Email }}</a>
+ </span>
+ </address>
+ </div>
+ </div>
+ {{ partial "menu.html" . }}
{{ end }}
+ <div class="container-fluid">
{{ block "main" . }}
{{ end }}
+ </div>
{{ block "footer" . }}
{{ end }}
</body>
diff --git a/layouts/index.html b/layouts/index.html
index fc58653..cdf45e0 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -27,12 +27,10 @@
{{ end}}
{{ define "main" }}
- <div class="container-fluid">
- <div class="vertical-align">
- <div class="banner">
- <div id="fournilmap"></div>
- {{ .Content }}
- </div>
- </div>
- </div>
+<div class="vertical-align">
+ <div class="banner">
+ <div id="fournilmap"></div>
+ {{ .Content }}
+ </div>
+</div>
{{ end }}