Move website source to /source
This commit is contained in:
parent
530fc76ede
commit
6981ccad43
81 changed files with 8 additions and 34 deletions
30
source/_includes/head.html
Normal file
30
source/_includes/head.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{% comment %}
|
||||
Set meta description to the page description if it has one, otherwise fallback to the site description
|
||||
{% endcomment %}
|
||||
<meta name="description"
|
||||
content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
|
||||
{% comment %}
|
||||
Add page keywords if there are any
|
||||
{% endcomment %}
|
||||
{% assign tags = site.SEO_tags %}
|
||||
{% if page.SEO_tags %}
|
||||
{% assign tags = tags | concat: page.SEO_tags %}
|
||||
{% endif %}
|
||||
<meta name="keywords" content="{{ tags | join: ", " }}">
|
||||
<meta name="author" content="{{ site.author }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{%- if page.title -%}{{ page.title }} | {% endif %}{{ site.title }}</title>
|
||||
<script src="/assets/utils.js"></script>
|
||||
{% comment %}
|
||||
Dependencies are self-hosted instead of using a public CDN.
|
||||
See this article for more info https://httptoolkit.com/blog/public-cdn-risks/
|
||||
{% endcomment %}
|
||||
<link href="/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/css/style.css" rel="stylesheet">
|
||||
<!-- Load fontawesome here for faster loadtimes: https://stackoverflow.com/a/35880730/9523246 -->
|
||||
<script>
|
||||
lazyLoadCSS('https://use.fontawesome.com/releases/v6.4.0/css/all.css');
|
||||
</script>
|
||||
</head>
|
Loading…
Add table
Add a link
Reference in a new issue