From 35f6431c0c1b191e7b4fab4a3fe838253669e3cf Mon Sep 17 00:00:00 2001 From: "Long T. Kira" <84077194+kirazero17@users.noreply.github.com> Date: Thu, 22 Aug 2024 01:01:51 +0700 Subject: [PATCH] change layout --- config.toml | 14 +++++++++++++- .../layouts/partials/headtop.html | 18 ++++++++++-------- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index b8564c3..c8d1e56 100644 --- a/config.toml +++ b/config.toml @@ -28,6 +28,12 @@ identifier = "Back En" url = "/" weight = 20 +[[Languages.en.menu.shortcuts]] +name = " See the site's source" +identifier = "GH En" +url = "https://github.com/LongKira-Obsidian24" +weight = 21 + [Languages.vi] title = "Obsidian 24" weight = 2 @@ -35,9 +41,15 @@ languageName = "Tiếng Việt" [[Languages.vi.menu.shortcuts]] name = "Trang chủ Blog" +identifier = "GH Vi" +url = "https://github.com/LongKira-Obsidian24" +weight = 20 + +[[Languages.vi.menu.shortcuts]] +name = " Xem mã nguồn website này" identifier = "Back Vi" url = "/vi" -weight = 20 +weight = 21 [markup.goldmark.renderer] unsafe = true diff --git a/themes/hugo-theme-learn/layouts/partials/headtop.html b/themes/hugo-theme-learn/layouts/partials/headtop.html index c34901c..3cb6f83 100644 --- a/themes/hugo-theme-learn/layouts/partials/headtop.html +++ b/themes/hugo-theme-learn/layouts/partials/headtop.html @@ -5,9 +5,9 @@
-
- */}} + {{/*
- - Tile - +
+
*/}} + +