diff --git a/ArchiveState.go b/ArchiveState.go index 2ed3660..37e244f 100644 --- a/ArchiveState.go +++ b/ArchiveState.go @@ -253,18 +253,18 @@ func (this *ArchiveState) renderTemplateHead(w http.ResponseWriter) { for ympair := this.log.EarliestDate(); !ympair.Equals(limit); ympair = ympair.Next() { if ympair.Year != lastY { if lastY != -1 { - w.Write([]byte("\t\t\t\t\n")) + w.Write([]byte("\t\t\t\t\t\n")) } - w.Write([]byte(fmt.Sprintf("\t\t\t\t\n", ympair.Year))) + w.Write([]byte(fmt.Sprintf("\t\t\t\t\t\n", ympair.Year))) lastY = ympair.Year } targetUri := fmt.Sprintf(`/%s/%d/%d`, this.logBestSlug, ympair.Year, ympair.Month) - w.Write([]byte(fmt.Sprintf("\t\t\t\t\t\n", html.EscapeString(targetUri), attr(ympair.Equals(this.ym), " selected"), html.EscapeString(ympair.Month.String())))) + w.Write([]byte(fmt.Sprintf("\t\t\t\t\t\t\n", html.EscapeString(targetUri), attr(ympair.Equals(this.ym), " selected"), html.EscapeString(ympair.Month.String())))) } if lastY != -1 { - w.Write([]byte("\t\t\t\t\n")) + w.Write([]byte("\t\t\t\t\t\n")) } w.Write([]byte(`