Ask Your Question

Revision history [back]

A non-sage solution to your problem would be to use a static site generator / HTML templates. I've used jinja2 before, it's pretty easy to use and powerful (and built using Python).

You can use jinja to do things like this (stolen from their webpage)

{% extends "layout.html" %}
{% block body %}
  <ul>
  {% for user in users %}
    <li><a href="{{ user.url }}">{{ user.username }}</a></li>
  {% endfor %}
  </ul>
{% endblock %}