mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 17:15:29 +00:00
initial commit
This commit is contained in:
parent
fc4f0d6d1c
commit
0506b4dcb2
11 changed files with 455 additions and 1 deletions
49
template/html/index.html
Normal file
49
template/html/index.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{language}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{title}</title>
|
||||
<style>
|
||||
* {
|
||||
color-scheme: light dark
|
||||
}
|
||||
body {
|
||||
margin: 0 auto;
|
||||
max-width: 1024px
|
||||
}
|
||||
header {
|
||||
border-bottom: 1px #ccc dotted;
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
section > article {
|
||||
border-bottom: 1px #ccc dotted;
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
footer {
|
||||
font-size: small;
|
||||
padding: 16px 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>{title}</h1>
|
||||
{description}
|
||||
</header>
|
||||
<section>
|
||||
{items}
|
||||
</section>
|
||||
<footer>
|
||||
<p>
|
||||
Source: <a href="{link}">{title}</a> |
|
||||
Updated: {pub_date} |
|
||||
Build: {last_build_date} |
|
||||
Generated: {time_generated}
|
||||
</p>
|
||||
<p>
|
||||
Powered by <a href="https://github.com/YGGverse/rssto">rssto</a>.
|
||||
</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
5
template/html/index/item.html
Normal file
5
template/html/index/item.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<article>
|
||||
<h2>{title}</h2>
|
||||
<p>{description}</p>
|
||||
<a href="{link}">{time}</a>
|
||||
</article>
|
||||
Loading…
Add table
Add a link
Reference in a new issue