Browse Source

Cleanup

master
J. David Lee 2 years ago
parent
commit
573731a154
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      main.go

+ 2
- 1
main.go View File

@ -39,6 +39,7 @@ type Breadcrumb struct {
Name string
}
// Context passed to template.
type Context struct {
Content template.HTML
Breadcrumbs []Breadcrumb
@ -90,7 +91,7 @@ func main() {
//
// * For index.md files, create a index.html file.
// * For images (jpg, png), copy the image and produce a thumbnail.
// * Any other files are simply coppied.
// * Any other files are simply copied.
walk := func(srcPath string, info os.FileInfo, err error) error {
srcPath, err = filepath.Abs(srcPath)
if err != nil {


Loading…
Cancel
Save