Skip to content

tobanw/blog-posts

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Blog posts repo for jekyll site

Rather than having one repo for a jekyll site and mixing up the git history with commits for the site and the content, I'm using a git submodule for posts. See this guide for an overview of the setup.

Usage

To keep things simple, write posts in the actual "blog posts" repo. Don't edit the submodule in the jekyll repo. The usual workflow is:

  1. In the blog-posts repo: write posts and push to the remote when ready
  2. In the main site repo: grab updated submodule with git submodule update --remote, and then commit and push the change to publish to your site

About

Blog posts repo used as submodule in jekyll site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages