58 lines
No EOL
2.5 KiB
HTML
58 lines
No EOL
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{ article.title }} - {{ site.name }}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta property="og:site_name" content="{{ site.name }}" />
|
|
<meta property="og:title" content="{{ article.title }}" />
|
|
<meta property="og:description" content="{{ article.summary }}" />
|
|
<meta property="og:type" content="article" />
|
|
<meta property="og:image" content="{{ site.baseUrl }}/{{ asset(article.custom.photo) }}" />
|
|
<meta property="article:published_time" content="{{ article.createdAt.isoformat }}" />
|
|
<meta property="article:modified_time" content="{{ article.modifiedAt.isoformat }}" />
|
|
<meta property="article:author" content="{{ article.modifiedBy }}" />
|
|
|
|
<link rel="stylesheet" href="{{ static('style.css') }}">
|
|
</head>
|
|
<body>
|
|
<div id="page-content">
|
|
<article id="post">
|
|
<header>
|
|
<p id="title">
|
|
<a href="">{{ article.title }}</a>
|
|
</p>
|
|
<p id="description">
|
|
{{ article.summary }}
|
|
</p>
|
|
<div id="details">
|
|
{% if site.custom.defaultAuthor != article.createdBy %}
|
|
<span>{{ article.createdBy }}</span>,
|
|
{% endif %}
|
|
<span title='{{ article.createdAt | date("dd.MM.yyyy") }}'>{{ article.createdAt | date("dd.MM.yyyy") }}</span>
|
|
<span class="separator">|</span>
|
|
<span>5 min read</span>
|
|
</div>
|
|
</header>
|
|
|
|
{% if article.custom.containsKey("photo") %}
|
|
<div id="image">
|
|
<img id="front-image" src="{{ asset(article.custom.photo) }}">
|
|
<img id="blurred-image" src="{{ asset(article.custom.photo) }}">
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div id="content">
|
|
{{ article.htmlContent | raw }}
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
|
|
<div id="footer">
|
|
<p>Last modified {{ article.modifiedAt | date("dd.MM.yyyy HH:mm") }} UTC by {{ article.modifiedBy }}</p>
|
|
<p>Content on m724.eu is licensed under <a href="https://creativecommons.org/licenses/by/4.0" target="_blank" rel="license noopener noreferrer">CC BY 4.0</a></p>
|
|
</div>
|
|
</body>
|
|
</html> |