Skip to main content

kotti_splashpage is a kotti package to setup the home page as a splash page. It allows you to simply set a template in your application deployment configuration and have a splash page.

Project description

kotti_splashpage README

Description

kotti_splashpage is a kotti package to setup the home page as a splash page. It allows you to simply set a template in your application deployment configuration and have a splash page.

Installation

easy_install, pip, setup.py install or whatever

add kotti_splashpage to pyramid.includes and a template path to kotti_splashpage.renderer something like:

pyramid.includes =
    ...
    kotti_splashpage

And then add an override directory:

kotti_splashpage.renderer = mypackage:templates/atemplate.pt

NB: kotti_splashpage.includeme adds a populate function to set the site’s default view. If you are adding several populate functions in kotti.populators be aware that you may need to manually include kotti_splashpage.populate to control order of the populators.

Development

Development (what little there will be) happens at Github and Bugs too.

Changes

0.2.0

  • update kotti.includes -> pyramid.includes
  • prep for actual release on pypi
  • add populate in includeme
  • get template from ini: kotti_splashpage.renderer
  • boilerplate
  • populate
  • include me

0.1.0

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kotti_splashpage, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size kotti_splashpage-0.2.0.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page