about summary refs log tree commit diff
path: root/src/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/templates/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frontend/templates/mod.rs b/src/frontend/templates/mod.rs
index dbc23c9..e6dec51 100644
--- a/src/frontend/templates/mod.rs
+++ b/src/frontend/templates/mod.rs
@@ -98,6 +98,11 @@ markup::define! {
                             }
                         }
                     }
+                    @if post["properties"]["visibility"][0].as_str().unwrap_or("public") != "public" {
+                        span."p-visibility"[value=post["properties"]["visibility"][0].as_str().unwrap()] {
+                            @post["properties"]["visibility"][0].as_str().unwrap()
+                        }
+                    }
                     @if post["properties"]["category"].is_array() {
                         span {
                             ul.categories {