From bf79b6a92028a9d57a29a911ede7a62de2471053 Mon Sep 17 00:00:00 2001 From: Stephan Hadan Date: Mon, 2 Dec 2024 17:52:34 +0100 Subject: [PATCH] Added git-plugin --- mkdocs.yml | 10 +++++++++- requirements.txt | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 1c409ef..3edab58 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,8 @@ site_name: Stephan Hadan site_url: https://stephan.hadan.de/ +repo_url: https://github.com/stiebke/stiebke.github.io +repo_name: stiebke/stiebke.github.io + theme: name: material palette: @@ -7,6 +10,8 @@ theme: accent: indigo logo: assets/logo.png favicon: images/favicon.png + icon: + repo: fontawesome/brands/git-alt language: de features: - navigation.instant @@ -29,6 +34,8 @@ plugins: - blog: archive: false # - social + - git-revision-date-localized: + enable_creation_date: true - exporter: formats: pdf: @@ -54,7 +61,8 @@ extra: social: - icon: fontawesome/brands/github link: https://github.com/stiebke - - icon: fontawesome/brands/bluesky + - icon: fontawesome/brands/linkedin + link: https://de.linkedin.com/in/stiebke link: https://bsky.app/profile/stiebke.bsky.social - icon: fontawesome/brands/mastodon link: https://freiburg.social/@stiebke diff --git a/requirements.txt b/requirements.txt index aa395cd..ba55ccc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,7 @@ mkdocs-material-extensions~=1.3 pygments~=2.16 pymdown-extensions~=10.2 mkdocs-exporter~=6.2.0 +mkdocs-git-revision-date-localized-plugin~=1.3.0 # Requirements for plugins babel~=2.10