24 lines
552 B
HTML
24 lines
552 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="de">
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<title>{{page.title}}</title>
|
||
|
<head>
|
||
|
<link rel="stylesheet" href="{{"/assets/css/default.css" | relative_url}}">
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
<h1>{{page.title}}</h1>
|
||
|
</header>
|
||
|
|
||
|
{% assign title = content | newline_to_br |split: '<br />' | first %}
|
||
|
{% assign raw_title = title | strip_html | strip %}
|
||
|
|
||
|
{% if raw_title == page.title %}
|
||
|
{{ content | split: title | last }}
|
||
|
{% else %}
|
||
|
{{content}}
|
||
|
{% endif %}
|
||
|
|
||
|
</body>
|