mirror of https://github.com/jpanther/congo.git
commit
3930c5bc4f
16
CHANGELOG.md
16
CHANGELOG.md
|
@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.0.4] - 2022-02-09
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated German translation ([#110](https://github.com/jpanther/congo/pull/110))
|
||||
- Upgrade to Tailwind v3.0.19
|
||||
|
||||
### Fixed
|
||||
|
||||
- Main content area not growing to fill screen vertically
|
||||
- Search results not cleared when search is dismissed ([#109](https://github.com/jpanther/congo/pull/109))
|
||||
- Emoji strings not displaying in search results
|
||||
|
||||
## [2.0.3] - 2022-02-07
|
||||
|
||||
### Changed
|
||||
|
@ -312,7 +325,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
- Advanced customisation using simple Tailwind colour definitions and styles
|
||||
- Fully documented
|
||||
|
||||
[unreleased]: https://github.com/jpanther/congo/compare/v2.0.3...HEAD
|
||||
[unreleased]: https://github.com/jpanther/congo/compare/v2.0.4...HEAD
|
||||
[2.0.4]: https://github.com/jpanther/congo/compare/v2.0.3...v2.0.4
|
||||
[2.0.3]: https://github.com/jpanther/congo/compare/v2.0.2...v2.0.3
|
||||
[2.0.2]: https://github.com/jpanther/congo/compare/v2.0.1...v2.0.2
|
||||
[2.0.1]: https://github.com/jpanther/congo/compare/v2.0.0...v2.0.1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*! Congo v2.0.3 | MIT License | https://github.com/jpanther/congo */
|
||||
/*! Congo v2.0.4 | MIT License | https://github.com/jpanther/congo */
|
||||
|
||||
/*! tailwindcss v3.0.18 | MIT License | https://tailwindcss.com */
|
||||
/*! tailwindcss v3.0.19 | MIT License | https://tailwindcss.com */
|
||||
|
||||
/*
|
||||
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*! Congo v2.0.3 | MIT License | https://github.com/jpanther/congo */
|
||||
/*! Congo v2.0.4 | MIT License | https://github.com/jpanther/congo */
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
|
|
|
@ -84,6 +84,8 @@ function hideSearch() {
|
|||
if (searchVisible) {
|
||||
document.body.style.overflow = "visible";
|
||||
wrapper.style.visibility = "hidden";
|
||||
input.value = "";
|
||||
output.innerHTML = "";
|
||||
document.activeElement.blur();
|
||||
searchVisible = false;
|
||||
}
|
||||
|
|
32
i18n/de.yaml
32
i18n/de.yaml
|
@ -1,24 +1,24 @@
|
|||
article:
|
||||
anchor_label: "Anker"
|
||||
date: "{{ .Date }}"
|
||||
# date_updated: "Updated: {{ .Date }}"
|
||||
date_updated: "Aktualisiert: {{ .Date }}"
|
||||
draft: "Entwurf"
|
||||
edit_title: "Inhalt bearbeiten"
|
||||
reading_time:
|
||||
one: "{{ .Count }} min"
|
||||
other: "{{ .Count }} min"
|
||||
reading_time_title: "Lesezeit"
|
||||
# table_of_contents: "Table of Contents"
|
||||
# word_count:
|
||||
# one: "{{ .Count }} word"
|
||||
# other: "{{ .Count }} words"
|
||||
table_of_contents: "Inhaltsverzeichnis"
|
||||
word_count:
|
||||
one: "{{ .Count }} Wort"
|
||||
other: "{{ .Count }} Wörter"
|
||||
|
||||
author:
|
||||
byline_title: "Autor"
|
||||
|
||||
# code:
|
||||
# copy: "Copy"
|
||||
# copied: "Copied"
|
||||
code:
|
||||
copy: "Kopieren"
|
||||
copied: "Kopiert"
|
||||
|
||||
error:
|
||||
404_title: "Seite nicht gefunden :confused:"
|
||||
|
@ -34,14 +34,14 @@ list:
|
|||
externalurl_title: "Link zu einer externen Seite"
|
||||
no_articles: "Es gibt hier noch keine Beiträge."
|
||||
|
||||
# nav:
|
||||
# scroll_to_top_title: "Scroll to top"
|
||||
# skip_to_main: "Skip to main content"
|
||||
nav:
|
||||
scroll_to_top_title: "Zum Anfang scrollen"
|
||||
skip_to_main: "Zum Hauptinhalt springen"
|
||||
|
||||
# search:
|
||||
# open_button_title: "Search (/)"
|
||||
# close_button_title: "Close (Esc)"
|
||||
# input_placeholder: "Search"
|
||||
search:
|
||||
open_button_title: "Suche (/)"
|
||||
close_button_title: "Schließen (Esc)"
|
||||
input_placeholder: "Suchen"
|
||||
|
||||
sharing:
|
||||
email: "Per E-Mail teilen"
|
||||
|
@ -52,4 +52,4 @@ sharing:
|
|||
twitter: "Auf Twitter teilen"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Kürzlich"
|
||||
recent_articles: "Neue Beiträge"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
>
|
||||
</div>
|
||||
{{- partial "header.html" . -}}
|
||||
<main id="main-content" class="relative">
|
||||
<main id="main-content" class="relative grow">
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
|
||||
<div
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
{{- $index := slice -}}
|
||||
{{- range .Site.RegularPages -}}
|
||||
{{ $section := .Site.GetPage "section" .Section }}
|
||||
{{- $index = $index | append (dict "date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long")) "title" .Title "section" $section.Title "summary" .Summary "content" (.Plain | safeJS) "permalink" .RelPermalink) -}}
|
||||
{{- $section := .Site.GetPage "section" .Section -}}
|
||||
{{- $index = $index | append (dict
|
||||
"date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long"))
|
||||
"title" (.Title | emojify | safeJS)
|
||||
"section" ($section.Title | emojify | safeJS)
|
||||
"summary" (.Summary | emojify | safeJS)
|
||||
"content" (.Plain | emojify | safeJS)
|
||||
"permalink" .RelPermalink
|
||||
) -}}
|
||||
{{- end -}}
|
||||
{{- $index | jsonify -}}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "hugo-congo-theme",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "hugo-congo-theme",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.3",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
@ -354,9 +354,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001305",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001305.tgz",
|
||||
"integrity": "sha512-p7d9YQMji8haf0f+5rbcv9WlQ+N5jMPfRAnUmZRlNxsNeBO3Yr7RYG6M2uTY1h9tCVdlkJg6YNNc4kiAiBLdWA==",
|
||||
"version": "1.0.30001309",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001309.tgz",
|
||||
"integrity": "sha512-Pl8vfigmBXXq+/yUz1jUwULeq9xhMJznzdc/xwl4WclDAuebcTHVefpz8lE/bMI+UN7TOkSSe7B7RnZd6+dzjA==",
|
||||
"dev": true,
|
||||
"peer": true,
|
||||
"funding": {
|
||||
|
@ -1294,9 +1294,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.4.63",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.63.tgz",
|
||||
"integrity": "sha512-e0PX/LRJPFRU4kzJKLvTobxyFdnANCvcoDCe8XcyTqP58nTWIwdsHvXLIl1RkB39X5yaosLaroMASWB0oIsgCA==",
|
||||
"version": "1.4.66",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.66.tgz",
|
||||
"integrity": "sha512-f1RXFMsvwufWLwYUxTiP7HmjprKXrqEWHiQkjAYa9DJeVIlZk5v8gBGcaV+FhtXLly6C1OTVzQY+2UQrACiLlg==",
|
||||
"dev": true,
|
||||
"peer": true
|
||||
},
|
||||
|
@ -1378,9 +1378,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/fraction.js": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.1.2.tgz",
|
||||
"integrity": "sha512-o2RiJQ6DZaR/5+Si0qJUIy637QMRudSi9kU/FFzx9EZazrIdnBgpU+3sEWCxAVhH2RtxW2Oz+T4p2o8uOPVcgA==",
|
||||
"version": "4.1.3",
|
||||
"resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.1.3.tgz",
|
||||
"integrity": "sha512-pUHWWt6vHzZZiQJcM6S/0PXfS+g6FM4BF5rj9wZyreivhQPdsh5PpE25VtSNxq80wHS5RfY51Ii+8Z0Zl/pmzg==",
|
||||
"dev": true,
|
||||
"peer": true,
|
||||
"engines": {
|
||||
|
@ -1714,9 +1714,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
||||
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
||||
"version": "3.0.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz",
|
||||
"integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
|
@ -2181,9 +2181,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/tailwindcss": {
|
||||
"version": "3.0.18",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.0.18.tgz",
|
||||
"integrity": "sha512-ihPTpEyA5ANgZbwKlgrbfnzOp9R5vDHFWmqxB1PT8NwOGCOFVVMl+Ps1cQQ369acaqqf1BEF77roCwK0lvNmTw==",
|
||||
"version": "3.0.19",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.0.19.tgz",
|
||||
"integrity": "sha512-rjsdfz/qZya5xQ0OVynEMETgWq1CacmftgMYeXXh6bRM5vxsNwRSbMJsCCIjq/w67om9VP/AFMolOwiE+5VKig==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"arg": "^5.0.1",
|
||||
|
@ -2205,7 +2205,7 @@
|
|||
"postcss-selector-parser": "^6.0.9",
|
||||
"postcss-value-parser": "^4.2.0",
|
||||
"quick-lru": "^5.1.1",
|
||||
"resolve": "^1.21.0"
|
||||
"resolve": "^1.22.0"
|
||||
},
|
||||
"bin": {
|
||||
"tailwind": "lib/cli.js",
|
||||
|
@ -2535,9 +2535,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001305",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001305.tgz",
|
||||
"integrity": "sha512-p7d9YQMji8haf0f+5rbcv9WlQ+N5jMPfRAnUmZRlNxsNeBO3Yr7RYG6M2uTY1h9tCVdlkJg6YNNc4kiAiBLdWA==",
|
||||
"version": "1.0.30001309",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001309.tgz",
|
||||
"integrity": "sha512-Pl8vfigmBXXq+/yUz1jUwULeq9xhMJznzdc/xwl4WclDAuebcTHVefpz8lE/bMI+UN7TOkSSe7B7RnZd6+dzjA==",
|
||||
"dev": true,
|
||||
"peer": true
|
||||
},
|
||||
|
@ -3312,9 +3312,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"electron-to-chromium": {
|
||||
"version": "1.4.63",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.63.tgz",
|
||||
"integrity": "sha512-e0PX/LRJPFRU4kzJKLvTobxyFdnANCvcoDCe8XcyTqP58nTWIwdsHvXLIl1RkB39X5yaosLaroMASWB0oIsgCA==",
|
||||
"version": "1.4.66",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.66.tgz",
|
||||
"integrity": "sha512-f1RXFMsvwufWLwYUxTiP7HmjprKXrqEWHiQkjAYa9DJeVIlZk5v8gBGcaV+FhtXLly6C1OTVzQY+2UQrACiLlg==",
|
||||
"dev": true,
|
||||
"peer": true
|
||||
},
|
||||
|
@ -3383,9 +3383,9 @@
|
|||
}
|
||||
},
|
||||
"fraction.js": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.1.2.tgz",
|
||||
"integrity": "sha512-o2RiJQ6DZaR/5+Si0qJUIy637QMRudSi9kU/FFzx9EZazrIdnBgpU+3sEWCxAVhH2RtxW2Oz+T4p2o8uOPVcgA==",
|
||||
"version": "4.1.3",
|
||||
"resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.1.3.tgz",
|
||||
"integrity": "sha512-pUHWWt6vHzZZiQJcM6S/0PXfS+g6FM4BF5rj9wZyreivhQPdsh5PpE25VtSNxq80wHS5RfY51Ii+8Z0Zl/pmzg==",
|
||||
"dev": true,
|
||||
"peer": true
|
||||
},
|
||||
|
@ -3644,9 +3644,9 @@
|
|||
}
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
||||
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
||||
"version": "3.0.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz",
|
||||
"integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
|
@ -3944,9 +3944,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"tailwindcss": {
|
||||
"version": "3.0.18",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.0.18.tgz",
|
||||
"integrity": "sha512-ihPTpEyA5ANgZbwKlgrbfnzOp9R5vDHFWmqxB1PT8NwOGCOFVVMl+Ps1cQQ369acaqqf1BEF77roCwK0lvNmTw==",
|
||||
"version": "3.0.19",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.0.19.tgz",
|
||||
"integrity": "sha512-rjsdfz/qZya5xQ0OVynEMETgWq1CacmftgMYeXXh6bRM5vxsNwRSbMJsCCIjq/w67om9VP/AFMolOwiE+5VKig==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"arg": "^5.0.1",
|
||||
|
@ -3968,7 +3968,7 @@
|
|||
"postcss-selector-parser": "^6.0.9",
|
||||
"postcss-value-parser": "^4.2.0",
|
||||
"quick-lru": "^5.1.1",
|
||||
"resolve": "^1.21.0"
|
||||
"resolve": "^1.22.0"
|
||||
}
|
||||
},
|
||||
"to-regex-range": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hugo-congo-theme",
|
||||
"version": "2.0.3",
|
||||
"version": "2.0.4",
|
||||
"description": "Congo theme for Hugo",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue