python
from kotti import Kotti
from kotti.resources import Document
from pyramid.config import Configurator
class MyKotti(Kotti):
def create_content(self):
root = self['/']
root['home'] = Document(name='home', title='Home Page', body='Welcome to my website!')
root['about'] = Document(name='about', title='About Us', body='This is the about page.')
if __name__ == '__main__':
config = Configurator()
config.include('kotti')
config.scan(MyKotti())
app = config.make_wsgi_app()
serve(app, host='0.0.0.0', port=8080)