chore: ogi cleanup

This commit is contained in:
Cory Dransfeldt 2024-01-11 15:23:08 -08:00
parent 9e7cc103cb
commit 57b863c04c
No known key found for this signature in database
29 changed files with 15 additions and 2 deletions

View file

@ -37,7 +37,7 @@ export default {
}, },
getPostImage: (image) => { getPostImage: (image) => {
if (image && image !== '') return image if (image && image !== '') return image
return `${BASE_URL}/assets/img/social-card.jpg` return `${BASE_URL}/assets/img/ogi/default.jpg`
}, },
getPopularPosts: (posts, analytics) => { getPopularPosts: (posts, analytics) => {
return posts return posts

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
src/assets/img/ogi/now.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
src/assets/img/ogi/tags.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View file

@ -2,6 +2,7 @@
title: 404 title: 404
layout: default layout: default
permalink: /404.html permalink: /404.html
image: /assets/img/404.jpg
--- ---
{% capture css %} {% capture css %}
{% render "../assets/styles/pages/404.css" %} {% render "../assets/styles/pages/404.css" %}

View file

@ -2,6 +2,7 @@
title: About title: About
layout: default layout: default
permalink: /about.html permalink: /about.html
image: /assets/img/ogi/about.jpg
--- ---
{% capture css %} {% capture css %}
{% render "../assets/styles/pages/about.css" %} {% render "../assets/styles/pages/about.css" %}

View file

@ -2,6 +2,7 @@
title: Blogroll title: Blogroll
layout: default layout: default
permalink: /blogroll.html permalink: /blogroll.html
image: /assets/img/ogi/blogroll.jpg
description: 'These are awesome blogs that I enjoy and you may enjoy too.' description: 'These are awesome blogs that I enjoy and you may enjoy too.'
--- ---
<h2 class="page__header">{{ title }}</h2> <h2 class="page__header">{{ title }}</h2>

View file

@ -2,6 +2,7 @@
title: Success title: Success
layout: default layout: default
permalink: /contact/success.html permalink: /contact/success.html
image: /assets/img/ogi/contact.jpg
--- ---
<div class="text-center"> <div class="text-center">

View file

@ -2,6 +2,7 @@
title: Contact title: Contact
layout: default layout: default
permalink: /contact.html permalink: /contact.html
image: /assets/img/ogi/contact.jpg
description: 'How to contact me.' description: 'How to contact me.'
--- ---
{% capture css %} {% capture css %}

View file

@ -2,6 +2,7 @@
title: Feeds title: Feeds
layout: default layout: default
permalink: /feeds.html permalink: /feeds.html
image: /assets/img/ogi/feeds.jpg
description: 'Content feeds exposed by and generated from my site.' description: 'Content feeds exposed by and generated from my site.'
--- ---

View file

@ -2,6 +2,7 @@
title: Now title: Now
layout: now layout: now
permalink: /now.html permalink: /now.html
image: /assets/img/ogi/now.jpg
description: "See what I'm doing now." description: "See what I'm doing now."
--- ---
<h2 class="now__section--header flex--centered"> <h2 class="now__section--header flex--centered">

View file

@ -2,6 +2,7 @@
title: Referrals title: Referrals
layout: default layout: default
permalink: /referrals.html permalink: /referrals.html
image: /assets/img/ogi/referrals.jpg
description: 'Referral links for services that I use.' description: 'Referral links for services that I use.'
--- ---
<h2 class="page__header">{{ title }}</h2> <h2 class="page__header">{{ title }}</h2>

View file

@ -3,6 +3,7 @@ title: Search
description: "Search through and find the posts on my site." description: "Search through and find the posts on my site."
layout: default layout: default
permalink: /search.html permalink: /search.html
image: /assets/img/ogi/search.jpg
--- ---
<script type="module" src="/assets/scripts/pagefind-search.js"></script> <script type="module" src="/assets/scripts/pagefind-search.js"></script>
{% capture css %} {% capture css %}

View file

@ -2,6 +2,7 @@
title: Statistics title: Statistics
layout: default layout: default
permalink: /stats.html permalink: /stats.html
image: /assets/img/ogi/stats.jpg
--- ---
<p>My first post was published on <strong class="highlight-text">{{ collections.postStats.firstPostDate | dateToReadableDate }}</strong> and my most recent one was published on <strong class="highlight-text">{{ collections.postStats.lastPostDate | dateToReadableDate }}</strong>. I've published <strong class="highlight-text">{{ collections.postStats.postCount }} posts</strong> containing <strong class="highlight-text">{{ collections.postStats.totalWordCount }} words</strong> and <strong class="highlight-text">{{ collections.postStats.totalCodeBlockCount }} code samples</strong>.</p> <p>My first post was published on <strong class="highlight-text">{{ collections.postStats.firstPostDate | dateToReadableDate }}</strong> and my most recent one was published on <strong class="highlight-text">{{ collections.postStats.lastPostDate | dateToReadableDate }}</strong>. I've published <strong class="highlight-text">{{ collections.postStats.postCount }} posts</strong> containing <strong class="highlight-text">{{ collections.postStats.totalWordCount }} words</strong> and <strong class="highlight-text">{{ collections.postStats.totalCodeBlockCount }} code samples</strong>.</p>
<p>Posts have, on average, <strong class="highlight-text">{{ collections.postStats.avgWordCount | round }} words</strong> and a gap of <strong class="highlight-text">{{ collections.postStats.avgDays | round }} days</strong> between them.</p> <p>Posts have, on average, <strong class="highlight-text">{{ collections.postStats.avgWordCount | round }} words</strong> and a gap of <strong class="highlight-text">{{ collections.postStats.avgDays | round }} days</strong> between them.</p>

View file

@ -5,6 +5,7 @@ pagination:
size: 1 size: 1
alias: tag alias: tag
permalink: /tags/{{ tag }}/ permalink: /tags/{{ tag }}/
image: /assets/img/ogi/tags.jpg
eleventyComputed: eleventyComputed:
title: '{{ tag }}' title: '{{ tag }}'
templateEngineOverride: liquid,md templateEngineOverride: liquid,md

View file

@ -3,6 +3,7 @@ title: Tags
description: "Filter and find posts on my site by tag." description: "Filter and find posts on my site by tag."
layout: default layout: default
permalink: /tags.html permalink: /tags.html
image: /assets/img/ogi/tags.jpg
--- ---
{% for tag in collections.tagList %} {% for tag in collections.tagList %}
<span> <span>

View file

@ -3,7 +3,7 @@ title: Uses
layout: default layout: default
permalink: /uses.html permalink: /uses.html
description: 'Software, tools and services that I use regularly.' description: 'Software, tools and services that I use regularly.'
image: https://coryd.dev/assets/img/pages/uses.jpg image: /assets/img/pages/uses.jpg
--- ---
<h2 class="page__header">{{ title }}</h2> <h2 class="page__header">{{ title }}</h2>

View file

@ -3,6 +3,7 @@ title: Webrings
layout: default layout: default
permalink: /webrings.html permalink: /webrings.html
description: "Webrings are awesome! These are the ones I'm a member of." description: "Webrings are awesome! These are the ones I'm a member of."
image: /assets/img/ogi/webrings.jpg
--- ---
{% capture css %} {% capture css %}
{% render "../assets/styles/pages/webrings.css" %} {% render "../assets/styles/pages/webrings.css" %}