diff --git a/ArchiveState.go b/ArchiveState.go index 86d5f75..22af35a 100644 --- a/ArchiveState.go +++ b/ArchiveState.go @@ -193,6 +193,11 @@ func (this *ArchiveState) renderTemplateHead(w http.ResponseWriter) { showPageURLs := (this.log != nil && len(this.query) == 0) + latestUrl := `/` + if this.log != nil { + latestUrl = fmt.Sprintf(`/%s/%d/%d`, url.PathEscape(this.logBestSlug), this.log.LatestDate().Year, this.log.LatestDate().Month) + } + w.Write([]byte(` @@ -208,7 +213,7 @@ func (this *ArchiveState) renderTemplateHead(w http.ResponseWriter) {
- Latest + Latest Font increase Font decrease Download backup