This repository has been archived by the owner. It is now read-only.
dammIT theme/templates for kontent CMS
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dammit
.gitignore
LICENSE
README.md

README.md

kontent-dammit

dammIT theme/templates for kontent CMS

Usage:

  • Clone repository
  • In your kontent site's admin, go to Site configs
  • Choose the site (or create a new config for your site)
  • As Template, enter the directory in which you just cloned the repository, including its dirname and the name of the theme, so that templates and static are in the root
  • Save
  • Add the directory to your local_settings.py
import os
TEMPLATE_DIRS = (
    '/srv/projects/github/kontent-dammit/dammit', # dammIT theme
    os.path.join(os.path.dirname(os.path.dirname(__file__)), 'kontent/templates/'), # default kontent theme
)


STATICFILES_DIRS = (
    os.path.join(os.path.dirname(__file__), "static"),
    '/srv/projects/github/kontent-dammit/dammit/static',
)