diff --git a/crates/app/src/public/html/root.lisp b/crates/app/src/public/html/root.lisp
index 4fc5b81..0cd836f 100644
--- a/crates/app/src/public/html/root.lisp
+++ b/crates/app/src/public/html/root.lisp
@@ -151,7 +151,7 @@
}
});
}"))))))
- (text "{% elif user and renew_policy_consent -%}")
+ (text "{% elif user and renew_policy_consent and not hide_policies -%}")
; renew policy consent
(article
(main
@@ -174,6 +174,7 @@
(a
("href" "{{ config.policies.privacy }}")
(text "Privacy policy"))))
+ (p ("style" "margin: 1rem 0 0") (text "Policies last updated: ") (span ("class" "date") (text "{{ config.policies.last_updated }}")))
(hr ("class" "margin"))
(button
("onclick" "update_policy_consent()")
diff --git a/crates/app/src/routes/pages/misc.rs b/crates/app/src/routes/pages/misc.rs
index 16011cc..915df77 100644
--- a/crates/app/src/routes/pages/misc.rs
+++ b/crates/app/src/routes/pages/misc.rs
@@ -567,6 +567,7 @@ pub async fn markdown_document_request(
let mut context = initial_context(&data.0.0.0, lang, &user).await;
context.insert("file", &file);
context.insert("file_name", &name);
+ context.insert("hide_policies", &true);
// return
Ok(Html(data.1.render("misc/markdown.html", &context).unwrap()))