From 54132c7218cf9cb03bde0feb81779cf6cdd9039a Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Wed, 3 Aug 2016 16:38:50 +0200 Subject: [PATCH] added excerpt feature to config script --- bin/init.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/init.php b/bin/init.php index 145c214..58b1c5d 100644 --- a/bin/init.php +++ b/bin/init.php @@ -39,6 +39,8 @@ $themes = getDir('./themes'); $yaml["design"]["theme"] = get("Which theme would you like to use? (" . $themes . ")", $yaml["design"]["theme"], "material-light"); $yaml["design"]["pagination"] = get("Which posts should be displayed on one page (0 to disable)", $yaml["design"]["pagination"], "0"); +$yaml["design"]["excerpt"] = + getBool("Should be overview pages only show a excerpt of the full posts? (on/off)", $yaml["design"]["excerpt"], "off"); $yaml["design"]["favicon"] = get("URL to your favicon", $yaml["design"]["favicon"], "https://example.com/fav.ico"); // rcc