Cleanup config
This commit is contained in:
parent
b854dcccc5
commit
2d4d8592ac
2 changed files with 4 additions and 29 deletions
17
config.yaml
17
config.yaml
|
@ -2,29 +2,14 @@ baseurl: "https://nolog.cz/"
|
|||
title: "NoLog.cz"
|
||||
language: "cz-cs"
|
||||
|
||||
|
||||
|
||||
params:
|
||||
contact: "nolog-it@riseup.net"
|
||||
copyright: "— No logs, no masters! —"
|
||||
description: "NoLog.cz" # Set site description, used in meta tags and JSON-LD
|
||||
favicon: "favicon.ico" # Relative path to favicon in json feed, no leading slash.
|
||||
jquery: false
|
||||
feedlinks: false # Show feed links in the footer.
|
||||
footer: " "
|
||||
# icon: "images/logo.png" # Relative path to icon in json feed and JSON-LD, no leading slash.
|
||||
# image: "images/logo.png" # Relative path to site image in JSON-LD, no leading slash.
|
||||
# apple-touch-icon: "images/logo.png"
|
||||
mainSections: # The sections you want to have listed on the front page.
|
||||
- "" # Default to the section with most content if not set.
|
||||
mobileMenu: true # Turn on a mobile menu on small screens.
|
||||
poweredby: false # Show powered by hugo in footer
|
||||
# searchLimit: 20 # Max number of search hits, default 20.
|
||||
sidebar: false # Show a sidebar to the right
|
||||
plausibleSiteID: "nolog.cz" # Plausible site id/domain.
|
||||
plausibleTrackerURL: "https://plausible.nolog.cz/js/plausible.js" # Plausible url, schemaless and no slash on end. Optional, defaults to "plausible.io/…"
|
||||
|
||||
DefaultContentLanguage: cs
|
||||
defaultContentLanguage: cs
|
||||
|
||||
languages:
|
||||
cs:
|
||||
|
|
|
@ -38,21 +38,11 @@
|
|||
|
||||
{{ block "main" . }}{{ end }}
|
||||
|
||||
<footer class="pt-6 text-gray-900/50 dark:text-gray-50/50 mt-auto">
|
||||
<footer class="pt-6 mt-auto">
|
||||
<div class="container mx-auto px-6 py-6">
|
||||
{{ if $.Param "feedlinks" }}
|
||||
{{ partial "feedlinks.html" . }}
|
||||
{{ end -}}
|
||||
<p>
|
||||
{{ with $.Param "copyright" }}
|
||||
{{ . | markdownify }}
|
||||
{{ else }}
|
||||
<span>© {{ site.Title }}</span>
|
||||
{{ end }}
|
||||
<p class="text-gray-900/50 dark:text-gray-50/50">
|
||||
— No logs, no masters! —
|
||||
</p>
|
||||
{{ with $.Param "footer" }}
|
||||
<p>{{ . | markdownify }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue