Flask application which powers the conceptnull.org website, using MediaWiki as it's backend.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
597 B

<!DOCTYPE html>
<html>
<head>
<title>My Wiki</title>
</head>
<body>
<h1>Welcome to My Wiki</h1>
<ul>
{% for page_title, page_info in pages.items() %}
<li>
<h2>{{ page_title }}</h2>
<div>{{ page_info.content|safe }}</div>
{% if page_info.images %}
{% for image_url in page_info.images %}
<li><img src="{{ image_url }}" alt="Image"></li>
{% endfor %}
{% endif %}
</li>
{% endfor %}
</ul>
</body>
</html>