Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
suckless web
tantum.
Commits
888f3843
Commit
888f3843
authored
Oct 20, 2022
by
Michael Ochmann
Browse files
added information about built in plugins
parent
80470f1a
Pipeline
#4412
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/plugins/overview.rst
View file @
888f3843
Plugins
=======
*tantum. CMS* is extendable through plugins. Those go into the ``plugins``
directory and have to choose a plugin namespace.
By default, *tantum. CMS* comes with the following plugins:
* ``DynamicTitle``
* ``BlogRoll``
DynamicTitle
------------
This plugin enables support for "subtitles" in the websites HTML ``<title>``
tag. It prepends the name of the Website with the name of the current page,
separated by a long dash (``–``).
.. note::
**Example:**
Imprint – tantum. CMS
BlogRoll
--------
The *BlogRoll* plugin provides a Weblogesque functionality. If a folder inside
the ``webroot`` folder contains subfolders, and those subfolders do all have a
numerical name (``1``, ``2``, and so on), the plugin deems that page a weblog.
It chooses a special template and adds *"newer posts"*/*"older posts"* links to
the bottom.
The following folder structure will give you a simple blog with two pages of
backlog:
* ``webcontents/``
* ``Blog/``
* ``1/``
* ``2/``
* ``My first blog post.md``
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment