From 3cad9e2a56bc9c93d73d9da3e45d93bc72974af8 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 18 Jan 2025 08:33:11 +0100 Subject: [PATCH] feat: Enable updated at and editing urls --- config.yaml | 28 +++++++++------------------- i18n/de.yaml | 1 + i18n/en.yaml | 1 + 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/config.yaml b/config.yaml index 25d78a4..c5845f1 100644 --- a/config.yaml +++ b/config.yaml @@ -76,28 +76,18 @@ menu: params: icon: gitea - # sidebar: - # - identifier: more - # name: Mehr - # params: - # type: separator - # weight: 2 - # - identifier: source - # name: "Source Code" - # url: "https://git.odit.services/lfk" - params: description: Dokumentation für das Lauf für Kaya! Läufersystem. - + displayUpdatedDate: true navbar: displayTitle: true displayLogo: true logo: path: logo.svg dark: logo.svg - # width: 40 - # height: 20 - # link: / + width: 40 + height: 20 + link: / width: normal page: width: normal @@ -112,16 +102,16 @@ params: search: enable: true type: flexsearch - flexsearch: - # index page by: content | summary | heading | title index: content - # full | forward | reverse | strict - # https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search tokenize: forward highlight: copy: enable: true display: hover comments: - enable: false \ No newline at end of file + enable: false + editURL: + enable: true + base: "https://git.odit.services/lfk/docs/_edit/main/content" + diff --git a/i18n/de.yaml b/i18n/de.yaml index 940d52e..83c2b13 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -1 +1,2 @@ +editThisPage: "Diese Seite bearbeiten →" copyright: 'Erstellt von ODIT.Services mit ❤️, Hugo und dem Hextra Theme
Entwickelt für den Lauf für Kaya! Spendenlauf
Impressum | Datenschutz' \ No newline at end of file diff --git a/i18n/en.yaml b/i18n/en.yaml index 9e39c9d..d2262e6 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -4,4 +4,5 @@ selfservice: Selfservice scanstation: Scaning Stations beamershow: Beamer Show search: Search +editThisPage: "Edit this page →" copyright: 'Made by ODIT.Services with ❤️, Hugo and the Hextra theme
Developed for the Lauf für Kaya! charity run
Imprint | Privacy' \ No newline at end of file