make public pages based off a .public property, not a .navbar property
1 files changed, 2 insertions(+), 2 deletions(-)

M site.arc
M site.arc +2 -2
@@ 199,7 199,7 @@ page-specific-headers"
                       (map [string published-folder "/" _]
                            published-files))
           sorted-options (get-sorted-options-for-files files)
-          navbar-options (keep get!navbar sorted-options))
+          navbar-options (keep get!public sorted-options))
          (tostring (tag (nav id "navbar")
                         (awhen config!slogan (para it))
                         (prn)

          
@@ 609,7 609,7 @@ pregenerated-folder
 
 (def page-is-public (page-options)
   "Whether the page is public."
-  (and page-options!navbar
+  (and page-options!public
        page-options!frontpage))
 
 (def get-tags (files)