diff --git a/src/ejs/_header.ejs b/src/ejs/_header.ejs index f7d01ff..065eb62 100644 --- a/src/ejs/_header.ejs +++ b/src/ejs/_header.ejs @@ -3,18 +3,21 @@ - <%= context.title %> + <%= context.title %><% if (context.subtitle) { %> - <%= context.subtitle %><% } %> | aorcsik.com - + <% if (context.image) { %><% } %> - + + + + <% if (context.image) { %><% } %> diff --git a/src/js/BlogPage.js b/src/js/BlogPage.js index 619d484..768388d 100644 --- a/src/js/BlogPage.js +++ b/src/js/BlogPage.js @@ -71,8 +71,6 @@ class BlogPage } }); - if (!data.description) data.description = data.subtitle; - // const varMatches = markdownString.matchAll(/\[(.*?)\]\(#var:(.*)\)/gm); // if (varMatches) { // [...varMatches].forEach(varMatch => { diff --git a/src/md/blog/elden-ring-part-2.md b/src/md/blog/elden-ring-part-2.md index e3e9f7f..1f7748b 100644 --- a/src/md/blog/elden-ring-part-2.md +++ b/src/md/blog/elden-ring-part-2.md @@ -3,6 +3,7 @@ ### Adventures in Elden Ring - Part 2