SimpleSyndicate/templates/index.html

32 lines
872 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>/ss/</title>
<link id="styleSheet" rel="stylesheet" type="text/css" href="/static/{{ style_sheet }}">
<script type="text/javascript" src="/static/ss.js"></script>
<script>
const set_session_url = '{{ url_for("set_session") }}';
</script>
<script>window.onload = load;</script>
</head>
<body>
<div>
Style sheet:
<select id="styleSheetSelector" onChange="swapStyleSheet()">
<option name="ss.css" value="ss.css">Light</option>
<option name="ss-dark.css" value="ss-dark.css">Dark</option>
</select>
</div>
<div id="globalContainer">
{% for feed in feeds %}
<div>
<h3>{{ feed['meta']['title'] }}</h3>
{% for entry in feed['entries'] %}
<span class="date">{{ entry['date'] }}</span><a href="{{ entry['link'] }}">{{ entry['title'] }}</a><br>
{% endfor %}
</div>
{% endfor %}
</div>
</body>
</html>