Add support for embedded page metadata.

This commit is contained in:
trans
2012-07-07 17:41:44 -04:00
committed by 7rans
parent 33f133b8b2
commit 71028adc9e
4 changed files with 97 additions and 0 deletions
+11
View File
@@ -79,6 +79,17 @@ module Precious
def mathjax
@mathjax
end
# Access to embedded metadata.
#
# Examples
#
# {{#metadata}}{{name}}{{/metadata}}
#
# Returns Hash.
def metadata
@page.metadata
end
end
end
end