my eye

__init__.py

Raw

"""A decentralized social web platform."""

import web

app = web.application(__name__, automount=True, autotemplate=True)


@app.control("")
class Home:
    """Your homepage."""

    def get(self):
        """Render your homepage."""
        return app.view.index()


@app.control("guide")
class Guide:
    """A guide to the canopy."""

    def get(self):
        """Render your site's guide."""
        return app.view.guide()