Compare commits
2 commits
46d1d7b307
...
9c44286436
Author | SHA1 | Date | |
---|---|---|---|
9c44286436 | |||
aeb1403a6c |
2 changed files with 28 additions and 0 deletions
|
@ -120,6 +120,9 @@ def private_profile():
|
||||||
def index_css():
|
def index_css():
|
||||||
return send_from_directory('static/assets/css', 'index.css')
|
return send_from_directory('static/assets/css', 'index.css')
|
||||||
|
|
||||||
|
@app.route('/about')
|
||||||
|
def about():
|
||||||
|
return render_template('about.j2', version="0.0.0", instanceBranding=instanceBranding)
|
||||||
|
|
||||||
extra_dirs = ['app/templates', 'static/assets/css']
|
extra_dirs = ['app/templates', 'static/assets/css']
|
||||||
extra_files = extra_dirs[:]
|
extra_files = extra_dirs[:]
|
||||||
|
|
25
app/templates/about.j2
Normal file
25
app/templates/about.j2
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{% from 'header.j2' import header_home %}
|
||||||
|
{% from 'imports.j2' import imports_main %}
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>{{ instanceBranding }} - Register</title>
|
||||||
|
{{ imports_main() }}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ header_home() }}
|
||||||
|
<div style="text-align:center">
|
||||||
|
<h1>
|
||||||
|
NyxAsk at {{ instanceBranding }}
|
||||||
|
</h1>
|
||||||
|
<p>
|
||||||
|
NyxAsk version {{ version }} (commit TODO)
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Source code: <a href="https://git.everypizza.im/n/nyxask/">https://git.everypizza.im/n/nyxask/</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Made with <3 by Nyx Tutt. Licensed under the Unlicense.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Reference in a new issue