feat: meta tag changes

This commit is contained in:
Devin Haska 2024-02-27 21:20:44 -08:00
parent b1d26c3dbe
commit bad31c1772
3 changed files with 15 additions and 17 deletions

View file

@ -1,11 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- charset/http-equiv/viewport -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#0e90a4" />
<title>
{% if title %}{{ title }} •{% endif %}
{{ meta.siteName }}

View file

@ -1,6 +1,13 @@
<base href="{{ page.url }}" />
<meta name="description" content="{{ meta.siteDescription }}" />
<meta name="theme-color" content="{{ colors.aqua[400] }}" />
<meta property="og:title"
content="{% if title %}{{ title }} • {% endif %}{{ meta.siteName }}" />
<meta name="description"
content="{% if description %}{{ description }}{% else %}{{ meta.siteDescription }}{% endif %}" />
<meta property="og:description"
content="{% if description %}{{ description }}{% else %}{{ meta.siteDescription }}{% endif %}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ fullUrl }}" />
<meta name="theme-color" content="#0e90a4" />
<meta name="robots" content="index,follow" />
<meta name="googlebot" content="index,follow" />
<meta name="generator" content="{{ eleventy.generator }}" />
@ -9,3 +16,7 @@
<link rel="canonical" href="{{ meta.url }}{{ page.url }}" />
<link rel="icon" href="/assets/images/favicon.png" sizes="any" />
<link rel="shortcut icon" href="/assets/images/favicon.png" />
<link rel="alternate"
type="application/rss+xml"
title="RSS feed for {{ meta.siteName }}"
href="/rss.xml" />