diff --git a/app.py b/app.py index a4ee704..6e1a3e5 100644 --- a/app.py +++ b/app.py @@ -10,7 +10,7 @@ def home(): return redirect('http://git.hallada.net/nlp/') -@app.route("/buzzfeed-haiku-generator") +@app.route("/buzzfeed-haiku-generator/") def buzzfeed_haiku_generator(): haiku = generator.generate_haiku() return render_template('buzzfeed-haiku-generator.html', haiku=haiku) diff --git a/templates/buzzfeed-haiku-generator.html b/templates/buzzfeed-haiku-generator.html index e6cd30e..d016e84 100644 --- a/templates/buzzfeed-haiku-generator.html +++ b/templates/buzzfeed-haiku-generator.html @@ -12,7 +12,7 @@ } div.footer { font-size: small; - margin-top: 50px; + margin-top: 4rem; } @@ -33,6 +33,8 @@ inflect, sylco, and BuzzFeed Facebook Posts +
+ Code at Github and cgit