From 5aab5ff271abd20942bd9e8bd12e66f5c3d90c3a Mon Sep 17 00:00:00 2001 From: MosheF Date: Tue, 24 Apr 2018 13:31:14 +0300 Subject: [PATCH] Add the ability to hide github link --- _config.yml | 1 + _layouts/default.html | 2 ++ 2 files changed, 3 insertions(+) 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 %}