summaryrefslogtreecommitdiff
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
parent3742e6f0f48a66a64ada190d3aa98a6fc211ee24 (diff)
Remove copyright note and flags, fix bug with paths
-rw-r--r--.DS_Storebin6148 -> 0 bytes
-rw-r--r--README.md1
-rw-r--r--exampleSite/.DS_Storebin6148 -> 0 bytes
-rw-r--r--exampleSite/config.yml6
-rw-r--r--exampleSite/content/.DS_Storebin6148 -> 0 bytes
-rw-r--r--layouts/.DS_Storebin6148 -> 0 bytes
-rw-r--r--layouts/partials/.DS_Storebin6148 -> 0 bytes
-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
-rw-r--r--layouts/posts/baseof.html1
-rw-r--r--static/.DS_Storebin6148 -> 0 bytes
12 files changed, 2 insertions, 24 deletions
diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index d223a41..0000000
--- a/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/README.md b/README.md
index 34b8421..bb8ca64 100644
--- a/README.md
+++ b/README.md
@@ -171,7 +171,6 @@ There are few empty partials you can override in `layouts/partials/`
| `layouts/partials/docs/inject/footer.html` | Before closing `<body>` tag |
| `layouts/partials/docs/inject/menu-before.html` | At the beginning of `<nav>` menu block |
| `layouts/partials/docs/inject/menu-after.html` | At the end of `<nav>` menu block |
-| `layouts/partials/docs/inject/footer.html` | Before closing `<head>` tag |
## Contributing
diff --git a/exampleSite/.DS_Store b/exampleSite/.DS_Store
deleted file mode 100644
index 0c55ec1..0000000
--- a/exampleSite/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index 3e36c8c..da11e14 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -47,9 +47,3 @@ params:
# - In git information
# - In blog posts
BookDateFormat: "Jan 2, 2006"
-
- # (Optional, default false) Show or hide site footer
- BookShowFooter: false
-
- # Copyright notice for footer
- Copyright: ["&copy; 2019 Alex Shpak"]
diff --git a/exampleSite/content/.DS_Store b/exampleSite/content/.DS_Store
deleted file mode 100644
index 64d3620..0000000
--- a/exampleSite/content/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/layouts/.DS_Store b/layouts/.DS_Store
deleted file mode 100644
index d442f7f..0000000
--- a/layouts/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/layouts/partials/.DS_Store b/layouts/partials/.DS_Store
deleted file mode 100644
index b1bc858..0000000
--- a/layouts/partials/.DS_Store
+++ /dev/null
Binary files differ
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
diff --git a/layouts/posts/baseof.html b/layouts/posts/baseof.html
index 6e49ce8..47e0ed5 100644
--- a/layouts/posts/baseof.html
+++ b/layouts/posts/baseof.html
@@ -19,7 +19,6 @@
{{ template "main" . }}
</div>
</main>
-
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
diff --git a/static/.DS_Store b/static/.DS_Store
deleted file mode 100644
index 0ce3c02..0000000
--- a/static/.DS_Store
+++ /dev/null
Binary files differ