Site was originally started with Jekyll in Feb 2015.
This combines all the notes from the various sites and from my local machine.
Previously, i have setup a site with Hugo, and another one with Gatsby. Both had different content. This repo combines the content from both those sites.
The idea with this repo is that it'll be used as a submodule for my portfolio site. Then it wouldn't matter what static site generator i use, i'll always be referencing this repo that contains just the notes and nothing else.
TODO:
- Fix image URLs
- update the URLs and references inside posts
- combine the image folders
- see if you can find the missing 8 images with the path
assets/img/from the original Jekyll site
- test adding this repo as a git
submoduleto a Hugo or Gatsby site - fix draft status (make all of them
draft: true) - fix inconsistencies between
pathandslug(change all toslug)
- Hugo has no
drafts/directory and you can't set one in the configuration file. What it has instead isdraft: trueinside a file. - Gatsby doesn't have a built in drafts functionality either. What i had done was add a
statusvalue to frontmatter, sostatus: draftmeant it was a draft. - To make drafts compatible for both Gatsby and Hugo, i have used Hugo's style of
draft: true(instead ofstatus: draft) and have updated Gatsby site accordingly
| Functionality | Hugo | Gatsby | Configuration |
|---|---|---|---|
| Drafts | draft: true |
queries based on custom frontmatter (status: draft) |
no config for a drafts dir in either |
| Images and Assets | |||
| Static folder | static/ |
static/ |