Add repo links, trailing slash on route
This commit is contained in:
parent
8399ef4fed
commit
eb6ae0e922
2
app.py
2
app.py
@ -10,7 +10,7 @@ def home():
|
|||||||
return redirect('http://git.hallada.net/nlp/')
|
return redirect('http://git.hallada.net/nlp/')
|
||||||
|
|
||||||
|
|
||||||
@app.route("/buzzfeed-haiku-generator")
|
@app.route("/buzzfeed-haiku-generator/")
|
||||||
def buzzfeed_haiku_generator():
|
def buzzfeed_haiku_generator():
|
||||||
haiku = generator.generate_haiku()
|
haiku = generator.generate_haiku()
|
||||||
return render_template('buzzfeed-haiku-generator.html', haiku=haiku)
|
return render_template('buzzfeed-haiku-generator.html', haiku=haiku)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
div.footer {
|
div.footer {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
margin-top: 50px;
|
margin-top: 4rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@ -33,6 +33,8 @@
|
|||||||
<a href="https://pypi.python.org/pypi/inflect">inflect</a>,
|
<a href="https://pypi.python.org/pypi/inflect">inflect</a>,
|
||||||
<a href="http://eayd.in/?p=232">sylco</a>, and
|
<a href="http://eayd.in/?p=232">sylco</a>, and
|
||||||
<a href="https://www.reddit.com/r/datasets/comments/3es1s4/33k_nytimes_and_18k_buzzfeed_facebook_posts_and_a/">BuzzFeed Facebook Posts</a>
|
<a href="https://www.reddit.com/r/datasets/comments/3es1s4/33k_nytimes_and_18k_buzzfeed_facebook_posts_and_a/">BuzzFeed Facebook Posts</a>
|
||||||
|
<br>
|
||||||
|
Code at <a href="https://github.com/thallada/nlp">Github</a> and <a href="http://git.hallada.net/nlp/">cgit</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user