Added jekyll variables to store version and other info
diff --git a/_config.yml b/_config.yml
index 2cd848e..0238845 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,36 +1,2 @@
-source: .
-plugins: ./_plugins
-url: http://joshua-decoder.org/
-
-future: true
-lsi: false
-pygments: true
-markdown: kramdown
-permalink: /:title.html
-
-#exclude: index.html,docs.html,images,indian-parallel-corpora,joshua.bib,publications,style.css,CNAME,joshua.css
-
-maruku:
- use_tex: false
- use_divs: false
- png_engine: blahtex
- png_dir: images/latex
- png_url: /images/latex
-
-rdiscount:
- extensions: []
-
-kramdown:
- auto_ids: true,
- footnote_nr: 1
- entity_output: as_char
- toc_levels: 1..6
- use_coderay: false
-
- coderay:
- coderay_wrap: div
- coderay_line_numbers: inline
- coderay_line_numbers_start: 1
- coderay_tab_width: 4
- coderay_bold_every: 10
- coderay_css: style
+timezone: US/Eastern
+markdown: kramdown
diff --git a/_data/joshua.yaml b/_data/joshua.yaml
new file mode 100644
index 0000000..23c55d6
--- /dev/null
+++ b/_data/joshua.yaml
@@ -0,0 +1,2 @@
+release_version: 6.0.2
+release_date: April 10, 2015
diff --git a/_layouts/default6.html b/_layouts/default6.html
index 5c981ea..63a8adf 100644
--- a/_layouts/default6.html
+++ b/_layouts/default6.html
@@ -51,8 +51,8 @@
</div>
<hr>
<center>
- <a href="/releases/6.0/" target="_blank"><button class="button">Download Joshua 6.0.2</button></a>
- <p>Released April 10, 2015</p>
+ <a href="/releases/current/" target="_blank"><button class="button">Download Joshua {{ site.data.joshua.release_version }}</button></a>
+ <p>Released {{ site.data.joshua.release_date }}</p>
</center>
<hr>
<!-- <div class="sidebar-module"> -->
diff --git a/index.md b/index.md
index 6d9a9df..b9a9644 100644
--- a/index.md
+++ b/index.md
@@ -12,8 +12,8 @@
### Latest Release
-The latest release of Joshua is version 6.0.2 (April 10,
-2015). Information about downloading and using Joshua can be found
+The latest release of Joshua is version {{ site.data.joshua.release_version }}
+({{ site.data.joshua.release_date }}). Information about downloading and using Joshua can be found
[in the Joshua documentation](/6.0/). You can [download it here](releases/6.0/) (tarball).
### Features
diff --git a/releases/index.md b/releases/index.md
index c08aebd..c44b676 100644
--- a/releases/index.md
+++ b/releases/index.md
@@ -3,8 +3,8 @@
title: Joshua releases
---
-The current release of Joshua is version 6.0.2, which can be [downloaded
-here](6.0/). It was released on April 10, 2015.
+The current release of Joshua is version {{ site.data.joshua.release_version }}, which can be [downloaded
+here](current/). It was released on {{ site.data.joshua.release_date }}.
Older versions are also available: