Add hash of file to filename

Enables caching without serving outdated content
diff --git a/templates/article.html b/templates/article.html
index 7940c11..c896fc4 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -8,7 +8,7 @@
   {{article.tags|join(', ') }}">
 
   {% if FUZZY_DATES %}
-  {% assets filters="slimit", output="js/lw-timeago.min.js", "js/lw-timeago/lw-timeago.js" %}
+  {% assets filters="slimit", output="js/lw-timeago.%(version)s.min.js", "js/lw-timeago/lw-timeago.js" %}
   <script src="{{ SITEURL }}/{{ ASSET_URL }}" type="text/javascript"></script>
   {% endassets%}
   {% endif %}
diff --git a/templates/base.html b/templates/base.html
index 3123615..13727e9 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,7 +7,7 @@
   <meta name="author" content="{{ AUTHOR }}">
   <meta name="description" content="{% block description %}Posts by {{ AUTHOR }}{% endblock %}">
 
-  {% assets filters="libsass,cssmin", output="css/style.min.css", "css/style.scss", "css/pygments.css" %}
+  {% assets filters="libsass,cssmin", output="css/style.%(version)s.min.css", "css/style.scss", "css/pygments.css" %}
   <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ ASSET_URL }}">
   {% endassets %}
   <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">