|
|
|
@ -126,7 +126,9 @@ def index(): |
|
|
|
|
return render_template('index.html', |
|
|
|
|
title='Feed', |
|
|
|
|
url='news.t0.vc', |
|
|
|
|
description='Hacker News, Reddit, Lobsters, and Tildes articles rendered in reader mode') |
|
|
|
|
description='Hacker News, Reddit, Lobsters, and Tildes articles rendered in reader mode', |
|
|
|
|
robots='index', |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
@flask_app.route('/<sid>', strict_slashes=False) |
|
|
|
|
@flask_app.route('/<sid>/c', strict_slashes=False) |
|
|
|
@ -153,7 +155,9 @@ def static_story(sid): |
|
|
|
|
return render_template('index.html', |
|
|
|
|
title=story['title'], |
|
|
|
|
url=url, |
|
|
|
|
description=description) |
|
|
|
|
description=description, |
|
|
|
|
robots='noindex', |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
http_server = WSGIServer(('', 33842), flask_app) |
|
|
|
|
|
|
|
|
|