mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-08 12:09:01 -06:00
further work on ftbhot about page
This commit is contained in:
@@ -29,17 +29,22 @@ strgen = lambda length, charset=string.ascii_letters, weights=None : ''.join(ran
|
|||||||
@app.route('/ftbhot/about')
|
@app.route('/ftbhot/about')
|
||||||
@app.route('/ftbhot/about/')
|
@app.route('/ftbhot/about/')
|
||||||
def ftbhot_about():
|
def ftbhot_about():
|
||||||
return "about page xd"
|
return render_template('/ftbhot/about.html')
|
||||||
|
|
||||||
@app.route('/ftbhot/auth')
|
@app.route('/ftbhot/auth')
|
||||||
@app.route('/ftbhot/auth/')
|
@app.route('/ftbhot/auth/')
|
||||||
def ftbhot_auth():
|
def ftbhot_auth():
|
||||||
return 'hi bot guy'
|
return 'WIP'
|
||||||
|
|
||||||
@app.route('/ftbhot')
|
@app.route('/ftbhot')
|
||||||
@app.route('/ftbhot/')
|
@app.route('/ftbhot/')
|
||||||
def ftbhot():
|
def ftbhot():
|
||||||
return 't'
|
return render_template('/ftbhot/embed.html')
|
||||||
|
|
||||||
|
@app.route('/ftbhot/json')
|
||||||
|
@app.route('/ftbhot/json/')
|
||||||
|
def ftbhot_embed():
|
||||||
|
return render_template('/ftbhot/current.json')
|
||||||
|
|
||||||
@app.route('/time/')
|
@app.route('/time/')
|
||||||
def time():
|
def time():
|
||||||
|
|||||||
21
app/templates/ftbhot/about.html
Normal file
21
app/templates/ftbhot/about.html
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
{% block head %}
|
||||||
|
{{ super() }}
|
||||||
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/default.min.css">
|
||||||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js"></script>
|
||||||
|
{% endblock head %}
|
||||||
|
{% block body %}
|
||||||
|
<!-- About Section -->
|
||||||
|
<section class="section section-padding">
|
||||||
|
<div class="container">
|
||||||
|
<div class="columns is-mobile is-multiline is-centered">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-content">
|
||||||
|
<pre><code class="lang-shell">This mini-project doesn't really have that great of an explanation.<br>Go to the /r/feedthebeast subreddit's discord and use the ??backontopic command.</code></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<!-- End About Section -->
|
||||||
|
{% endblock body %}
|
||||||
Reference in New Issue
Block a user