Dokuwiki: Difference between revisions

imported>Onny
mNo edit summary
imported>Onny
mNo edit summary
Line 22: Line 22:
=== Templates ===
=== Templates ===


Unfortunately no templates are packaged yet in nixpkgs. It is possible to manually package a template and include it in your Dokuwiki instance. In the following example the tempalte [https://www.dokuwiki.org/template:mindthedark mindthedark] is packaged and enabled
Unfortunately no templates are packaged yet in nixpkgs. It is possible to manually package a template, for example from the [https://www.dokuwiki.org/template official template repository], and include it in your Dokuwiki instance. In the following example the tempalte [https://www.dokuwiki.org/template:mindthedark mindthedark] is packaged and enabled


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
Line 46: Line 46:
};
};
</nowiki>}}
</nowiki>}}
Please note that you'll have to manually update the tempalte source and checksum in case there's a new version.


=== Clean URLs ===
=== Clean URLs ===