edit src/data/site-info.ts website name
2.edit src/pages/_components/Hero.astro to change homepage
- add microsoft clarity
Media Page with YT channel support - Easily show your YT channel content on the media page by just putting your channel id in config file's ytChannelId constant. Optionally, disable the image thumbnails from your YT channel's video listing by setting USE_MEDIA_THUMBNAIL to false.
Author Cards - Easily add post based or site-wide Author cards, that include a Twitter follow button by setting USE_AUTHOR_CARD to true inside config file.
https://github.com/one-aalam/astro-ink/tree/main
Netlify CMS*NEW - Add/Edit/Update all the posts in the /blog directory by visiting your-site.netlify.com/admin ex: astro-ink.netlify.app/admin with your Netlify credentials. It needs Netlify Identity(https://app.netlify.com/sites/your-site/settings/identity#registration ) and Git Gateway(https://app.netlify.com/sites/your-site/settings/identity#services) enabled.
Future Posts*NEW(with Github Actions) - Create posts in the /src/drafts directory with a future date in the YYYY-MM-DD format, and let a specially crafted Github Action take care of auto-publishing it on your specified date. You can configure the check interval in Github Action.
Client-Side Search*NEW - Allow your users get to your blog posts quickly with client-side search feat. Lunr.js
https://github.com/remotesynth/remotesynthesis-blog
Content Collections organize Markdown or MDX files, as well as type-checking frontmatter with a schema in src/content/config.ts
MDX and Markdown posts
Astro Image Integration for optimized images
Satori for creating open graph png images
Automatic RSS feed
Auto-generated sitemap
https://github.com/ajcwebdev/ajcweb.dev
The source code for astro.build, built with Astro.
The themes catalog is based on the themes content collection. Optimized images should be saved to the collection's _images directory, ideally as format with a {image}.webp
file at 800px wide and {image}@2x.webp
at 1600px wide.
Theme data is updated weekly by a GitHub Action. This action mainly updates the star count in public GitHub repos (used for sorting), but may be updated in the future to update additional theme details.
TODO: A future PR will migrate to
astro:assets
for image optimization and get away from the manual image optimization shenanigans.
The showcase doesn't depend on any data from GitHub or NPM. All showcase data is pulled from the content collection. Similar to themes, optimized images should be saved to the collection's _images directory, ideally as format with a {image}.webp
file at 800px wide and {image}@2x.webp
at 1600px wide.
A weekly GitHub workflow pulls URLs posted in a dedicated GitHub discussion and opens a PR to add data and screenshots for these sites to the repo. You can also run this script locally and commit the results manually:
pnpm update:showcase
TODO: A future PR will migrate to
astro:assets
for image optimization and get away from the manual image optimization shenanigans.
The integrations catalog also used a content collection to track known Astro integrations.
Integration data is updated weekly by a GitHub Action. This action searches NPM and updates existing integrations, adds newly published integrations, and removes deprecated packages. A JSON config file is used to allow for manual overrides of data published in NPM, most often this is used for adding icons and tweaking description text.
The blog collection is setup to support MDX blog posts with all images being pulled from the collection's _images directory. Images should be a webp
format of a reasonable width, something in the 800-1600px range is ideal.
Blog post cover and social images are set as frontmatter properties and should point reference the _images
directory, ex: coverImage: "/src/content/blog/_images/post-1/cover.webp"
.