diff --git a/config.toml b/config.toml index 72bf931..1bf408d 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ # The base URL of the site; the only required configuration variable. -base_url = "https://st1020.github.io/kita/" +base_url = "https://st1020.github.io/kita" # The site title and description; used in feeds by default. title = "Kita" @@ -74,23 +74,23 @@ url = "https://github.com/st1020/kita" [[extra.profile.social]] name = "rss" -url = "/atom.xml" +url = "$BASE_URL/atom.xml" [[extra.menu]] name = "Projects" -url = "/projects" +url = "$BASE_URL/projects" [[extra.menu]] name = "Archive" -url = "/archive" +url = "$BASE_URL/archive" [[extra.menu]] name = "Tags" -url = "/tags" +url = "$BASE_URL/tags" [[extra.menu]] name = "About" -url = "/about" +url = "$BASE_URL/about" [extra.footer] since = 2020 diff --git a/templates/index.html b/templates/index.html index c3acd8e..4157322 100644 --- a/templates/index.html +++ b/templates/index.html @@ -38,7 +38,7 @@ diff --git a/templates/partials/header.html b/templates/partials/header.html index 1bac060..2cdc40e 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -67,7 +67,7 @@
  • {{ menu.name }}
  • diff --git a/templates/projects.html b/templates/projects.html index 064cb47..00202cf 100644 --- a/templates/projects.html +++ b/templates/projects.html @@ -18,7 +18,12 @@
    {% for link in project.links %} - {{ link.name }} + {{ link.name }} {% endfor %}