From f7731a908354eba59cb69e30f78f08551722181d Mon Sep 17 00:00:00 2001 From: st1020 Date: Mon, 4 Dec 2023 19:33:35 +0800 Subject: [PATCH] fix: avatar_url use get_url --- config.toml | 2 +- templates/index.html | 2 +- templates/partials/head.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index 1bf408d..16783dd 100644 --- a/config.toml +++ b/config.toml @@ -61,7 +61,7 @@ highlight_theme = "base16-ocean-dark" [extra.profile] name = "Kita - Zola Theme" bio = "Kita is a clean, elegant and simple blog theme for Zola." -avatar_url = "./icons/github.svg" +avatar_url = "icons/github.svg" avatar_invert = true [[extra.profile.social]] diff --git a/templates/index.html b/templates/index.html index 4157322..92f2432 100644 --- a/templates/index.html +++ b/templates/index.html @@ -19,7 +19,7 @@ > {{ config.extra.profile.name | default(value=config.title) }} diff --git a/templates/partials/head.html b/templates/partials/head.html index 322e3a9..ac3606b 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -34,7 +34,7 @@ {% if section.path is defined and section.path == "/" %} {% if config.extra.profile.avatar_url %} - + {% endif %}