diff --git a/_config.yml b/_config.yml index c5cf3fd..968605c 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,6 @@ title: Hacker theme description: Hacker is a theme for GitHub Pages. show_downloads: true +show_github: true google_analytics: theme: jekyll-theme-hacker \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 909e43c..4bfdead 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -21,7 +21,9 @@ Download as .zip Download as .tar.gz {% endif %} + {% if site.show_github %} View on GitHub + {% endif %}