diff options
author | Justin Humm <justin.humm@posteo.de> | 2020-08-22 22:45:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 22:45:43 +0200 |
commit | 6a7b11055c6ceb2b224cd99a33fcd93b4ed66749 (patch) | |
tree | b3d6bda87f972260ef949e4f15bc947ac9a7ff14 /nixos | |
parent | 05a4dc3ce99b46e9a8bf72aebdc19e94d8f38b46 (diff) | |
parent | d6f6424ac8c29fb840f0fc52bcc5623e4419dff3 (diff) | |
download | nixpkgs-6a7b11055c6ceb2b224cd99a33fcd93b4ed66749.tar nixpkgs-6a7b11055c6ceb2b224cd99a33fcd93b4ed66749.tar.gz nixpkgs-6a7b11055c6ceb2b224cd99a33fcd93b4ed66749.tar.bz2 nixpkgs-6a7b11055c6ceb2b224cd99a33fcd93b4ed66749.tar.lz nixpkgs-6a7b11055c6ceb2b224cd99a33fcd93b4ed66749.tar.xz nixpkgs-6a7b11055c6ceb2b224cd99a33fcd93b4ed66749.tar.zst nixpkgs-6a7b11055c6ceb2b224cd99a33fcd93b4ed66749.zip |
Merge pull request #93532 from erictapen/gollum-h1-title
nixos/gollum: introduce --h1-title option
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/gollum.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/gollum.nix b/nixos/modules/services/misc/gollum.nix index 8842e1e4d90..0c9c7548305 100644 --- a/nixos/modules/services/misc/gollum.nix +++ b/nixos/modules/services/misc/gollum.nix @@ -50,6 +50,12 @@ in description = "Parse and interpret emoji tags"; }; + h1-title = mkOption { + type = types.bool; + default = false; + description = "Use the first h1 as page title"; + }; + branch = mkOption { type = types.str; default = "master"; @@ -102,6 +108,7 @@ in --ref ${cfg.branch} \ ${optionalString cfg.mathjax "--mathjax"} \ ${optionalString cfg.emoji "--emoji"} \ + ${optionalString cfg.h1-title "--h1-title"} \ ${optionalString (cfg.allowUploads != null) "--allow-uploads ${cfg.allowUploads}"} \ ${cfg.stateDir} ''; |