Skip to main content

webapp/templates/base.html

1<html>
2 <head>
3 <meta charset="utf-8">
4 <meta http-equiv="X-UA-Compatible" content="IE=edge">
5 <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
7 <link rel="stylesheet" href="/static/style.css">
9 <meta name="twitter:card" content="summary_large_image">
10 <meta name="twitter:site" content="dominant_colours" />
11 <meta name="twitter:title" content="dominant_colours" />
12 <meta name="twitter:description" content="Find the dominant colours in an image">
13 <meta name="twitter:image" content="https://alexwlchan.net/files/2022/dominant_colours_screenshot.png" />
15 <meta property="og:type" content="article" />
16 <meta property="og:url" content="https://dominant-colours.glitch.me/">
17 <meta property="og:title" content="dominant_colours">
18 <meta property="og:description" content="Find the dominant colours in an image" />
19 <meta property="og:image" content="https://alexwlchan.net/files/2022/dominant_colours_screenshot.png" />
21 <title>dominant colours</title>
22 </head>
23 <body>
24 <main>
25 <h2>find the dominant colours in an image</h2>
27 {% with messages = get_flashed_messages() %}
28 {% if messages %}
29 <div class="errors">
30 {% for message in messages %}
31 {{ message | safe }}
32 {% endfor %}
33 </div>
34 {% endif %}
35 {% endwith %}
37 {% block content %}
38 {% endblock %}
39 </main>
40 <footer>
41 also available <a href="https://github.com/alexwlchan/dominant_colours">on the command-line</a> ·
42 {{ version }}<br/>
43 made with <span class="heart">&#x2764;</span> by <a href="https://alexwlchan.net">alexwlchan</a>
44 ·
45 code on <a href="https://github.com/alexwlchan/dominant_colours/tree/main/webapp">github</a>
46 </footer>
47 </body>
48</html>