equk / blog-astro Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
would be nice to remove this requirement
also relates to #1
make sure darkmode supports prefers-color-scheme
extending from #2
generate slug as -date-/-slug- (/YYYY/MM/DD/title-slug)
create script to be run with build which takes .md
files in src/content/blog
& generates an atom feed to dist/
use component from astrojs/image for hero images in posts & pages
https://docs.astro.build/en/guides/content-collections/
Content collections
You can manage your Markdown and MDX files in Astro in a special src/content/ folder. Content collections help you organize your content, validate your frontmatter, and provide automatic TypeScript type-safety while working with your content.
need new layouts
generate images for opengraph meta tags
need to look into routing of astro to set slug from frontmatter
eg: [date]/[title]
https://docs.astro.build/en/core-concepts/routing/
default example blog template seems to use static routes for markdown files
am thinking of generating description within feed from blog post content using something like trim()
mainly because I want description to be optional (or removed) in blog writing
add pagination to blog post listing
use content/posts
& content/pages
for markdown content
default is src/pages/blog/xxx.md
imo src should contain code
add path alias for @*
to ./src/*
making imports easier & cleaner
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.