feat: meta tag changes
This commit is contained in:
parent
b1d26c3dbe
commit
bad31c1772
3 changed files with 15 additions and 17 deletions
|
@ -1,22 +1,11 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
url: process.env.URL || "http://localhost:8080",
|
url: process.env.URL || "http://localhost:8080",
|
||||||
siteName: "wonderulfrog",
|
siteName: "wonderulfrog",
|
||||||
siteDescription: "Devin Haska's digital garden.",
|
siteDescription:
|
||||||
|
"My name is Devin Haska and this is my little slice of the internet I call home.",
|
||||||
locale: "en_EN",
|
locale: "en_EN",
|
||||||
lang: "en",
|
lang: "en",
|
||||||
skipContent: "Skip to content",
|
|
||||||
author: "Devin Haska",
|
author: "Devin Haska",
|
||||||
meta_data: {
|
|
||||||
opengraph_default: "/assets/images/opengraph-default.jpg",
|
|
||||||
opengraph_default_alt: "",
|
|
||||||
mastodonProfile: "https://mastodon.social/@wonderfulfrog",
|
|
||||||
},
|
|
||||||
// RSS feed details.
|
|
||||||
blog: {
|
|
||||||
name: "wonderfulfrog",
|
|
||||||
description: "Devin Haska's digital garden.",
|
|
||||||
feed: "",
|
|
||||||
},
|
|
||||||
social: {
|
social: {
|
||||||
github: "https://github.com/wonderfulfrog",
|
github: "https://github.com/wonderfulfrog",
|
||||||
mastodon: "https://mastodon.social/@wonderfulfrog",
|
mastodon: "https://mastodon.social/@wonderfulfrog",
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- charset/http-equiv/viewport -->
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta name="theme-color" content="#0e90a4" />
|
|
||||||
<title>
|
<title>
|
||||||
{% if title %}{{ title }} •{% endif %}
|
{% if title %}{{ title }} •{% endif %}
|
||||||
{{ meta.siteName }}
|
{{ meta.siteName }}
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
<base href="{{ page.url }}" />
|
<base href="{{ page.url }}" />
|
||||||
<meta name="description" content="{{ meta.siteDescription }}" />
|
<meta property="og:title"
|
||||||
<meta name="theme-color" content="{{ colors.aqua[400] }}" />
|
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="robots" content="index,follow" />
|
||||||
<meta name="googlebot" content="index,follow" />
|
<meta name="googlebot" content="index,follow" />
|
||||||
<meta name="generator" content="{{ eleventy.generator }}" />
|
<meta name="generator" content="{{ eleventy.generator }}" />
|
||||||
|
@ -9,3 +16,7 @@
|
||||||
<link rel="canonical" href="{{ meta.url }}{{ page.url }}" />
|
<link rel="canonical" href="{{ meta.url }}{{ page.url }}" />
|
||||||
<link rel="icon" href="/assets/images/favicon.png" sizes="any" />
|
<link rel="icon" href="/assets/images/favicon.png" sizes="any" />
|
||||||
<link rel="shortcut icon" href="/assets/images/favicon.png" />
|
<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" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue