fbd4e92e9f
Full rewrite: swap out the v1 framework (src/, controllers/, views/, twig/, sass/, skeleton/) for the working v2 codebase from phpproject (App/, novaconium/, public/).
41 lines
1.7 KiB
Twig
41 lines
1.7 KiB
Twig
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
{% include '_layout/theme-init.twig' %}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}{{ site_name }}{% endblock %}</title>
|
|
<meta name="description" content="{% block description %}A tiny, Hugo-flavored PHP micro-framework site.{% endblock %}">
|
|
<meta name="robots" content="{% block robots %}index, follow{% endblock %}">
|
|
<link rel="canonical" href="{% block canonical %}{{ request_path|default('/') }}{% endblock %}">
|
|
<link rel="icon" href="/favicon.ico">
|
|
|
|
{# Open Graph / Facebook #}
|
|
<meta property="og:type" content="{% block og_type %}website{% endblock %}">
|
|
<meta property="og:title" content="{% block og_title %}{{ block('title') }}{% endblock %}">
|
|
<meta property="og:description" content="{% block og_description %}{{ block('description') }}{% endblock %}">
|
|
<meta property="og:url" content="{% block og_url %}{{ block('canonical') }}{% endblock %}">
|
|
<meta property="og:site_name" content="{{ site_name }}">
|
|
|
|
{# Twitter #}
|
|
<meta name="twitter:card" content="{% block twitter_card %}summary{% endblock %}">
|
|
<meta name="twitter:title" content="{% block twitter_title %}{{ block('title') }}{% endblock %}">
|
|
<meta name="twitter:description" content="{% block twitter_description %}{{ block('description') }}{% endblock %}">
|
|
|
|
<link rel="stylesheet" href="/css/main.css">
|
|
|
|
{% include '_layout/matomo.twig' %}
|
|
</head>
|
|
<body>
|
|
<header>
|
|
{% include '_layout/nav.twig' %}
|
|
</header>
|
|
<main>
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
<footer>
|
|
<small>© {{ "now"|date("Y") }} {{ site_name }}</small>
|
|
</footer>
|
|
</body>
|
|
</html>
|