diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2017-04-14 13:44:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-14 13:44:20 +0200 |
| commit | a2ab956f90a4f1a1fa1d5b944918a07dda3ded88 (patch) | |
| tree | 6a92952f7b668e298d04426c251afc06da14c43c | |
| parent | 85dd25b7784f4951e729b5a8ee864461d3458dbe (diff) | |
| download | wiki-a2ab956f90a4f1a1fa1d5b944918a07dda3ded88.tar.gz wiki-a2ab956f90a4f1a1fa1d5b944918a07dda3ded88.tar.bz2 wiki-a2ab956f90a4f1a1fa1d5b944918a07dda3ded88.zip | |
Update default.html
| -rw-r--r-- | _layouts/default.html | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 40d3812..660935e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,10 +8,9 @@ <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> - {% capture include_head_content %}{% include head.html %}{% endcapture %} - {% unless include_head_content contains "Liquid error" %} + {% if site.custom_head %} {% include head.html %} - {% endunless %} + {% endif %} <meta name="viewport" content="width=device-width"> <!--[if lt IE 9]> @@ -38,10 +37,9 @@ </ul> {% endif %} - {% capture include_sidebar_content %}{% include sidebar.html %}{% endcapture %} - {% unless include_sidebar_content contains "Liquid error" %} - {% include sidebar.html %} - {% endunless %} + {% if site.custom_sidebar %} + {% include sidebar.html %} + {% endif %} </header> <section> @@ -88,10 +86,9 @@ </section> <footer> - {% capture include_footer_content %}{% include footer.html %}{% endcapture %} - {% unless include_footer_content contains "Liquid error" %} + {% if site.custom_footer %} {% include footer.html %} - {% endunless %} + {% endif %} {% if site.github.is_project_page %} <p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p> |
