diff options
author | vvveiii <cntrump@gmail.com> | 2020-04-29 10:32:45 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2020-04-29 10:32:45 +0300 |
commit | 0603224a46b266079eb00efca72d5db546b561df (patch) | |
tree | 1d224467f7d643251992ccce7d9b15c88b62a6e5 /layouts | |
parent | c45cb4525ad78edf802413df2dfb23daf335e348 (diff) |
Update layout
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 12 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 |
3 files changed, 7 insertions, 9 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 62bdd98..ec6c20b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,13 +3,11 @@ {{- partial "head.html" . -}} <body> - <div class="base-body"> - {{- partial "header.html" . -}} - <div id="content"> - {{- block "main" . -}}{{- end -}} - </div> - {{- partial "footer.html" . -}} - </div> + {{- partial "header.html" . -}} + <section id="content"> + {{- block "main" . -}}{{- end -}} + </section> + {{- partial "footer.html" . -}} </body> </html>
\ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f348ab0..4fc0cf8 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,4 @@ -<section id="footer" class="footer"> +<section id="footer"> {{- $copyright := site.Copyright -}} {{- if not $copyright -}} {{- $copyright = site.Title | safeHTML -}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 57a46b6..53f3f2d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,4 @@ -<section id="header" class="site header"> +<section id="header"> <div class="header wrap"><span class="header left-side"><a class="site home" href="{{- `/` | relLangURL -}}"> {{- $logo := site.Params.logo -}} {{- if $logo -}} |