workaround spf13/hugo#467 and spf13/hugo#532