diff --git a/app/public/style.css b/app/public/style.css index c5c8218..0be8b47 100644 --- a/app/public/style.css +++ b/app/public/style.css @@ -425,7 +425,8 @@ hr { border-right: 0; } -hr.margin { +hr.margin, +.container hr { margin: var(--pad-4) 0; } diff --git a/src/model.rs b/src/model.rs index ab8c369..8babf56 100644 --- a/src/model.rs +++ b/src/model.rs @@ -92,7 +92,7 @@ pub struct EntryMetadata { /// If views are counted and shown for this entry. #[serde(default, alias = "OPTION_DISABLE_VIEWS")] pub option_disable_views: bool, - /// If this entry shows up in search engines. + /// Hides this entry for search results. #[serde(default, alias = "OPTION_DISABLE_SEARCH_ENGINE")] pub option_disable_search_engine: bool, /// The password that is required to view this entry. @@ -485,6 +485,10 @@ impl EntryMetadata { )); } + if self.option_disable_search_engine { + output.push_str(""); + } + output }