Fork of Chiri for Astro for my blog
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixing cover images and setting up ngrok so I can test this kind of stuff locally

+8 -5
+3
astro.config.ts
··· 52 52 alias: { 53 53 '@': path.resolve('./src') 54 54 } 55 + }, 56 + server: { 57 + allowedHosts: ['.ngrok-free.app'] 55 58 } 56 59 }, 57 60 devToolbar: {
public/assets/the-everything-account.jpg

This is a binary file and will not be displayed.

+1 -1
src/config.ts
··· 3 3 export const themeConfig: ThemeConfig = { 4 4 // SITE INFO /////////////////////////////////////////////////////////////////////////////////////////// 5 5 site: { 6 - website: 'https://stalwart-lamington-32b5ec.netlify.app/', // Site domain 6 + website: 'https://augment.ink/', // Site domain 7 7 title: 'augment', // Site title 8 8 author: 'Anuj Ahooja', // Author name 9 9 description: 'A blog by Anuj Ahooja', // Site description
+1 -1
src/content/posts/the-everything-account.md
··· 1 1 --- 2 2 title: The Everything Account 3 3 pubDate: 2026-02-04T18:57:50.000Z 4 - image: './_assets/Screenshot_20260204_121413_Samsung-Notes.jpg' 4 + image: /assets/the-everything-account.jpg 5 5 tags: at protocol, atmosphere, atproto, bluesky, open social web, social media, social web, blacksky 6 6 --- 7 7
+3 -3
src/layouts/PostLayout.astro
··· 19 19 20 20 import { themeConfig } from '@/config' 21 21 22 - const { title, pubDate, readingTime, toc } = Astro.props as PostLayoutProps 22 + const { title, pubDate, readingTime, toc, image} = Astro.props as PostLayoutProps 23 23 24 24 const postSlug = Astro.url.pathname.split('/').filter(Boolean).pop() || '' 25 - const ogImage = `/open-graph/${postSlug}.png` 25 + const backupImage = `/open-graph/${postSlug}.png` 26 26 --- 27 27 28 28 <BaseLayout title={`${title} · ${themeConfig.site.title}`} description={themeConfig.site.description} type="post"> 29 29 <BaseHead 30 30 title={`${title} · ${themeConfig.site.title}`} 31 31 description={themeConfig.site.description} 32 - ogImage={ogImage} 32 + ogImage={image ? image : backupImage} 33 33 slot="head" 34 34 /> 35 35 <div class="post-container">