diff --git a/.drone.yml b/.drone.yml index 247746d..31cfb0c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,7 +29,7 @@ steps: image: thegeeklab/hugo:0.97.3 commands: - mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekblog - - hugo --panicOnWarning -s exampleSite/ -b http://localhost/ + - hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ - name: html-validation image: thegeeklab/vnu @@ -39,7 +39,7 @@ steps: - name: link-validation image: thegeeklab/link-validator commands: - - link-validator -ro + - link-validator --nice --external --skip-file .linkcheckignore environment: LINK_VALIDATOR_BASE_DIR: exampleSite/public @@ -285,6 +285,6 @@ depends_on: --- kind: signature -hmac: ce5c4b48ef6ba2d81c094a1db7da5361a6e11859abac77c751a87cd588563dfa +hmac: 3e780b3be08ae7123cf388b2f513f528966b7774a32d1e8ed7d70831efc709fe ... diff --git a/.linkcheckignore b/.linkcheckignore new file mode 100644 index 0000000..bc7e6b1 --- /dev/null +++ b/.linkcheckignore @@ -0,0 +1,2 @@ +.*/fonts/KaTeX_.*.ttf +https://github.com/thegeeklab/hugo-geekdoc/edit/main/.* diff --git a/exampleSite/content/posts/usage/getting-started.md b/exampleSite/content/posts/usage/getting-started.md index 6853445..a43aac3 100644 --- a/exampleSite/content/posts/usage/getting-started.md +++ b/exampleSite/content/posts/usage/getting-started.md @@ -66,7 +66,7 @@ To prepare your new site environment just a few steps are required: 3. Install the Geekblog theme from a [release bundle](#option-1-download-pre-build-release-bundle) (recommended) or form [Git branch](#option-2-clone-the-github-repository). -4. Create the minimal required Hugo configuration `config.toml`. For all configuration options see [here](#configuration). +4. Create the minimal required Hugo configuration `config.toml`. For all configuration options see [here](/posts/usage/configuration/#site-configuration). ```Toml baseURL = "http://localhost" @@ -190,7 +190,7 @@ clean: rm -rf $(BASEDIR)/public ``` -This Makefile can be used in your `netlify.toml`, take a look at the Netlify [example](https://docs.netlify.com/configure-builds/file-based-configuration/#sample-file) for more information: +This Makefile can be used in your `netlify.toml`, take a look at the Netlify [example](https://docs.netlify.com/configure-builds/file-based-configuration/#sample-netlify-toml-file) for more information: ```toml [build] diff --git a/layouts/partials/head/favicons.html b/layouts/partials/head/favicons.html index 41bac47..40a8c91 100644 --- a/layouts/partials/head/favicons.html +++ b/layouts/partials/head/favicons.html @@ -1,10 +1,4 @@ -