feat: add variable page description

This commit is contained in:
Gabriel Fontes
2021-06-08 21:26:01 -03:00
parent da50595e45
commit 8497a9288e
5 changed files with 19 additions and 4 deletions
+1
View File
@@ -1,6 +1,7 @@
---
layout: default
title: 404
description: Page not found
---
# 404
Page not found. Try the [home](/).
+2
View File
@@ -1 +1,3 @@
include: [".well-known"]
description: "My personal website and projects"
+14 -4
View File
@@ -5,10 +5,17 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gabriel Fontes | {{ page.title }}</title>
<link rel="canonical" href="https://misterio.me{{ page.url }}" />
<meta name="description" content="My personal website and projects" />
<meta
name="description"
content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"
/>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="//code.iconify.design/1/1.0.6/iconify.min.js" as="script" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
rel="preload"
href="//code.iconify.design/1/1.0.6/iconify.min.js"
as="script"
/>
<link rel="preload" href="/assets/schemes/list.js" as="script" />
<link rel="preload" href="/assets/main.js" as="script" />
<link rel="preload" href="/assets/imports/prism.js" as="script" />
@@ -27,7 +34,10 @@
<link rel="preload" href="/assets/imports/water.css" as="style" />
<link rel="preload" href="/assets/style.css" as="style" />
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans:ital,wght@0,400;0,700;1,400;1,700&display=block" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans:ital,wght@0,400;0,700;1,400;1,700&display=block"
rel="stylesheet"
/>
<link rel="stylesheet" href="/assets/imports/polyfills/dialog.css" />
<link rel="stylesheet" href="/assets/prism.css" />
<link rel="stylesheet" href="/assets/imports/water.css" />
@@ -1,6 +1,7 @@
---
layout: post
author: Gabriel Fontes
description: About my new website, featuring 170+ color schemes
---
Here's a writeup on how i made this website
+1
View File
@@ -1,6 +1,7 @@
---
layout: default
title: Blog
description: My personal thoughts, rants, and occasional guide
---
<h1>Latest Posts</h1>