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)