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:
parent
2387ec4bb9
commit
dc33e720e7
1 changed files with 5 additions and 7 deletions
12
main.go
12
main.go
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue