mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 09:05: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(
|
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(),
|
||||||
},
|
},
|
||||||
))
|
))
|
||||||
|
|
|
||||||
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue