diff --git a/_layouts/ebook/page.html b/_layouts/ebook/page.html
index 59e70191c69cca7893e345fee7dfe757222409e6..523036fa8577a7f15f9674b3c68ccc1014c8f1d8 100644
--- a/_layouts/ebook/page.html
+++ b/_layouts/ebook/page.html
@@ -1,5 +1,11 @@
{% extends "layout.html" %}
+{% block style %}
+
+
+ {{ super() }}
+{% endblock %}
+
{% block body %}
{% block page %}
diff --git a/_layouts/ebook/pdf_footer.html b/_layouts/ebook/pdf_footer.html
index 3870a525deeb8058be1059b914b433b66da2211d..3bf5f1a793b2f26c38f5a2be6e5c8f8147adcd5e 100644
--- a/_layouts/ebook/pdf_footer.html
+++ b/_layouts/ebook/pdf_footer.html
@@ -1,4 +1,4 @@
-{% extends "layout.html" %}
+{% extends "./page.html" %}
{% block body %}