How to do Proxying During Development?

Ah. Found it in another thread:

{{ if eq (printf "%v" $.Site.BaseURL) "http://localhost:1313/" }}
   <!-- code for localhost only -->
{{ end }}

I knew it’d turn out that .Site.BaseURL wasn’t really a string!