Skip to content

Instantly share code, notes, and snippets.

@yashhere
Created February 13, 2018 18:23
Show Gist options
  • Save yashhere/12e6050bef5e17e88d8ba153a7678d5e to your computer and use it in GitHub Desktop.
Save yashhere/12e6050bef5e17e88d8ba153a7678d5e to your computer and use it in GitHub Desktop.
$ vim themes/zeo/layouts/_default/single.html
{{ partial "header.html" . }}

  <h1>{{ .Title }}</h1>
  <h2>{{ .Date.Format "Sun, Feb 11, 2018" }}</h2>
  {{ .Content }}

{{ partial "footer.html" . }}
@sandipb
Copy link

sandipb commented Aug 29, 2019

Date format string seems wrong here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment