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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-tiniest-cms-0.9.1.tar.gz.
File metadata
- Download URL: django-tiniest-cms-0.9.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be0e4d2e8de70aa856537234f423fa23a1eca2684d76face2976e460cd33dc30
|
|
| MD5 |
2ce8dc0fee6526089ef525779a8c039b
|
|
| BLAKE2b-256 |
070e100b8480078b0d663f5ac3042b830a7b3036df0696f677678313a23c2d86
|