diff --git a/README.adoc b/README.adoc index 2c1d09e..ff04de7 100644 --- a/README.adoc +++ b/README.adoc @@ -665,7 +665,7 @@ We update the "blog" Mustache templates. {{#articles}}
-

{{title}}

+

{{title}}

@@ -711,6 +711,7 @@ class HtmlController(private val repository: ArticleRepository) { @GetMapping("/") fun blog(model: Model): String { + model["title"] = properties.title model["articles"] = repository.findAllByOrderByAddedAtDesc().map { it.render() } return "blog" }