removed asciidoc support
This commit is contained in:
parent
23dd549367
commit
b2448de276
16
config.toml
16
config.toml
@ -4,8 +4,16 @@ title = "Kristian's Blog"
|
|||||||
|
|
||||||
theme = 'nostyleplease'
|
theme = 'nostyleplease'
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
[params.theme_config]
|
||||||
|
appearance = "auto"
|
||||||
|
back_home_text = "$HOME"
|
||||||
|
date_format = "2006-01-02"
|
||||||
|
|
||||||
[security.exec]
|
[security.exec]
|
||||||
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$']
|
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
|
||||||
|
|
||||||
|
|
||||||
[markup]
|
[markup]
|
||||||
[markup.goldmark]
|
[markup.goldmark]
|
||||||
@ -31,9 +39,3 @@ tabWidth = 4
|
|||||||
startLevel = 2
|
startLevel = 2
|
||||||
endLevel = 3
|
endLevel = 3
|
||||||
ordered = false
|
ordered = false
|
||||||
|
|
||||||
[params]
|
|
||||||
[params.theme_config]
|
|
||||||
appearance = "auto"
|
|
||||||
back_home_text = "$HOME"
|
|
||||||
date_format = "2006-01-02"
|
|
||||||
|
@ -34,9 +34,6 @@
|
|||||||
&& (baseNameOf path == "themes" || baseNameOf path == "public")))
|
&& (baseNameOf path == "themes" || baseNameOf path == "public")))
|
||||||
./.;
|
./.;
|
||||||
|
|
||||||
# To add asciidoc support
|
|
||||||
nativeBuildInputs = [pkgs.asciidoctor];
|
|
||||||
|
|
||||||
# Link theme to themes folder and build
|
# Link theme to themes folder and build
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir -p themes
|
mkdir -p themes
|
||||||
@ -50,7 +47,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
devShells.default = pkgs.mkShellNoCC {
|
devShells.default = pkgs.mkShellNoCC {
|
||||||
packages = with pkgs; [hugo asciidoctor];
|
packages = with pkgs; [hugo];
|
||||||
# Link theme to themes folder
|
# Link theme to themes folder
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
mkdir -p themes
|
mkdir -p themes
|
||||||
|
Loading…
Reference in New Issue
Block a user