% title = h1 = section = "features" % feature_path = query_string.path % javascript = Mote.parse(File.read("#{Kaya::View.path}/javascript.mote"), self, []).call() % styles = Mote.parse(File.read("#{Kaya::View.path}/styles.mote"), self, []).call() % modals = Mote.parse(File.read("#{Kaya::View.path}/modals.mote"), self, []).call() % git_information = Mote.parse(File.read("#{Kaya::View.path}/git_information.mote"), self, [:section]).call(section:section) % footer = Mote.parse(File.read("#{Kaya::View.path}/footer.mote"), self, []).call() % if feature_path % content = Mote.parse(File.read("#{Kaya::View.path}/features/feature.mote"), self, [:feature_path]).call(feature_path:feature_path) % else % content = Mote.parse(File.read("#{Kaya::View.path}/features/features_list.mote"), self, []).call() % end % section = section.gsub(" ","_").downcase % navigation_bar = Mote.parse(File.read("#{Kaya::View.path}/navigation_bar.mote"), self, [:section]).call(section:section)
'{{content}}
{{footer}}