lib/gollum/page.rb in gollum-2.1.0 vs lib/gollum/page.rb in gollum-2.1.2

- old
+ new

@@ -215,9 +215,17 @@ return @parent_page.toc_data if @parent_page and @sub_page formatted_data if markup_class.toc == nil markup_class.toc end + # Public: Embedded metadata. + # + # Returns Hash of metadata. + def meta_data() + formatted_data if markup_class.metadata == nil + markup_class.metadata + end + # Public: The format of the page. # # Returns the Symbol format of the page. One of: # [ :markdown | :textile | :rdoc | :org | :rest | :asciidoc | :pod | # :roff ]