adding version number to zip download filename

This commit is contained in:
davegandy 2013-10-23 00:36:17 -04:00
parent 2ebd7ab466
commit 260b44a882
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ build:
lessc --compress ${SITE_LESS} > ${SITE_CSS_MIN}
cp -r ${FA_ROOT_DIRECTORY}/* ../
cd assets && zip -r9 font-awesome.zip font-awesome
cd assets && zip -r9 font-awesome-{{ site.fontawesome.version }}.zip font-awesome
default: build

View File

@ -5,7 +5,7 @@
<h1>Font Awesome</h1>
<p>The iconic font designed for Bootstrap</p>
<div class="actions">
<a class="btn btn-default btn-lg" href="{{ page.relative_path }}assets/font-awesome.zip"
<a class="btn btn-default btn-lg" href="{{ page.relative_path }}assets/font-awesome-{{ site.fontawesome.version }}.zip"
onClick="_gaq.push(['_trackEvent', 'Outbound Link', 'Download on GitHub']);">
<i class="fa fa-download fa-lg"></i>&nbsp;&nbsp;
Download