New Version
This commit is contained in:
32
picopage/templates/page.html
Normal file
32
picopage/templates/page.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ site_title }} - {{ page_title }}</title>
|
||||
<link href="{{ theme }}" rel="stylesheet" type="text/css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
{% for page in pages %}
|
||||
|
||||
{% if page.is_index %}
|
||||
<li><a href="{{ page.stub }}.html">{{ site_title }}</a></li>
|
||||
{% else %}
|
||||
<li><a href="{{ page.stub }}.html">{% if current_page.stub == page.stub %}>> {% endif %}{{ page.name }}</a></li>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="content">
|
||||
{% for article in current_page.articles %}
|
||||
{{ article.content}}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>
|
||||
Created with <a href="#">picopage</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user