diff --git a/_includes/html-head.html b/_includes/html-head.html new file mode 100644 index 0000000..98b924d --- /dev/null +++ b/_includes/html-head.html @@ -0,0 +1,12 @@ + + + + + {{ page.title }} · {{ site.name }} {% if page.category == 'docs' %}Docs{% elsif page.category == 'demos' %}Demo{% endif %} + + + + + + + diff --git a/_layouts/demo.html b/_layouts/demo.html index e7b8577..9f63b7f 100644 --- a/_layouts/demo.html +++ b/_layouts/demo.html @@ -1,15 +1,4 @@ - - - - - {{ page.title }} · {{ site.name }} Demo - - - - - - - +{% include html-head.html %}

{{ site.name }} Demo

diff --git a/_layouts/doc.html b/_layouts/doc.html index 34ef548..996ffc1 100644 --- a/_layouts/doc.html +++ b/_layouts/doc.html @@ -1,15 +1,4 @@ - - - - - {{ page.title }} · {{ site.name }} Docs - - - - - - - +{% include html-head.html %}