Up until now, I've used Markdown for my blog posts but recently I've wanted to make more complicated pages. I'm not sure yet what to do, should I write partly in Markdown and partly in HTML? Should I migrate everything to HTML? Or maybe there is something else in the middle?<p>I was also thinking of having some dynamic pages in my static website so maybe HTML is the only solution?
In Python. of course. I use good old web.py, because I am lazy and stupid.<p>"Django lets you write web apps in Django. TurboGears lets you write web apps in TurboGears. Web.py lets you write web apps in Python."<p>I have (tiny) improvement to the web.py architecture.
Using global variable you can add stuff into webpage with "+=".<p><pre><code> class bucket: urls=()
bucket.urls=('/','index')
class index:
def GET(self):
bucket.urls+=('/goto:(.*)','goto')
class goto:
def GET(self,s):
bucket.urls+=('/kartta_(.*)','kartta')
class kartta:
def GET(self,s):</code></pre>