X-Git-Url: http://nitlanguage.org diff --git a/contrib/nitiwiki/src/wiki_html.nit b/contrib/nitiwiki/src/wiki_html.nit index 89546ce..10ab09b 100644 --- a/contrib/nitiwiki/src/wiki_html.nit +++ b/contrib/nitiwiki/src/wiki_html.nit @@ -52,7 +52,7 @@ redef class WikiEntry fun url: String do return wiki.config.root_url.join_path(breadcrumbs.join("/")) # Get a `` template link to `self` - fun tpl_link: Streamable do + fun tpl_link: Writable do return "{title}" end end @@ -215,7 +215,7 @@ redef class WikiArticle end # Generate the HTML header for this article. - fun tpl_header: Streamable do + fun tpl_header: Writable do var file = header_file if not wiki.has_template(file) then return "" return wiki.load_template(file) @@ -237,7 +237,7 @@ redef class WikiArticle # Generate the HTML summary for this article. # # Based on `headlines` - fun tpl_summary: Streamable do + fun tpl_summary: Writable do var headlines = self.headlines var tpl = new Template tpl.add "