I want to add date meta on head. How to convert UT+C7:00 without parsing. In my front matter like this.
date: 2021-06-18T07:20:00+07:00
I did convert to meta tag like this
<meta content="{{ .PublishDate.Format "2006-01-02T15:04:05+07:00" | safeHTML }}" itemprop="datePublished" />
After doing the conversion, the + character gets parsed instead. So the output is like this.
<meta content="2021-06-18T07:20:00+07:00" itemprop="datePublished" />
Because what I want is like this. The question is how?
<meta content="2021-06-18T07:20:00+07:00" itemprop="datePublished" />