fix blog without image
CI / frontend (push) Failing after 1s
CI / backend (push) Failing after 1s

This commit is contained in:
2026-05-21 04:09:02 +02:00
parent 4fae8b5e47
commit 37f88f5ad1
5 changed files with 37 additions and 4 deletions
+13
View File
@@ -2,6 +2,19 @@ use chrono::NaiveDate;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
#[derive(Serialize, Deserialize, Clone, Copy, PartialEq, Eq)]
#[serde(rename_all = "lowercase")]
pub enum SiteMode {
Blog,
Atelier,
}
impl Default for SiteMode {
fn default() -> Self {
Self::Atelier
}
}
#[derive(Serialize, Deserialize, Clone)]
pub struct ContactLink {
pub kind: String,