Remove v=xxx code from static file URLs
authorSybren A. Stüvel <sybren@stuvel.eu>
Fri, 23 Mar 2018 16:30:04 +0000 (17:30 +0100)
committerSybren A. Stüvel <sybren@stuvel.eu>
Fri, 23 Mar 2018 16:30:04 +0000 (17:30 +0100)
Since Pillar d560f89704e3a6f4490df57712525048c469bed2 the URls for
static files are managed differently.

src/templates/svnman/layout.pug

index b7e8b0b..b2fc7d7 100644 (file)
@@ -10,7 +10,7 @@ html(lang="en")
                link(href='//fonts.googleapis.com/css?family=Roboto:300,400', rel='stylesheet', type='text/css')
 
                link(href="{{ url_for('static_pillar', filename='assets/css/vendor/bootstrap.min.css') }}", rel="stylesheet")
                link(href='//fonts.googleapis.com/css?family=Roboto:300,400', rel='stylesheet', type='text/css')
 
                link(href="{{ url_for('static_pillar', filename='assets/css/vendor/bootstrap.min.css') }}", rel="stylesheet")
-               link(href="{{ url_for('static_pillar', filename='assets/css/font-pillar.css', v=141020161) }}", rel="stylesheet")
+               link(href="{{ url_for('static_pillar', filename='assets/css/font-pillar.css') }}", rel="stylesheet")
                link(href="{{ url_for('static_svnman', filename='assets/css/main.css') }}", rel="stylesheet")
                script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery-3.1.0.min.js')}}")
                script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.bootstrap-3.3.7.min.js') }}")
                link(href="{{ url_for('static_svnman', filename='assets/css/main.css') }}", rel="stylesheet")
                script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery-3.1.0.min.js')}}")
                script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.bootstrap-3.3.7.min.js') }}")