diff options
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/serve.fnl | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index 4b8a991..14073cf 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -378,15 +378,16 @@ [:div {:class "container"} [:div {:class "content"} (aside-template form path paginator) - [:section {} + [:main {} (menu-template path) - (if (. form.tags 1) - [:h1 {} (. form.tags 1)] - "") - (if (and menu-path (. texts (.. menu-path "-description"))) - [:div {:class "description"} - [:NO-ESCAPE (. texts (.. menu-path "-description"))]] + [:article {:class "description"} + (if (. form.tags 1) + [:h1 {} (. form.tags 1)] "") + (if (and menu-path (. texts (.. menu-path "-description"))) + [:div {:class "description-text text"} + [:NO-ESCAPE (. texts (.. menu-path "-description"))]] + "")] (if (< 0 (# items)) [:div {:class "list"} (table.unpack (map #(item-template $2) items))] |
