fix the baseURL

This commit is contained in:
Junyi Hou 2024-04-09 19:25:48 +08:00
parent d979f023f4
commit f774d2689d
4 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,3 @@
.hugo_build.lock
public/
resources/
resources/

View File

@ -0,0 +1,11 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
# - id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: check-added-large-files

View File

@ -1,4 +1,4 @@
baseURL = "https://hugo-theme-anubis2.netlify.app/"
baseURL = "/"
languageCode = "en-us"
defaultContentLanguage = "en"
title = "Anubis2"

View File

@ -5,4 +5,4 @@ command = "hugo --gc --minify"
[context.production.environment]
HUGO_VERSION = "0.115.4"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
HUGO_ENABLEGITINFO = "true"