diff --git a/README.md b/README.md index 1dc5d85..2aa190f 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ description: [A short description of your site's purpose] Additionally, you may choose to set the following optional variables: ```yml -show_downloads: ["true" or "false" to indicate whether to provide a download URL] +show_downloads: ["true" or "false" (unquoted) to indicate whether to provide a download URL] google_analytics: [Your Google Analytics tracking ID] ``` diff --git a/_layouts/default.html b/_layouts/default.html index 3987eeb..0a2c0e3 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,7 +6,7 @@ - + @@ -57,7 +57,11 @@

{{ site.title | default: site.github.repository_name }}

Scroll to top - tarzipsource code + {% if site.show_downloads %} + tar + zip + source code + {% endif %}