summaryrefslogtreecommitdiff
path: root/templates/index.html
blob: 2618a68fd74e83cddb8f9329dfef1eb05ee59b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{% extends "base.html" %}

{% block head %}
<link rel="stylesheet" href="{{ url_for('static', filename='style/index.css') }}">
{% endblock %}

{% block title %} Homepage {%endblock%}

{% block robots %}
<meta name="robots" content="index, nofollow" />
{% endblock %}
{% block header %}{% endblock %}

{% block content %}
<main>
    <header>
        <a href="/">
            <h1>Drosera Springs</h1><span>COLORADO, USA</span>
        </a>
    </header>
    <form method="post" action="/search" id="search">
        <input type="search" name="query" aria-label="Search"><button type="submit">Search</button>
    </form>
    <nav>
        {% if session.username %}
        <a href="/logout">Log Off</a>
        {% else %}
        <a href="/login">Resident Portal</a>
        <a href="/guest">Guest Access</a>
        {% endif %}
        <a href="/eguide">Visitor's Guide</a>
        <a href="/permits">Permits</a>
        <a href="/news">eNewsletter</a>
        <a href="/radio">Community Radio</a>
        <a href="/absidy">Absidy Center</a>
        <a href="/hyde">Local Wrestling</a>
        <a href="https://git.icolotl.com">Open Data</a>
    </nav>
</main>
<section>
    <div>
        <h2><a href="/absidy">Spotlight</a></h2>
        <img src="/static/img/photography.webp" alt="Absidy Center Photography Showcase">
        <a href="/absidy">For more photography and art, click here.</a>
    </div>
    <div>
        <h2><a href="/news">News</a></h2>
        <h3>{{ news.title }}</h3>
        <small>Published {{ news.date }}</small>
        <p>{{ news.content }}</p>
        <a href="/news">For more, click here.</a>
    </div>
    <div>
        <h2>Events</h2>
        No events are planned.<br>
        Check back later!
    </div>
</section>
{% endblock %}