This repository has been archived by the owner on Jun 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Creating Blog Posts
Scott Numamoto edited this page Jun 7, 2021
·
3 revisions
tldr; copy an existing post, edit, and commit.
- Copy the text of the example post.
- Create a new file in the
_posts/
folder by clicking on the "New File" button here or by clicking this link. Alternately, if you already have a well-formatted blog post as a file on your computer, upload it by clicking the Upload File button. - Paste the text you copied in step 1 and edit the contents for your post. See Using Markdown to Write Blog Posts for styling.
- Name your file with the correct date and title, emulating this format: yyyy-mm-dd-title-with-dashes.markdown
- Note that the template post doesn't use this naming system to prevent it from showing up on the actual blog. You can use this method to store post drafts on the server without publishing them.
- Update the post data between the
---
's
- Change
title
,date
,categories
, andauthor
- See Using Markdown to Write Blog Posts for changing
image
- Do not alter
layout
- When you finish the post, or if you'd like to save your progress, scroll to the bottom of the page. Add a brief message describing your changes in the first text box, and select "Create a new branch for this commit and start a pull request." Click "Propose new file." On the next page, select "Create pull request."
- If you don't see your new post on the website within a reasonable timeframe, pester someone with push access to the server to update the website. 😛 If you have push access, pull from the
pioneers
remote and push to the server.
- Copy example post in
_posts/
folder. - Edit and rename your file as appropriate. See Using Markdown to Write Blog Posts for styling.
- Submit a pull request.