diff --git a/config.toml b/config.toml index e49f21a..4275b5d 100644 --- a/config.toml +++ b/config.toml @@ -26,11 +26,11 @@ 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 = "/", weight = 1}, - { name = "tags", url = "/tags", weight = 1 }, - { name = "projects", url = "/projects", weight = 1 }, + { name = "home", url = "$BASE_URL/", weight = 1}, + { name = "tags", url = "$BASE_URL/tags", weight = 1 }, + { name = "projects", url = "$BASE_URL/projects", weight = 1 }, ] #The icons available can be found in "social_icons" in the "static" folder socials = [ { name = "github", url = "https://github.com/welpo/", icon = "github" }, -] \ No newline at end of file +] diff --git a/sass/main.scss b/sass/main.scss index 9f18e53..296d405 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -1,6 +1,6 @@ @font-face { font-family: 'Inter'; - src: url('/fonts/Inter.ttf'); + src: url('fonts/Inter.ttf'); } @import 'parts/_cards.scss'; @import 'parts/_code.scss'; diff --git a/templates/partials/footer.html b/templates/partials/footer.html index d64769a..597f9b5 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -4,7 +4,7 @@ {%- if config.extra.socials %} {% for social in config.extra.socials %} - {{ + {{ {% endfor %} {% endif %} diff --git a/templates/partials/nav.html b/templates/partials/nav.html index ee0aeec..8b5cf7a 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -8,14 +8,14 @@