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

Recipe: Blog (Markdown, collection & feed) #2

Closed
wants to merge 1 commit into from

Conversation

bensmithett
Copy link
Owner

By default, San Blas just renders pages that don't know anything about each other.

If you're building a blog you need 3 ingredients:

  • Markdown (see Recipe: Markdown (with MDX) #1)
  • Collections: we need to group our "posts" so we can do things with them as a group, like list them on our homepage
  • Feeds: because you want people & robots to subscribe to your blog!

#1 showed how to add Markdown support. This PR extends that one, so read it & make those changes first. Then we'll...

  • Add a couple of example blog posts, identifying them as posts by adding collection: 'posts' to their metadata
  • Build all the post pages
  • Show a list of all posts on the homepage
  • Generate a JSON Feed feed.json file

@bensmithett bensmithett added the 👩‍🍳 recipe A pull request showing how to extend San Blas' default behaviour label Sep 2, 2019
@bensmithett
Copy link
Owner Author

Blog stuff is included by default now #5

@bensmithett bensmithett deleted the recipes/blog branch February 22, 2020 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👩‍🍳 recipe A pull request showing how to extend San Blas' default behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant