lib/parade/parsers/dsl.rb in parade-0.9.2 vs lib/parade/parsers/dsl.rb in parade-0.10.0
- old
+ new
@@ -99,9 +99,17 @@
#
def theme(theme_name)
current_section.theme = theme_name
end
+ #
+ # Sets the current sections footer to the specified template file
+ # @note this will only work at the top level section of the presentation
+ #
+ def footer(footer_name)
+ current_section.footer = File.join(options[:current_path], footer_name)
+ end
+
def pause_message(message)
current_section.pause_message = message
end
# @return [Hash] configuration options that the DSL class will use
\ No newline at end of file