1
0
Fork 0
owenryan.us/source/_includes/head.html

32 lines
1.4 KiB
HTML
Raw Normal View History

2023-05-16 03:59:18 +00:00
<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">
2024-02-06 04:13:57 +00:00
{% comment %}
Load fontawesome here for faster loadtimes: https://stackoverflow.com/a/35880730/9523246
{% endcomment %}
2023-05-16 03:59:18 +00:00
<script>
2024-04-17 20:58:49 +00:00
lazyLoadCSS('https://use.fontawesome.com/releases/v6.5.2/css/all.css');
2023-05-16 03:59:18 +00:00
</script>
</head>