- Create a repository.
- Create a second branch called
gh-pages
. - Create your index file. The goal is to have a blurb introducing your work, and then a list of dated posts.
- Include a folder for stylesheets, as well as a favicon, readme or whatever other resources you need to make the site functional and good-looking.
- In a folder called
posts
, drop similarly styled html files with the text replaced with the new post. In my workflow, I'm writing the posts elsewhere and then editing them to remove confidential or personally identifying information. It might be a good idea to keep a blank html template file as one of my site resources. - Create a new line in the main page's html file that links to the corresponding post (structured thusly:
https://username.github.io/repository/posts/post1.html
) and you're all set!
Last active
January 20, 2018 23:19
-
-
Save zackbatist/dc2884b82868bd02c8e3c9fa41966125 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment