diff --git a/Jafner.dev/README.md b/Jafner.dev/README.md new file mode 100644 index 00000000..5a8163b5 --- /dev/null +++ b/Jafner.dev/README.md @@ -0,0 +1,10 @@ +# Running local dev server +1. Ensure theme submodule is loaded: `git submodule init && git submodule update` +2. Run the server with `hugo server --buildDrafts --disableFastRender` + +## Including Images in Content +1. Place the image file beside the content in the folder. +2. For a Featured Image, use the line `featured_image = "../pamidi.jpg"` in the frontmatter. +3. For an inline image, use `{{< image src="../pamidi.jpg" >}}` + +> Note: The working directory for relative resource locations uses the name of the content file as the current location. E.g. referencing the image `./myimage.jpg` or `./myimage.jpg` from inside the `/content/projects/pamidi.md` content file, would look for those images at `/content/projects/pamidi/myimage.jpg`. \ No newline at end of file diff --git a/Jafner.dev/content/projects/pamidi.md b/Jafner.dev/content/projects/pamidi.md index 440bbaba..f240d997 100644 --- a/Jafner.dev/content/projects/pamidi.md +++ b/Jafner.dev/content/projects/pamidi.md @@ -1,5 +1,5 @@ +++ -title = 'Pamidi' +title = 'Pamidi - Control PulseAudio with a MIDI device' date = 2024-05-28T17:58:19-07:00 draft = false featured_image = "../pamidi.jpg"