Django tiniest cms
==================
Installation
------------
#. The recommended way to install django-tiniest-cms package is with pip.
$ pip install django-tiniest-cms
#. Then add 'django-tiniest-cms' to `INSTALLED_APPS`.
Usage
-----
Assuming this would be the frontpage template of a website :
{% load tiniest_cms %}<html>
<head>
<title>{% content "website/frontpage/title" %}NO TITLE{% endcontent %}</title>
</head>
<body>
{% content "website/frontpage/main_content"%}
This is the website of ACME corporation
{% endcontent %}
</body>
</html>
Then in the administration you can add the content snippet matching the name
given to the `content` tags. The content will be rendered as markdown instead
of the default given to the `content` tags.
==================
Installation
------------
#. The recommended way to install django-tiniest-cms package is with pip.
$ pip install django-tiniest-cms
#. Then add 'django-tiniest-cms' to `INSTALLED_APPS`.
Usage
-----
Assuming this would be the frontpage template of a website :
{% load tiniest_cms %}<html>
<head>
<title>{% content "website/frontpage/title" %}NO TITLE{% endcontent %}</title>
</head>
<body>
{% content "website/frontpage/main_content"%}
This is the website of ACME corporation
{% endcontent %}
</body>
</html>
Then in the administration you can add the content snippet matching the name
given to the `content` tags. The content will be rendered as markdown instead
of the default given to the `content` tags.
Metadata
Release files for django-tiniest-cms 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-tiniest-cms-0.9.1.tar.gz | 2.8 kB | Details |
Release files / django-tiniest-cms-0.9.1.tar.gz
| Download URL | django-tiniest-cms-0.9.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be0e4d2e8de70aa856537234f423fa23a1eca2684d76face2976e460cd33dc30
|
|
BLAKE2b-256 checksum How to use checksums |
070e100b8480078b0d663f5ac3042b830a7b3036df0696f677678313a23c2d86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |