Skip to content

Commit

Permalink
Allow posts to have descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiancc committed Feb 20, 2025
1 parent 9ebf769 commit 5b09355
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
<title>Cassian Godsted - {{page.title}}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Cassian Godsted is a web developer based out of the Cincinnati area. This portfolio page contains their latest projects.">
<meta name="description" content="
{%- if page.excerpt == undefined -%}
Cassian Godsted is a web developer based out of the Cincinnati area. This portfolio page contains their latest projects.
{%- else -%}
{{page.excerpt | strip_html | strip }}
{%- endif -%}
">
<meta name="theme-color" content="#18181B">
<link rel="shortcut icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" href="/css/web.css">
Expand Down

0 comments on commit 5b09355

Please sign in to comment.