From 629c4bb1d4857086db8a9b39baead24c2af809a9 Mon Sep 17 00:00:00 2001 From: Jordi Bares Date: Tue, 2 Apr 2019 22:22:10 +0100 Subject: Various fixes responding to Alex notes --- layouts/.DS_Store | Bin 6148 -> 6148 bytes layouts/docs/baseof.html | 2 +- layouts/partials/docs/.DS_Store | Bin 0 -> 6148 bytes layouts/partials/docs/footer.html | 15 --------------- layouts/partials/docs/html-head.html | 8 +++----- layouts/partials/docs/inject/footer.html | 14 ++++++++++++++ 6 files changed, 18 insertions(+), 21 deletions(-) create mode 100644 layouts/partials/docs/.DS_Store delete mode 100644 layouts/partials/docs/footer.html create mode 100644 layouts/partials/docs/inject/footer.html (limited to 'layouts') diff --git a/layouts/.DS_Store b/layouts/.DS_Store index c1f243e..d442f7f 100644 Binary files a/layouts/.DS_Store and b/layouts/.DS_Store differ diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 57c4bec..aaf5f57 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -19,7 +19,7 @@ {{ partial "docs/mobile-header" . }} {{ template "main" . }} {{ partial "docs/git-footer" . }} - {{ partial "docs/footer" . }} + {{ partial "docs/inject/footer" . }} {{ template "toc" . }} diff --git a/layouts/partials/docs/.DS_Store b/layouts/partials/docs/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/layouts/partials/docs/.DS_Store differ diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html deleted file mode 100644 index bc4a406..0000000 --- a/layouts/partials/docs/footer.html +++ /dev/null @@ -1,15 +0,0 @@ - -{{ if .Site.Params.BookShowFooter }} - -{{ end }} \ No newline at end of file diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 7b412f7..40fbfe0 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -2,9 +2,6 @@ {{- template "title" . }} | {{ .Site.Title -}} - - - @@ -14,10 +11,11 @@ - +{{ if (fileExists "static/img/banner.jpg") -}} + +{{- end }} - diff --git a/layouts/partials/docs/inject/footer.html b/layouts/partials/docs/inject/footer.html new file mode 100644 index 0000000..3bdbc9d --- /dev/null +++ b/layouts/partials/docs/inject/footer.html @@ -0,0 +1,14 @@ + +{{ if .Site.Params.BookShowFooter }} + +{{ end }} \ No newline at end of file -- cgit v1.2.3