Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-about-and-posts-pages #5

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Add-about-and-posts-pages #5

wants to merge 12 commits into from

Conversation

aoberoi
Copy link
Owner

@aoberoi aoberoi commented Jan 28, 2022

Adds the /about and /posts pages. The are both fairly unstyled and the navigation looks pretty bad. But the lib for fetching posts was refactored in order to make the API more friendly.

This is a pretty significant refactor to the code that finds and builds post objects.
This adds the concept of published and draft posts. It
also reduces code duplication. And now posts are
returned in a sorted order. The improved API is now used by the home page.
This is mostly cribbed from the home page. It's likely that the home page
design will change significantly so its lift and shift.
@vercel
Copy link

vercel bot commented Jan 28, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/aoberoi/aoberoi-me/81sd9Qvvo7oJqZ1FEDzGhcpogFkG
✅ Preview: https://aoberoi-me-git-add-about-and-posts-pages-aoberoi.vercel.app

the primary motivator for GFM is to be able to use tables in posts.

this adds a sample markdown file to test out rendering of common
constructs. there's also a new "environment" key in post frontmatter
which allows the sample to only be visible in "development".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant