forked from yinan-c/RSS-GPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html
128 lines (91 loc) · 3.02 KB
/
template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="stylesheet" href="/theme.css" />
<link rel="stylesheet" href="/style.css" />
<title>RSS feeds - 1nan</title>
<style>
img {
max-width: 100% !important;
height: auto !important;
}
</style>
</head>
<body>
<div style="display: flex; justify-content: space-between; align-items: center;">
<div id="header-created-at">
<span style="font-size: 0.5 em; color: #888;"> {{update_time}} </span>
</div>
<div id="header-home-link" style="font-size: 0.5 em;">
<a href="/index.html">< Home</a>
</div>
</div>
<main>
<h1>RSS feeds processed with <a href="https://github.com/yinan-c/rss-gpt">RSS-GPT</a></h1>
{% for feed in feeds %}
<ul>
<li><a href="{{feed.url}}">{{feed.url}}</a> -> <a href="{{feed.name}}">{{feed.name}}.xml</a></li>
</ul>
{% endfor %}
<style>
.nav-button {
padding: 10px 20px;
background-color: #F2F2F2; /* Light grey */
border: none;
color: black; /* Change text color to black for visibility against transparent background */
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
margin: 4px 2px;
cursor: pointer;
transition-duration: 0.4s;
border-radius: 5px;
width: 48%; /* Set the width to approximately half the page */
white-space: normal; /* Allow text to wrap onto a new line */
box-sizing: border-box; /* Include padding and border in element's total width and height */
}
@media (max-width: 600px) {
.nav-button {
font-size: 12px; /* 在小屏幕上减小字体大小 */
}
}
.nav-button a {
color: inherit; /* Inherit text color from parent element */
text-decoration: none;
}
.nav-button:hover {
background-color: #EAEAEA; /* Dark grey on hover */
}
#prev-button {
float: left;
text-align: left;
}
#next-button {
float: right;
text-align: right;
}
</style>
<br>
</main>
<div id="updated-at">
<span>Updated: {{update_time}}</span>
</div>
<div id="footer">
<div id="footer-home-link">
<a href="/index.html">< Home</a>
</div>
<p id="footer-body">
With <a href = "https://github.com/yinan-c/RSS-GPT"><img src="/pics/github-mark.png" width="15" height="15" style="vertical-align: text-top;"> yinan-c/RSS-GPT</a> by <a href="https://yinan.me">Yinan</a>
<a href="http://creativecommons.org/licenses/by/4.0/"><img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/png/by.png" alt="Creative Commons Licence" width="45" style="vertical-align: text-top;" ></a>
· Powered by <a href="https://github.com/yinan-c/pyboke">PyBoke</a>
· Subscribe via <a href="/atom.xml"> RSS <img src="https://wp-assets.rss.com/blog/wp-content/uploads/2019/10/10111557/social_style_3_rss-512-1.png" alt="RSS" width="15" height="15" style="vertical-align: text-top;"></a>
</p>
</div>
</body>
</html>