added asciidoc support
This commit is contained in:
parent
a432bbfcf4
commit
7aec8a83e7
@ -1,9 +1,12 @@
|
||||
baseURL = 'https://krezzlu.gitlab.io/blog'
|
||||
baseURL = 'https://blog.krsnik.at'
|
||||
languageCode = 'en-us'
|
||||
title = "Kristian's Blog"
|
||||
|
||||
theme = 'nostyleplease'
|
||||
|
||||
[security.exec]
|
||||
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$']
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.parser]
|
||||
|
@ -34,6 +34,9 @@
|
||||
&& (baseNameOf path == "themes" || baseNameOf path == "public")))
|
||||
./.;
|
||||
|
||||
# To add asciidoc support
|
||||
nativeBuildInputs = [pkgs.asciidoctor];
|
||||
|
||||
# Link theme to themes folder and build
|
||||
buildPhase = ''
|
||||
mkdir -p themes
|
||||
@ -47,7 +50,7 @@
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShellNoCC {
|
||||
packages = with pkgs; [hugo];
|
||||
packages = with pkgs; [hugo asciidoctor];
|
||||
# Link theme to themes folder
|
||||
shellHook = ''
|
||||
mkdir -p themes
|
||||
|
Loading…
Reference in New Issue
Block a user