Init with some changes to the Serif Theme
This commit is contained in:
commit
912d143813
243 changed files with 15251 additions and 0 deletions
41
_layouts/default.html
Normal file
41
_layouts/default.html
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!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 }}">
|
||||
<!-- Google Fonts CDN -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
|
||||
<!-- 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 %}
|
||||
<script type="text/javascript" src="{{ '/assets/js/scripts.js' | relative_url }}"></script>
|
||||
{% include google-analytics.html %}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue