rewrite some frontmatter and editor-related stuff

Former-commit-id: 15e46f99c745757eab86f329caebd3bba102f4dc
This commit is contained in:
Henrique Dias
2017-01-18 18:40:20 +00:00
parent 34ce7afb88
commit 0ad540249e
5 changed files with 51 additions and 37 deletions

View File

@@ -14,7 +14,7 @@ import (
"github.com/mholt/archiver"
)
// Download creates an archieve in one of the supported formats (zip, tar,
// Download creates an archive in one of the supported formats (zip, tar,
// tar.gz or tar.bz2) and sends it to be downloaded.
func Download(w http.ResponseWriter, r *http.Request, c *config.Config, i *file.Info) (int, error) {
query := r.URL.Query().Get("download")