From b2448de2763f17173dac9abc7cf45055bdda396f Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Thu, 17 Aug 2023 22:50:29 +0200 Subject: [PATCH] removed asciidoc support --- config.toml | 16 +++++++++------- flake.nix | 5 +---- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/config.toml b/config.toml index 2317d5c..c4412f5 100644 --- a/config.toml +++ b/config.toml @@ -4,8 +4,16 @@ title = "Kristian's Blog" theme = 'nostyleplease' +[params] + +[params.theme_config] +appearance = "auto" +back_home_text = "$HOME" +date_format = "2006-01-02" + [security.exec] -allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$'] +allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$'] + [markup] [markup.goldmark] @@ -31,9 +39,3 @@ tabWidth = 4 startLevel = 2 endLevel = 3 ordered = false - -[params] -[params.theme_config] -appearance = "auto" -back_home_text = "$HOME" -date_format = "2006-01-02" diff --git a/flake.nix b/flake.nix index e65de71..ce33cd8 100644 --- a/flake.nix +++ b/flake.nix @@ -34,9 +34,6 @@ && (baseNameOf path == "themes" || baseNameOf path == "public"))) ./.; - # To add asciidoc support - nativeBuildInputs = [pkgs.asciidoctor]; - # Link theme to themes folder and build buildPhase = '' mkdir -p themes @@ -50,7 +47,7 @@ }; devShells.default = pkgs.mkShellNoCC { - packages = with pkgs; [hugo asciidoctor]; + packages = with pkgs; [hugo]; # Link theme to themes folder shellHook = '' mkdir -p themes