package main // Default atom feed template const atom_xml = ` {{ .Title }} {{ .Updated.Format "2006-01-02T15:04:05Z07:00" }} {{ .URL }}{{ .Path }} {{- $url := .URL -}} {{- range .Entries }} {{ .Title }} {{ $url }}{{ .Permalink }} {{ .Date.Format "2006-01-02T15:04:05Z07:00" }} {{ end -}} ` // Default directory index template const index_gmi = `# Index of {{ .Permalink }} {{ range .Dirs }}=> {{ .Permalink }} {{ end -}} {{ range .Pages }}=> {{ .Permalink }} {{ end -}}` // Default page template const page_gmi = `# {{ .Title }} {{ .Content }}` // Default template for html output const output_html = ` {{ .Title }} {{ .Content }}`