diff options
author | Justin Humm <justin.humm@posteo.de> | 2020-01-09 16:24:36 +0100 |
---|---|---|
committer | Justin Humm <justin.humm@posteo.de> | 2020-07-20 16:15:18 +0200 |
commit | d6f6424ac8c29fb840f0fc52bcc5623e4419dff3 (patch) | |
tree | d106016a7904c4fa89d8c993289807e75c769cf5 /nixos/modules/services/misc/gollum.nix | |
parent | e303532eabc81d52ea79bc04f2e463bf931451b4 (diff) | |
download | nixpkgs-d6f6424ac8c29fb840f0fc52bcc5623e4419dff3.tar nixpkgs-d6f6424ac8c29fb840f0fc52bcc5623e4419dff3.tar.gz nixpkgs-d6f6424ac8c29fb840f0fc52bcc5623e4419dff3.tar.bz2 nixpkgs-d6f6424ac8c29fb840f0fc52bcc5623e4419dff3.tar.lz nixpkgs-d6f6424ac8c29fb840f0fc52bcc5623e4419dff3.tar.xz nixpkgs-d6f6424ac8c29fb840f0fc52bcc5623e4419dff3.tar.zst nixpkgs-d6f6424ac8c29fb840f0fc52bcc5623e4419dff3.zip |
nixos/gollum: introduce --h1-title option
Diffstat (limited to 'nixos/modules/services/misc/gollum.nix')
-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 f4a9c72b154..46f90c78eb8 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} ''; |