Skip to content

Commit

Permalink
rename templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kazhuravlev authored and avelino committed Apr 3, 2023
1 parent 0d6aab3 commit 79f91e8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ test_stale_repositories_log
*.exe
# Local Netlify folder
.netlify
*.html
sitemap.xml
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ var staticFiles = []string{

// TODO: embed
// Templates
var tplIndex = template.Must(template.ParseFiles("tmpl/tmpl.html"))
var tplCategoryIndex = template.Must(template.ParseFiles("tmpl/cat-tmpl.html"))
var tplSitemap = template.Must(template.ParseFiles("tmpl/sitemap-tmpl.xml"))
var tplIndex = template.Must(template.ParseFiles("tmpl/index.tmpl.html"))
var tplCategoryIndex = template.Must(template.ParseFiles("tmpl/category-index.tmpl.html"))
var tplSitemap = template.Must(template.ParseFiles("tmpl/sitemap.tmpl.xml"))

// Output files
const outDir = "out/" // NOTE: trailing slash is required
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 79f91e8

Please sign in to comment.