diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a77eca2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry +image: registry.gitlab.com/pages/hugo:latest + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +test: + script: + - hugo + except: + - master + +pages: + script: + - hugo + artifacts: + paths: + - public + only: + - master diff --git a/config.toml b/config.toml index 8be2826..747c85a 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,5 @@ -baseURL = "http://localhost:1313/" +# baseURL = "file:///home/kevin/coding/mf-site/public/" +baseURL = "https://kevin-mok.gitlab.io/my-site-hugo" languageCode = "en-us" title = "Kevin Mok" # theme = "base16" diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..cf96063 --- /dev/null +++ b/public/404.html @@ -0,0 +1,52 @@ + + +
+ + + + + + + + + +