From 3dd3a3548b64b3f2f3a06407403f7e589dfce283 Mon Sep 17 00:00:00 2001 From: Kalle <15094562+ThatKalle@users.noreply.github.com> Date: Fri, 7 Mar 2025 12:07:36 +0000 Subject: [PATCH] =?UTF-8?q?fix=20senast=20=C3=A4ndrad=20av?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/scss/_styles_project.scss | 6 ------ layouts/partials/page-meta-lastmod.html | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 layouts/partials/page-meta-lastmod.html diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 07e0079..584ef89 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -18,12 +18,6 @@ Might want to allow editing /* Change the color of the doc rightside sidebar links */ .td-sidebar-toc a { color: grey !important; } -/* -Hide links to the last change commit. -Ugly workaround that leves to colon ":" -*/ -.td-page-meta__lastmod a { display: none; } - /* Formating of inline blocks */ code { background-color: #f0f0f0; diff --git a/layouts/partials/page-meta-lastmod.html b/layouts/partials/page-meta-lastmod.html new file mode 100644 index 0000000..381c9f1 --- /dev/null +++ b/layouts/partials/page-meta-lastmod.html @@ -0,0 +1,5 @@ +{{ if and .GitInfo .Site.Params.github_repo -}} +
+ {{ T "post_last_mod" }} {{ .Lastmod.Format .Site.Params.time_format_default -}} +
+{{ end -}} \ No newline at end of file