diff options
author | Thomas Lange <code@nerdmind.de> | 2019-04-27 01:08:34 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2019-04-27 01:08:34 +0200 |
commit | d7fa3b949171785c8efb130cd2e90daf33f02c1a (patch) | |
tree | b6c7d25838e04b383bd3c5467c8c570aa6f8111e | |
parent | 963fe503517d3e9bf202f6063793408cb6e81014 (diff) | |
download | wiki-d7fa3b949171785c8efb130cd2e90daf33f02c1a.tar.gz wiki-d7fa3b949171785c8efb130cd2e90daf33f02c1a.tar.xz wiki-d7fa3b949171785c8efb130cd2e90daf33f02c1a.zip |
Update documentation
-rw-r--r-- | Arguments.md | 4 | ||||
-rw-r--r-- | Configuration.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Arguments.md b/Arguments.md index 6d6d3bd..53edfce 100644 --- a/Arguments.md +++ b/Arguments.md @@ -15,7 +15,7 @@ Lets assume that your argument string for a specific post is something like this } ## How this arguments can be used to do something special -If you are a template developer, you can check in your templates if the argument `HIGHLIGHT` is present (arguments with no explicit value will be automatically set to `TRUE`). If true, you can highlight this post differently (if you have some "promo posts" or something: just check if this value is set and add an extra CSS class to your HTML markup which then will highlight your post). +If you are a template developer, you can check within your templates if the argument `HIGHLIGHT` is present (arguments with no explicit value will be automatically set to `TRUE`). If true, you can highlight this post differently (if you have some "promo posts" or something: just check if this value is set and add an extra CSS class to your HTML markup which then will highlight your post). You even can add an preview image functionality. What if you want to show an preview image for each post in the list? There is no core functionality to do this, but with the argument functionality you can do this very simple: @@ -27,4 +27,4 @@ You even can add an preview image functionality. What if you want to show an pre Each argument key (the part before the `=`) must only contain letters from `A-Z`, `a-z`, `0-9` and underscores (`_`)! ## Conclusion -The use cases of the arguments are practically unlimited. Please note that the `standard` template does not use any arguments provided in the argument field. It is up to you whether you implement this in your own template to do something special or not!
\ No newline at end of file +The use cases of the arguments are practically unlimited. Please note that the templates of the `default` theme are not using any arguments provided in the argument field. It is up to you whether you implement this in your own template to do something special or not!
\ No newline at end of file diff --git a/Configuration.md b/Configuration.md index dc9eafa..d2f1996 100644 --- a/Configuration.md +++ b/Configuration.md @@ -36,7 +36,7 @@ Settings for the administration area. A corresponding language file **must exist ## Template Template directory and language (from `template/{template_name}/lang/`) to use. -* `TEMPLATE.NAME`: [string: `'standard'`] +* `TEMPLATE.NAME`: [string: `'default'`] * `TEMPLATE.LANG`: [string: `'en'`] ## Paths |