diff --git a/lib/host/blog.sx b/lib/host/blog.sx index ed48f5db..b1b7464c 100644 --- a/lib/host/blog.sx +++ b/lib/host/blog.sx @@ -483,6 +483,10 @@ ;; itself). The wrapper boosts every link/form inside, targeting ;; #content; #content is the swap target. (div :sx-boost "#content" + ;; persistent top nav OUTSIDE #content, so it survives every + ;; content swap; the Home link is boosted (SPA nav to /). + (nav :style "padding:0.75em 0;border-bottom:1px solid #ccc;margin-bottom:1em" + (a :href "/" :style "font-weight:bold;text-decoration:none" "Home")) (div :id "content" (unquote body))))))))))) ;; Wrap a host/blog--page result in a response with the matching content-type: