Permalink
Browse files

Tracks version and links (for sidebar button etc.) is now in _config.yml

  • Loading branch information...
1 parent 801dc69 commit f2f1e1f09d0c4e583317be947c48188ffbd3aacd @bsag bsag committed Jan 3, 2012
Showing with 9 additions and 2 deletions.
  1. +7 −0 _config.yml
  2. +2 −2 source/_includes/custom/asides/get_tracks.html
View
@@ -82,3 +82,10 @@ disqus_show_comment_count: false
# Google Analytics
google_analytics_tracking_id:
+
+# Settings for get_tracks custom aside
+# Update this info when there is a new version
+# and the 'Get Tracks' links and text will automatically update
+version: "2.0" # Version of Tracks for labels etc.
+download_link: https://github.com/TracksApp/tracks/zipball/v2.0
+release_notes_link: /downloads/comments/tracks-20
@@ -1,8 +1,8 @@
<section>
<h1>Get Tracks</h1>
- <p><a class="button" href="https://github.com/TracksApp/tracks/zipball/v2.0" title="Download Tracks 2.0 zipped package"><img src="/images/download_button.png" /></a></p>
+ <p><a class="button" href="{{ site.download_link }}" title="Download Tracks {{ site.version }} zipped package"><img src="/images/download_button.png" /></a></p>
- <p><a href="/downloads/comments/tracks-20">Tracks 2.0 release notes</a></p>
+ <p><a href="{{ site.release_notes_link }}">Tracks {{ site.version }} release notes</a></p>
<p><a href="http://www.assembla.com/spaces/tracks-tickets/">Report a bug</a></p>
</section>

0 comments on commit f2f1e1f

Please sign in to comment.