From c84b20b4de466c13f1ad7b52a1593464b381061d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Thu, 17 Aug 2023 17:38:12 +0100 Subject: [PATCH] add html test --- .gitea/workflows/build.yaml | 3 +++ .htmltest.yml | 2 ++ config.toml | 5 ----- flake.nix | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .htmltest.yml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index aca24fb..e39d8df 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,6 +12,9 @@ jobs: - name: Build run: | nix develop -c hugo --gc --minify + - name: Check html + run: | + nix develop -c htmltest - name: Publish run: | mkdir -p ~/.ssh/ diff --git a/.htmltest.yml b/.htmltest.yml new file mode 100644 index 0000000..ddb5b5c --- /dev/null +++ b/.htmltest.yml @@ -0,0 +1,2 @@ +DirectoryPath: public/ +IgnoreDirectoryMissingTrailingSlash: true \ No newline at end of file diff --git a/config.toml b/config.toml index 7801963..d9c5732 100644 --- a/config.toml +++ b/config.toml @@ -21,7 +21,6 @@ position = "center top" [params] homeTitle = "Adventurous Computing by Cyryl PÅ‚otnicki" keywords = "programming, testing, tdd, rust, golang" -logo = "images/avatar.jpg" showRelatedPosts = true rss = true selfHosted = true @@ -66,8 +65,4 @@ weight = 6 name = "Cyryl PÅ‚otnicki" website = "https://blog.cyplo.dev/" email = "blog@cyplo.dev" -github = "cyplo" -gitlab = "cyplo" -twitter = "cyplo" -linkedin = "cyplo" mastodon = "peninsula.industries/@cyplo" diff --git a/flake.nix b/flake.nix index fdd0fd8..2cc2bc9 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,7 @@ git go hugo + htmltest hut nodejs ruby