diff --git a/sarsoo/art/templates/art/index.html b/sarsoo/art/templates/art/index.html index 4aff352..d09c1a9 100644 --- a/sarsoo/art/templates/art/index.html +++ b/sarsoo/art/templates/art/index.html @@ -9,8 +9,7 @@

{{ tag.name }}

{{ tag.splash.file_name  }} - -

{{ tag.description }}{{ tag.image }}

+ {% if tag.description %}

{{ tag.description }}{{ tag.image }}

{% endif %} view
{% endfor %} diff --git a/sarsoo/sarsoo.py b/sarsoo/sarsoo.py index a59fcfd..5c263f7 100644 --- a/sarsoo/sarsoo.py +++ b/sarsoo/sarsoo.py @@ -11,7 +11,7 @@ db = firestore.Client() app = Flask(__name__, static_folder=os.path.join(os.path.dirname(__file__), '..', 'static'), template_folder = "templates") app.register_blueprint(art_print, url_prefix='/art') -app.register_blueprint(music_print, url_prefix='/musictest') +app.register_blueprint(music_print, url_prefix='/music') staticbucketurl = 'https://storage.googleapis.com/sarsooxyzstatic/' @@ -32,10 +32,6 @@ def main(): return render_template('index.html', staticroot = staticbucketurl, splash = splashtext, art=art) -@app.route('/music') -def music(): - return render_template('music.html') - @app.route('/dev') def dev(): return render_template('dev.html') diff --git a/sarsoo/templates/base.html b/sarsoo/templates/base.html index d2cbd59..91c3760 100644 --- a/sarsoo/templates/base.html +++ b/sarsoo/templates/base.html @@ -8,7 +8,7 @@
-

andy

+ andy