mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 17:15:29 +00:00
separate entries
This commit is contained in:
parent
54b3ad7d89
commit
7b9fac8d3a
2 changed files with 4 additions and 3 deletions
|
|
@ -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(),
|
||||
},
|
||||
))
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "layout" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<h1>{{ title }}</h1>
|
||||
<h1>{{ name }}</h1>
|
||||
<a href="{{ link }}">{{ time }}</a>
|
||||
<div>
|
||||
{{ description | safe }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue