/super-blog-content

Blog markdown content where documentation rules 📚

Primary LanguageJavaScript

Super blog content

My tech blog is built using 11ty and its content is all markdown plain files stored in this repo for sharing purpose.

🔥 Tech stack

Purpose Technology
Documentation Markdown

🌿 Branches

Branch name Use
main production (also used by super-blog-11ty)

How to update content in super-blog-content repository

Run the alias inside this super-blog-11ty folder from the main branch:

~/Sites/super-blog-11ty/super-blog-content > main > update-super-blog-content

in .zshrc you should have this line:

alias update-super-blog-content='cp -a ~/Sites/super-blog-11ty/content/. ~/Sites/super-blog-content/ && cd ~/Sites/super-blog-content/ && gaa && gcam "content: upate content from main blog repo" && gp && cd ~/Sites/super-blog-11ty/'

This alias will:

  • go to the blog local folder content/
  • copy all content files to the local repo super-blog-content/
  • commit and push to super-blog-content repo

Note: a long time ago, this repository was a git submodule, but for my own sake of mind I prefer to remove it as submodule.