From ec5aba35fbd09e72f8251bf1b7722c52fca22825 Mon Sep 17 00:00:00 2001 From: muflax Date: Wed, 16 Jan 2013 23:54:59 +0100 Subject: [PATCH] gospel reorg --- content_gospel/{ => apocrypha}/evangelium-teutonicum.mkd | 0 content_gospel/apocrypha/index.mkd | 6 ++++++ content_gospel/{ => heresy}/gospel.mkd | 0 content_gospel/heresy/index.mkd | 6 ++++++ content_gospel/{ => heresy}/sayings.mkd | 0 content_gospel/{ => heresy}/sermon-of-peter.mkd | 0 content_gospel/super/index.mkd | 6 ++++++ content_gospel/{ => super}/mark.mkd | 0 lib/meta.rb | 8 ++++++++ 9 files changed, 26 insertions(+) rename content_gospel/{ => apocrypha}/evangelium-teutonicum.mkd (100%) create mode 100644 content_gospel/apocrypha/index.mkd rename content_gospel/{ => heresy}/gospel.mkd (100%) create mode 100644 content_gospel/heresy/index.mkd rename content_gospel/{ => heresy}/sayings.mkd (100%) rename content_gospel/{ => heresy}/sermon-of-peter.mkd (100%) create mode 100644 content_gospel/super/index.mkd rename content_gospel/{ => super}/mark.mkd (100%) diff --git a/content_gospel/evangelium-teutonicum.mkd b/content_gospel/apocrypha/evangelium-teutonicum.mkd similarity index 100% rename from content_gospel/evangelium-teutonicum.mkd rename to content_gospel/apocrypha/evangelium-teutonicum.mkd diff --git a/content_gospel/apocrypha/index.mkd b/content_gospel/apocrypha/index.mkd new file mode 100644 index 0000000..2809d9c --- /dev/null +++ b/content_gospel/apocrypha/index.mkd @@ -0,0 +1,6 @@ +--- +title: Apocrypha +is_category: true +--- + +<%= category :apocrypha %> diff --git a/content_gospel/gospel.mkd b/content_gospel/heresy/gospel.mkd similarity index 100% rename from content_gospel/gospel.mkd rename to content_gospel/heresy/gospel.mkd diff --git a/content_gospel/heresy/index.mkd b/content_gospel/heresy/index.mkd new file mode 100644 index 0000000..d8d6658 --- /dev/null +++ b/content_gospel/heresy/index.mkd @@ -0,0 +1,6 @@ +--- +title: Heresy +is_category: true +--- + +<%= category :heresy %> diff --git a/content_gospel/sayings.mkd b/content_gospel/heresy/sayings.mkd similarity index 100% rename from content_gospel/sayings.mkd rename to content_gospel/heresy/sayings.mkd diff --git a/content_gospel/sermon-of-peter.mkd b/content_gospel/heresy/sermon-of-peter.mkd similarity index 100% rename from content_gospel/sermon-of-peter.mkd rename to content_gospel/heresy/sermon-of-peter.mkd diff --git a/content_gospel/super/index.mkd b/content_gospel/super/index.mkd new file mode 100644 index 0000000..1892f2a --- /dev/null +++ b/content_gospel/super/index.mkd @@ -0,0 +1,6 @@ +--- +title: Super-Texts +is_category: true +--- + +<%= category :super %> diff --git a/content_gospel/mark.mkd b/content_gospel/super/mark.mkd similarity index 100% rename from content_gospel/mark.mkd rename to content_gospel/super/mark.mkd diff --git a/lib/meta.rb b/lib/meta.rb index 81d3a4c..28636fa 100644 --- a/lib/meta.rb +++ b/lib/meta.rb @@ -25,6 +25,14 @@ def poem &block end end +# interpolations; highlight them +def interpolation &block + annotate block do |c| + div_wrap :interpolation, c + end +end + + def annotate content, &filter # get erbout so far erbout = eval('_erbout', content.binding)