aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs
diff options
context:
space:
mode:
authorJordi Bares <jordibares@hotmail.com>2019-04-04 22:36:51 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-09 22:31:24 +0200
commitaa07b876fed0ebcbb15a988fb3768e4f7158f8c8 (patch)
tree3a1e6ac27d5c1a1e55f4c18ee3813c1d295ccd3f /layouts/partials/docs
parent3742e6f0f48a66a64ada190d3aa98a6fc211ee24 (diff)
Remove copyright note and flags, fix bug with paths
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r--layouts/partials/docs/.DS_Storebin6148 -> 0 bytes
-rw-r--r--layouts/partials/docs/html-head.html4
-rw-r--r--layouts/partials/docs/inject/footer.html14
3 files changed, 2 insertions, 16 deletions
diff --git a/layouts/partials/docs/.DS_Store b/layouts/partials/docs/.DS_Store
deleted file mode 100644
index 5008ddf..0000000
--- a/layouts/partials/docs/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index 40fbfe0..24f675a 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -11,12 +11,12 @@
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
<!-- Custom stylesheet - for your changes -->
-{{ if (fileExists "static/img/banner.jpg") -}}
+{{ if (fileExists "styles.css" | relURL) -}}
<link rel="stylesheet" href="{{ "styles.css" | relURL }}?v={{ now.Unix }}" type='text/css' media='all'>
{{- end }}
<!-- Favicon -->
-<link rel="icon" href="{{ "img/favicon.ico" | absURL }}" type="image/x-icon">
+<link rel="icon" href="{{ "img/favicon.ico" | relURL }}" type="image/x-icon">
<!-- RSS -->
{{ if .RSSLink }}
diff --git a/layouts/partials/docs/inject/footer.html b/layouts/partials/docs/inject/footer.html
index 3bdbc9d..e69de29 100644
--- a/layouts/partials/docs/inject/footer.html
+++ b/layouts/partials/docs/inject/footer.html
@@ -1,14 +0,0 @@
-<!-- Copyright notice -->
-{{ if .Site.Params.BookShowFooter }}
-<div class="align-center book-git-footer justify-center">
- {{ range .Site.Params.Copyright }}
- <p>
- {{ . | markdownify }}
- </p>
- {{ else }}
- <p>
- Made with Book Theme by <a target="_blank" href="https://github.com/alex-shpak/hugo-book">Alex Shpak</a>.
- </p>
- {{ end }}
-</div>
-{{ end }} \ No newline at end of file