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) => {
if (image && image !== '') return image
return `${BASE_URL}/assets/img/social-card.jpg`
return `${BASE_URL}/assets/img/ogi/default.jpg`
},
getPopularPosts: (posts, analytics) => {
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
layout: default
permalink: /404.html
image: /assets/img/404.jpg
---
{% capture css %}
{% render "../assets/styles/pages/404.css" %}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -2,6 +2,7 @@
title: Statistics
layout: default
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>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
alias: tag
permalink: /tags/{{ tag }}/
image: /assets/img/ogi/tags.jpg
eleventyComputed:
title: '{{ tag }}'
templateEngineOverride: liquid,md

View file

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

View file

@ -3,7 +3,7 @@ title: Uses
layout: default
permalink: /uses.html
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>

View file

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