From 7b9fac8d3a37b3ce14ae84a7f3dc570272985342 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 8 Jan 2026 00:27:48 +0200 Subject: [PATCH] separate entries --- crates/http/src/main.rs | 5 +++-- crates/http/templates/info.html.tera | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/http/src/main.rs b/crates/http/src/main.rs index f88b15e..ff5be61 100644 --- a/crates/http/src/main.rs +++ b/crates/http/src/main.rs @@ -103,10 +103,11 @@ fn info( Ok(Template::render( "info", context! { - meta: meta.inner(), - title: format!("{}{S}{}", c.title, meta.title), description: c.description, link: i.link, + meta: meta.inner(), + title: format!("{}{S}{}", c.title, meta.title), + name: c.title, time: time(i.pub_date).format(&global.format_time).to_string(), }, )) diff --git a/crates/http/templates/info.html.tera b/crates/http/templates/info.html.tera index 28f8b07..deeaddf 100644 --- a/crates/http/templates/info.html.tera +++ b/crates/http/templates/info.html.tera @@ -1,7 +1,7 @@ {% extends "layout" %} {% block content %}
-

{{ title }}

+

{{ name }}

{{ time }}
{{ description | safe }}