@use crate::{Entry, State}; @use super::image_preview_html; @use uuid::Uuid; @(id: Uuid, entry: &Entry, state: &State) @:image_preview_html(id, entry, state)
@if let Some(title) = entry.title.as_ref() {
@title
} @if let Some(description) = entry.description.as_ref() {
@description
} @if let Some(link) = entry.link.as_ref() {
@link
}