added robots

master
tiyn 4 weeks ago
parent a927a18e39
commit 9fd714eef3

@ -121,6 +121,10 @@ def entry(path):
def feed_re(): def feed_re():
return redirect(url_for("feed")) return redirect(url_for("feed"))
@app.route("/robots.txt")
def robots():
return render_template("robots.txt")
@app.route("/feed") @app.route("/feed")
def feed(): def feed():

@ -0,0 +1,2 @@
User-agent: *
Disallow: /static/
Loading…
Cancel
Save