How to Post

This is a post to remind myself how to post to my static site if I don’t post for a few months.

Steps
  1. Open terminal window and cd to the folder where the site source data is on my laptop.

  2. Type hugo new blog/myfilename.adoc.

  3. Type open . to get the file view and go to content/post to find the new file.

  4. Open myfilename.adoc in a text editor.

  5. Remove the draft attribute in the header.

  6. Type out my content and save the file.

  7. git add . and git commit -m "new post".

  8. git push origin master to push to github.

  9. Wait a few minutes as netlify gets the github push and rebuilds the new static site.

  10. Check my website to see if it posted.

comments powered by Disqus