diff --git a/README.md b/README.md index 101bc166..a06b4f2e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ Additionally, you may choose to set the following optional variables: ```yml show_downloads: ["true" or "false" to indicate whether to provide a download URL] + zip_url: ["true" or "false" to indicate whether to provide a .zip download URL] + tar_url: ["true" or "false" to indicate whether to provide a .tar.gz download URL] google_analytics: [Your Google Analytics tracking ID] ``` @@ -74,7 +76,7 @@ Templates often rely on URLs supplied by GitHub such as links to your repository ```yml github: zip_url: http://example.com/download.zip - another_url: another value + tar_url: http://example.com/download.tar.gz ``` 3. When your site is built, Jekyll will use the URL you specified, rather than the default one provided by GitHub. diff --git a/_config.yml b/_config.yml index e9cdf7b9..b8be5a08 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,7 @@ title: Architect theme description: Architect is a theme for GitHub Pages. show_downloads: true + zip_url: true + tar_url: true google_analytics: -theme: jekyll-theme-architect \ No newline at end of file +theme: jekyll-theme-architect diff --git a/_layouts/default.html b/_layouts/default.html index b9f6ced8..bc05463c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -38,14 +38,18 @@

{{ site.description | default: site.github.project_tagline }}