From 52c5442d372dda56eb636a9a40971100dd110373 Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Sun, 13 May 2012 10:02:41 +0100 Subject: [PATCH] [#112,theme,jekyll][s]: new container template (good for pure markdown pages), pygments css and option to include recline deps in the main template (useful for examples). --- _includes/recline-deps.html | 32 +++++++++++++++++++ _layouts/container.html | 8 +++++ _layouts/default.html | 9 +++++- css/pygments.css | 61 +++++++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 _includes/recline-deps.html create mode 100644 _layouts/container.html create mode 100644 css/pygments.css diff --git a/_includes/recline-deps.html b/_includes/recline-deps.html new file mode 100644 index 00000000..a03aa292 --- /dev/null +++ b/_includes/recline-deps.html @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/_layouts/container.html b/_layouts/container.html new file mode 100644 index 00000000..4abf7ae8 --- /dev/null +++ b/_layouts/container.html @@ -0,0 +1,8 @@ +--- +layout: default +--- + +
+ {{content}} +
+ diff --git a/_layouts/default.html b/_layouts/default.html index 8f60ae47..73a79abd 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -10,8 +10,15 @@ - + {% if page.recline-deps %} + {% include recline-deps.html %} + {% endif %} + + + + +