hswro_org/_layouts/default.html

35 lines
1.7 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% if page.title %}{{page.title}}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--<link rel="icon" type="image/png" href="{{ '/images/favicon-32x32.svg' | relative_url }}">-->
<!-- Self host font -->
<!-- <link rel="preload" href="{{ '/assets/fonts/playfair-display.woff2' | relative_url }}" as="font" type="font/woff2" crossorigin> -->
<link href="{{ '/assets/css/style.css' | relative_url }}" rel="stylesheet">
{% if page.description %}<meta name="description" content="{{ page.description }}" />{% endif %}
{% if page.meta_title %}<meta property="og:title" content="{{ page.meta_title }}"/>{% else %}<meta property="og:title" content="{{ page.title }}"/>{% endif %}
<meta property="og:type" content="website"/>
<meta property="og:url" content="{{ url }}"/>
{% if page.image %}<meta property="og:image" content="{{ page.image | absolute_url }}"/>{% endif %}
{% if page.description %}<meta property="og:description" content="{{ page.description }}"/>{% endif %}
<meta name="twitter:card" content="summary"/>
{% if site.data.seo.meta_twitter_site %}<meta name="twitter:site" content="{{ site.seo.meta_twitter_site }}"/>{% endif %}
{% if site.data.seo.meta_twitter_creator %}<meta name="twitter:creator" content="{{ site.seo.meta_twitter_creator }}"/>{% endif %}
</head>
<body class='page {{layout.bodyClass}}'>
{% include main-menu-mobile.html %}
<div id="wrapper" class="wrapper">
{% include header.html headerClass='header-extra' %}
{{content}}
</div>
{% include footer.html %}
{% include sub-footer.html %}
</body>
</html>