70 lines
3.3 KiB
HTML
Raw Normal View History

2021-05-23 23:14:53 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
2021-06-28 22:49:25 +02:00
<title>{{ title }}</title>
2021-07-30 11:59:51 +02:00
<meta name="description" content="My static news generator">
<meta name="generator" content="RSSPAPER">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<link rel="icon" type="image/png" href="static/img/icons/favicon.png">
<meta name="theme-color" content="#3c790a">
2021-07-19 00:02:21 +02:00
<!-- PWA -->
2021-07-19 00:00:10 +02:00
<link rel="manifest" href="static/manifest.json" />
2021-07-30 11:59:51 +02:00
<link rel="apple-touch-icon" href="static/img/icons/apple-icon-180.png">
<meta name="apple-mobile-web-app-capable" content="yes">
2021-07-19 00:02:21 +02:00
<!-- ios support -->
<meta name="apple-mobile-web-app-status-bar" content="#fff" />
<meta name="theme-color" content="#db4938" />
<!-- End PWA -->
2021-07-30 11:59:51 +02:00
<!-- Opengraph -->
2021-05-23 23:14:53 +02:00
<meta property="og:image" content="img/screenshot.png">
2021-07-30 11:59:51 +02:00
<meta property="og:title" content="{{ title }}">
2021-05-23 23:14:53 +02:00
<meta property="og:type" content="website">
2021-07-30 11:59:51 +02:00
<!-- End Opengraph -->
2021-05-23 23:14:53 +02:00
<!-- CSS -->
2021-07-30 11:59:51 +02:00
<link rel="stylesheet" type="text/css" href="static/css/normalize.css">
<link rel="stylesheet" href="static/css/main.css">
2021-07-31 01:22:18 +02:00
<link href="static/css/mobile.css" rel="stylesheet" media="all and (max-width: 600px)">
<link href="static/css/desktop.css" rel="stylesheet" media="all and (min-width: 601px)">
2021-05-23 23:14:53 +02:00
<!-- End CSS -->
</head>
<body>
2021-06-28 22:49:25 +02:00
<div class="container">
<header class="header">
<h1 class="title">{{ title }}</h1>
<h2 class="subtitle"><span class="subtitle__separator">~</span> <span class="subtitle__text">My static generate newspaper</span> <span class="subtitle__separator">~</span></h2>
<hr class="separator">
</header>
<main class="main">
2021-07-02 21:29:55 +02:00
{% for article in articles %}
2021-07-07 00:43:45 +02:00
<article class="feed__article article">
2021-07-03 08:40:17 +02:00
<header class="article__header">
<p class="article__header-img">
2021-07-07 00:43:45 +02:00
<a target="_blank" href="{{ article.link }}">
{% if article.cover %}
<img loading="lazy" src="{{ article.cover }}" alt="{{ article.title }}">
{% else %}
2021-07-31 21:30:57 +02:00
<img loading="lazy" src="static/img/newsreader-not-cover.png" alt="Not cover">
2021-07-07 00:43:45 +02:00
{% endif %}
</a>
2021-07-03 08:40:17 +02:00
</p>
<div class="article__titles">
2021-07-07 00:43:45 +02:00
<h1 class="article__title">
<a target="_blank" href="{{ article.link }}">{{ article.title }}</a>
</h1>
<h2 class="article__feed"><a target="_blank" href="{{ article.feed.link }}">{{ article.feed.title }}</a> <span class="article__date">{{ article.published-date-formatter }}</span></h2>
2021-07-03 08:40:17 +02:00
</div>
</header>
</article>
2021-06-02 07:35:26 +02:00
{% endfor %}
2021-06-28 22:49:25 +02:00
</main>
</div>
<footer class="footer">
<hr class="separator">
<p class="footer__text">
Generated with <a class="footer__link" href="https://github.com/tanrax/RSSpaper">RSSpaper</a> and a lot of <span class="footer__heard">❤️</span>
</p>
</footer>
2021-05-23 23:14:53 +02:00
</body>
</html>