Add support for metatags
This commit is contained in:
parent
ae440be40c
commit
4564aa9534
25 changed files with 230 additions and 22 deletions
|
|
@ -20,6 +20,24 @@
|
|||
<script src="https://cdn.jsdelivr.net/npm/idiomorph"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/frankenphp-hot-reload/+esm" type="module"></script>
|
||||
{% endif %}
|
||||
|
||||
<!-- Metatags -->
|
||||
<meta name="title" content="{% block metatitle %}{% endblock %}" />
|
||||
<meta name="description" content="{% block metadescription %}{% endblock %}" />
|
||||
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alexdaniels.me" />
|
||||
<meta property="og:title" content="{% block ogtitle %}{% endblock %}" />
|
||||
<meta property="og:description" content="{% block ogdescription %}{% endblock %}" />
|
||||
<meta property="og:image" content="{% block ogimage %}{% endblock %}" />
|
||||
|
||||
<!-- X (Twitter) -->
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:url" content="https://alexdaniels.me" />
|
||||
<meta property="twitter:title" content="{% block twittertitle %}{% endblock %}" />
|
||||
<meta property="twitter:description" content="{% block twitterdescription %}{% endblock %}" />
|
||||
<meta property="twitter:image" content="{% block twitterimage %}{% endblock %}" />
|
||||
|
||||
</head>
|
||||
<body class="secondary layout--v1 {{ app.user ? 'auth': '' }}">
|
||||
<div id="root">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue