Jese Leos

Micro.blog Custom Footer For Local Development

If you want to develop/customize your Micro.blog theme locally, you will likely encounter an issue with a missing file called custom_footer.html. My guess is this file is dynamically added to my Micro.blog at build time.

To work around this, you can remove the use of {{ partial "custom_footer.html" . }} from your theme (either permanently or temporarily), or you can simply check that it exists first:

{{ if templates.Exists ( "partials/custom_footer.html" ) }}
  {{ partial "custom_footer.html" . }}
{{ end }}