separate entries

This commit is contained in:
yggverse 2026-01-08 00:27:48 +02:00
parent 54b3ad7d89
commit 7b9fac8d3a
2 changed files with 4 additions and 3 deletions

View file

@ -103,10 +103,11 @@ fn info(
Ok(Template::render( Ok(Template::render(
"info", "info",
context! { context! {
meta: meta.inner(),
title: format!("{}{S}{}", c.title, meta.title),
description: c.description, description: c.description,
link: i.link, 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(), time: time(i.pub_date).format(&global.format_time).to_string(),
}, },
)) ))

View file

@ -1,7 +1,7 @@
{% extends "layout" %} {% extends "layout" %}
{% block content %} {% block content %}
<div> <div>
<h1>{{ title }}</h1> <h1>{{ name }}</h1>
<a href="{{ link }}">{{ time }}</a> <a href="{{ link }}">{{ time }}</a>
<div> <div>
{{ description | safe }} {{ description | safe }}