Skip to main content

Introduction

bobtemplates.kotti provides mr.bob templates to generate packages for the Kotti CMS

Available templates are:

  • theme: a simple template for a Kotti theme package

Global settings

Some variables are used with every template. These should be added to the mr.bob user config in ~/.mrbob, e.g.:

[variables]

author.name = Andreas Kaiser
author.email = disko@binary-punks.com
author.github.user = disko

Creating a theme package

To create a Kotti theme run:

mrbob -O kotti_theme_spacelab bobtemplates.kotti:theme

and answer the questions:

Welcome to mr.bob interactive mode. Before we generate directory structure,
some questions need to be answered.

Answer with a question mark to display help.
Value in square brackets at the end of the questions present default value
if there is no answer.


--> Name of the package: kotti_theme_spacelab

--> Version of the package [0.1]:

--> License of the package [BSD]:

--> Name of the theme: Spacelab

--> Original URL of the wrapped theme: http://bootswatch.com/spacelab/

Add a Bootstrap CSS file:

cd kotti_theme_spacelab/kotti_theme_spacelab/static/css/
wget http://bootswatch.com/spacelab/bootstrap.css

Setup the package and run the CSS/JS minifier:

cd ../../../
python setup.py develop
python setup.py dev
python setup.py minify

Run the demo:

pserve development.ini

Point your browser to http://127.0.0.1:5000 and enjoy your themed Kotti site.

Changelog

0.1-2

  • Simplify setup.py.

  • Fix wrong dev alias in setup.cfg.

0.1-1

  • Fix packaging.

0.1

  • Initial release.

Metadata

Release files for bobtemplates.kotti 0.1-2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bobtemplates.kotti 0.1-2
File Size Uploaded
bobtemplates.kotti-0.1-2.tar.gz 26.3 kB Details

Release files / bobtemplates.kotti-0.1-2.tar.gz

Download URL bobtemplates.kotti-0.1-2.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b7e2779daa5cc3d6c9f0c0bfa87f6bcd02cf04f45ee72b1734ce919d371911ea
BLAKE2b-256 checksum
How to use checksums
479f054206f2f890135fffe353eb475d0cfaf28063b741ef06b150850c516275
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1-2 This release

1 release file

0.1-1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page