1
0
Fork 0
mirror of https://github.com/avelino/awesome-go.git synced 2024-11-13 11:14:37 -05:00

change comments

This commit is contained in:
Kirill Zhuravlev 2023-02-14 18:58:36 +01:00 committed by Avelino
parent 2387ec4bb9
commit dc33e720e7
No known key found for this signature in database
GPG key ID: B345B4D52E98180A

12
main.go
View file

@ -26,25 +26,23 @@ type Object struct {
Items []Link
}
// Source
// Source files
const readmePath = "README.md"
// NOTE: this files should be copied as is to outDir directory
// This files should be copied 'as is' to outDir directory
var staticFiles = []string{
"tmpl/assets",
"tmpl/_redirects",
"tmpl/robots.txt",
}
// Templates
// Template files
const tplPath = "tmpl/tmpl.html"
const tmplCategory = "tmpl/cat-tmpl.html"
const tmplSitemap = "tmpl/sitemap-tmpl.xml"
// Output
// NOTE: trailing slash is required
const outDir = "out/"
// Output files
const outDir = "out/" // NOTE: trailing slash is required
var outIndexFile = filepath.Join(outDir, "index.html")
var outSitemapFile = filepath.Join(outDir, "sitemap.xml")