From ce4102606dcdb9e7d67593e3cce22f541e16418b Mon Sep 17 00:00:00 2001 From: Daniel Schmitz Date: Mon, 1 Jul 2019 13:35:19 -0300 Subject: [PATCH] Disable "View on Github" button Add a option to disable a "View on Github" button. To disable, add this option ```yml github: is_project_page: false ``` in yout _config.yml file --- _layouts/default.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_layouts/default.html b/_layouts/default.html index 909e43c..5d6d848 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -21,7 +21,9 @@ Download as .zip Download as .tar.gz {% endif %} + {% if site.github.is_project_page %} View on GitHub + {% endif %}