mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Update README
This commit is contained in:
parent
d365aaafb7
commit
9e3e83d758
13
README.md
13
README.md
@ -49,6 +49,8 @@ Settings
|
|||||||
|
|
||||||
The following settings are required for a correct behaviour of this theme.
|
The following settings are required for a correct behaviour of this theme.
|
||||||
|
|
||||||
|
If you want to use the theme with search enabled (and probably you want it).
|
||||||
|
|
||||||
```python
|
```python
|
||||||
TAG_SAVE_AS = ''
|
TAG_SAVE_AS = ''
|
||||||
AUTHOR_SAVE_AS = ''
|
AUTHOR_SAVE_AS = ''
|
||||||
@ -56,6 +58,14 @@ The following settings are required for a correct behaviour of this theme.
|
|||||||
TIPUE_SEARCH_SAVE_AS = 'tipue_search.json'
|
TIPUE_SEARCH_SAVE_AS = 'tipue_search.json'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you want to use mg with search disabled.
|
||||||
|
|
||||||
|
```python
|
||||||
|
TAG_SAVE_AS = ''
|
||||||
|
AUTHOR_SAVE_AS = ''
|
||||||
|
DIRECT_TEMPLATES = ('index', 'categories', 'archives')
|
||||||
|
```
|
||||||
|
|
||||||
###Optional settings
|
###Optional settings
|
||||||
|
|
||||||
**ALT_NAME**
|
**ALT_NAME**
|
||||||
@ -64,6 +74,9 @@ An alternative name for your site. It appears in the header bar.
|
|||||||
**DESCRIPTION**
|
**DESCRIPTION**
|
||||||
A brief description of your site, for social networks and search engines.
|
A brief description of your site, for social networks and search engines.
|
||||||
|
|
||||||
|
**DISABLE_SEARCH**
|
||||||
|
Disable search, boolean.
|
||||||
|
|
||||||
**FAVICON**
|
**FAVICON**
|
||||||
The relative path of your favicon, this is needed for Disqus forum favicon.
|
The relative path of your favicon, this is needed for Disqus forum favicon.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user