This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Write
Klaus Mueller edited this page Dec 15, 2018
·
9 revisions
All source code for content is stored in ''source/''. You can write files in
- plain old html
- markdown extra
- using internal wikilinks
[[pagename]]
(for an alternative linktext use markdown[pagename](./pageurl)
) - write the on page-config after
#meta#
-Seperator with yaml
Edit your website in different ways:
- edit source files direct on the filesystem and with your favourite text-editor. After editing call
./make.sh
in your CLI. -
webedit with the edit button on the page. After 'save' the single page will be created. You can use;
- with simplemde-markdown-editor
- plain textarea
- manage changes via git: set config
gitsourceupdate: true
, so an existing git repo in source directory will be pulled and pages are created only on new files creates. (usehttps://example.com/_drf/make.php
as webhook)
There is no file and assethandling, just upload pictures and files in the target directory. There is no reason why a static-site-generator should copy files around. And if you wish some filehandling like renaming, image resizing and cropping, use a specialized software:
You can also edit admin-settings.
writesource.php is not protected by any access control. For Security you have to hide the file writesource.php
behind .htaccess or similar.
writesource.php works only with the global globale configuration webwrite
. If its true
, webedit is allowed.
You can set webwrite
in meta configuration only to veil and not to prevent webedit!