From b68530f73911ccf4fbb79197ae5d551438e61e7b Mon Sep 17 00:00:00 2001 From: Adam Schmideg Date: Wed, 16 Jan 2019 17:38:35 +0100 Subject: [PATCH] Enable page-specific css --- _includes/head.html | 27 +++++++++++++++++++++++++++ _layouts/default.html | 26 ++------------------------ index.html | 2 ++ 3 files changed, 31 insertions(+), 24 deletions(-) create mode 100644 _includes/head.html diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000000..787476479a --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,27 @@ + + + + + + Go Ethereum + + + + + + + + {% if page.css %} + {% for css in page.css %} + + {% endfor %} + {% endif %} + + + + + + + + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 1423dfa028..b2ece5740e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,28 +1,6 @@ - - - - - - Go Ethereum - - - - - - - - - - - - - - - - - + {% include head.html %} - {{ page.content }} + {{ content }}