Remove copyright note and flags, fix bug with paths

This commit is contained in:
Jordi Bares 2019-04-04 22:36:51 +01:00 committed by Alex Shpak
parent 3742e6f0f4
commit aa07b876fe
12 changed files with 2 additions and 24 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -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/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-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/menu-after.html` | At the end of `<nav>` menu block |
| `layouts/partials/docs/inject/footer.html` | Before closing `<head>` tag |
## Contributing ## Contributing

BIN
exampleSite/.DS_Store vendored

Binary file not shown.

View File

@ -47,9 +47,3 @@ params:
# - In git information # - In git information
# - In blog posts # - In blog posts
BookDateFormat: "Jan 2, 2006" BookDateFormat: "Jan 2, 2006"
# (Optional, default false) Show or hide site footer
BookShowFooter: false
# Copyright notice for footer
Copyright: ["&copy; 2019 Alex Shpak"]

Binary file not shown.

BIN
layouts/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -11,12 +11,12 @@
<link rel="stylesheet" href="{{ $styles.RelPermalink }}"> <link rel="stylesheet" href="{{ $styles.RelPermalink }}">
<!-- Custom stylesheet - for your changes --> <!-- 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'> <link rel="stylesheet" href="{{ "styles.css" | relURL }}?v={{ now.Unix }}" type='text/css' media='all'>
{{- end }} {{- end }}
<!-- Favicon --> <!-- 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 --> <!-- RSS -->
{{ if .RSSLink }} {{ if .RSSLink }}

View File

@ -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 }}

View File

@ -20,7 +20,6 @@
</div> </div>
</main> </main>
{{ partial "docs/inject/body" . }} {{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}
</body> </body>

BIN
static/.DS_Store vendored

Binary file not shown.