From 339f818cfb941e003a5445975e281c39c04addca Mon Sep 17 00:00:00 2001 From: welpo Date: Sat, 4 Feb 2023 12:56:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20remove=20duplicate=20soci?= =?UTF-8?q?al=20images;=20allow=20relative=20paths=20in=20socials=20-=20Re?= =?UTF-8?q?move=20duplicate=20files=20in=20social=5Ficons=20folder=20-=20A?= =?UTF-8?q?llow=20relative=20paths=20in=20socials=20section=20(footer)=20-?= =?UTF-8?q?=20Add=20more=20socials=20in=20default=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 15 ++++++++++----- static/social_icons/spotify 2.svg | 1 - static/social_icons/stack-overflow 2.svg | 1 - static/social_icons/steam 2.svg | 1 - static/social_icons/telegram 2.svg | 1 - static/social_icons/twitter 2.svg | 1 - static/social_icons/vimeo 2.svg | 1 - static/social_icons/whatsapp 2.svg | 1 - templates/partials/footer.html | 2 +- 9 files changed, 11 insertions(+), 13 deletions(-) delete mode 100644 static/social_icons/spotify 2.svg delete mode 100644 static/social_icons/stack-overflow 2.svg delete mode 100644 static/social_icons/steam 2.svg delete mode 100644 static/social_icons/telegram 2.svg delete mode 100644 static/social_icons/twitter 2.svg delete mode 100644 static/social_icons/vimeo 2.svg delete mode 100644 static/social_icons/whatsapp 2.svg diff --git a/config.toml b/config.toml index 4275b5d..071f5ec 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ # Necessary stuff. -base_url = "/" +base_url = "http://127.0.0.1:1111" title = "~/tabi" description = "tabi is a simple personal site and blogging theme for Zola." generate_feed = true @@ -26,11 +26,16 @@ headerImage = "" # The icon is display besides the menu text but is not necessary. It needs to be placed under "menu_icon" in the static "folder" menu = [ - { name = "home", url = "$BASE_URL/", weight = 1}, - { name = "tags", url = "$BASE_URL/tags", weight = 1 }, - { name = "projects", url = "$BASE_URL/projects", weight = 1 }, + { name = "home", url = "$BASE_URL/" }, + { name = "tags", url = "$BASE_URL/tags" }, + { name = "projects", url = "$BASE_URL/projects" }, ] #The icons available can be found in "social_icons" in the "static" folder socials = [ + { name = "github", url = "$BASE_URL/atom.xml", icon = "rss" }, { name = "github", url = "https://github.com/welpo/", icon = "github" }, -] + { name = "soundcloud", url = "https://soundcloud.com/oskerwyld", icon = "soundcloud" }, + { name = "instagram", url = "https://instagram.com/oskerwyld", icon = "instagram" }, + { name = "youtube", url = "https://youtube.com/@oskerwyld", icon = "youtube" }, + { name = "spotify", url = "https://open.spotify.com/artist/5Hv2bYBhMp1lUHFri06xkE", icon = "spotify" }, +] \ No newline at end of file diff --git a/static/social_icons/spotify 2.svg b/static/social_icons/spotify 2.svg deleted file mode 100644 index 1d393ba..0000000 --- a/static/social_icons/spotify 2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/social_icons/stack-overflow 2.svg b/static/social_icons/stack-overflow 2.svg deleted file mode 100644 index 2ca50c7..0000000 --- a/static/social_icons/stack-overflow 2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/social_icons/steam 2.svg b/static/social_icons/steam 2.svg deleted file mode 100644 index b61f374..0000000 --- a/static/social_icons/steam 2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/social_icons/telegram 2.svg b/static/social_icons/telegram 2.svg deleted file mode 100644 index 02f48c0..0000000 --- a/static/social_icons/telegram 2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/social_icons/twitter 2.svg b/static/social_icons/twitter 2.svg deleted file mode 100644 index 0778f72..0000000 --- a/static/social_icons/twitter 2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/social_icons/vimeo 2.svg b/static/social_icons/vimeo 2.svg deleted file mode 100644 index d98368e..0000000 --- a/static/social_icons/vimeo 2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/social_icons/whatsapp 2.svg b/static/social_icons/whatsapp 2.svg deleted file mode 100644 index d259142..0000000 --- a/static/social_icons/whatsapp 2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/footer.html b/templates/partials/footer.html index 597f9b5..2e6c99b 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -3,7 +3,7 @@