_layouts/default.html in jekyll-theme-tactile-nogh-0.2.0 vs _layouts/default.html in jekyll-theme-tactile-nogh-0.2.1

- old
+ new

@@ -4,13 +4,10 @@ <meta charset='utf-8'> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}"> <link rel="stylesheet" type="text/css" href="{{ '/assets/css/print.css' | relative_url }}" media="print"> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> {% if site.matomo.host %} <!-- Matomo --> <script type="text/javascript"> var _paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ @@ -42,10 +39,12 @@ <a href="{{ site.zip_url }}" class="btn">Download as .zip</a> {% endif %} {% if site.tar_url %} <a href="{{ site.tar_url }}" class="btn">Download as .tar.gz</a> {% endif %} - <a href="{{ site.repository_url }}" class="btn">View Project</a> + {% if site.repository_url %} + <a href="{{ site.repository_url }}" class="btn">View Project</a> + {% endif %} </section> <hr> <section id="main_content"> {{ content }} </section>