diff --git a/TODOS.md b/TODOS.md index 889f30a..21d6606 100644 --- a/TODOS.md +++ b/TODOS.md @@ -45,6 +45,7 @@ - [ ] Integrity hash - Allows users to verify their output didn't change after upgrading to a new version - [ ] Content-hash fingerprinting for CSS and JS cache busting +- [ ] try to combine render_page_html and render_home_html? - [ ] Avoid `json.Value` / `json.Object` where possible. - [ ] Create a json schema file for `thor.json`. - [ ] make `parse` an overload of `parse_text/parse_inline` and `parse_file`, or something. diff --git a/bench/templates/base.html b/bench/templates/base.html index f51cc8b..ff21c61 100644 --- a/bench/templates/base.html +++ b/bench/templates/base.html @@ -6,7 +6,7 @@ {{$nav}}{{/nav}} - {{$content}}{{/content}} + {{$main}}{{/main}} {{$sidebar}}{{/sidebar}} {{$footer}}{{/footer}} diff --git a/bench/templates/page.html b/bench/templates/page.html index d1523b4..00c0295 100644 --- a/bench/templates/page.html +++ b/bench/templates/page.html @@ -12,7 +12,7 @@ {{/nav}} -{{$content}} +{{$main}}

Archive

{{#posts | group_by year}} @@ -26,7 +26,7 @@ {{/posts}}
-{{/content}} +{{/main}} {{$sidebar}}