Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/the2ne/hugo-frais.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fredon <the2ne@gmail.com>2016-10-08 20:11:34 +0300
committerOlivier Fredon <the2ne@gmail.com>2016-10-08 20:11:34 +0300
commit5f5971a0f9565b0eaea2c68083e8be3747c34a0d (patch)
treeb6a0567443e8151c116fee8756c9d29131a6f9ac
parentcba64de0cb2f7aea632aa8268f16272900b6fe4a (diff)
fix bug with wrapper
-rw-r--r--layouts/_default/list.html13
-rw-r--r--layouts/_default/single.html13
-rw-r--r--layouts/index.html11
3 files changed, 11 insertions, 26 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 8d13752..04c5ab0 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -3,21 +3,16 @@
<body class="list-template">
<div class="page">
- <div class"wrapper">
- {{ partial "header" . }}
- </div>
-
+ {{ partial "header" . }}
{{ partial "navigation" . }}
- <main class="content wrapper" role="main" id="contenu-principal">
+ <main class="content" role="main" id="contenu-principal">
{{ partial "post-list" . }}
{{ partial "pagination" . }}
</main>
- <div class"wrapper">
- {{ partial "social" . }}
- {{ partial "footer" . }}
- </div>
+ {{ partial "social" . }}
+ {{ partial "footer" . }}
</div>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 3e43079..8d8acac 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -3,13 +3,10 @@
<body class="post-template">
<div class="page">
- <div class"wrapper">
- {{ partial "header" . }}
- </div>
-
+ {{ partial "header" . }}
{{ partial "navigation" . }}
- <main class="content wrapper" role="main" id="contenu-principal" itemscope itemtype="http://schema.org/Article">
+ <main class="content" role="main" id="contenu-principal" itemscope itemtype="http://schema.org/Article">
<article class="post">
<header>
<h1 class="post-title" itemprop="name" role="heading" arial-level="1">{{ .Title }}</h1>
@@ -22,10 +19,8 @@
</article>
</main>
- <div class"wrapper">
- {{ partial "social" . }}
- {{ partial "footer" . }}
- </div>
+ {{ partial "social" . }}
+ {{ partial "footer" . }}
</div>
diff --git a/layouts/index.html b/layouts/index.html
index c99d9e0..26ba025 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,10 +3,7 @@
<body class="home-template">
<div class="page">
- <div class"wrapper">
- {{ partial "header" . }}
- </div>
-
+ {{ partial "header" . }}
{{ partial "navigation" . }}
<main class="content" role="main" id="contenu-principal">
@@ -14,10 +11,8 @@
{{ partial "pagination" . }}
</main>
- <div class"wrapper">
- {{ partial "social" . }}
- {{ partial "footer" . }}
- </div>
+ {{ partial "social" . }}
+ {{ partial "footer" . }}
</div>