Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paulbatchelor/paulbatchelor.github.io

My personal website.
https://github.com/paulbatchelor/paulbatchelor.github.io

Last synced: 11 days ago
JSON representation

My personal website.

Awesome Lists containing this project

README

        


Sitegen


My static site generator for my website.


Setup


Be sure to clone the paulbatchelor.github.io website as _live with


`
git clone [email protected]:paulbatchelor/paulbatchelor.github.io _live
`


Make sure the submodules in this folder are updated.


How to make a new blog post


  1. cd into "blog"

  2. run the script "./gen-post NAME" where NAME is a word
    (or words with dashes). This will generate a metadata file and a markdown
    file.

  3. Edit the metadata with "./metadata_edit NAME" with the NAME from
    the previous step. This will open up the metadata file in the preferred
    text editor $EDITOR. Things changed should be CATEGORIES and TITLE. CATEGORIES
    are space separated keywords describing the post. TITLE is the title of
    the post. Use quotes!

  4. Write content for the post with "./post_edit NAME".

  5. To preview changes, run "./gen_list.sh" to rebuild the index list, then,
    in the top level directory, run "make", followed by "make listen". Blog
    can then be found at localhost:8080/blog/

  6. To add files to git, cd back into blog, and run "git add $(./get_post NAME)".