mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Moved resources to folders
This commit is contained in:
4
main.go
4
main.go
@@ -65,8 +65,8 @@ Options:`)
|
||||
|
||||
// Default page
|
||||
aboutFile, _ := ioutil.ReadFile(path.Join(RuntimeArgs.SourcePath, "templates/aboutpage.md"))
|
||||
p := WikiData{"about", string(aboutFile), []string{}, []string{}}
|
||||
p.save(aboutPageText)
|
||||
p := WikiData{"about", "", []string{}, []string{}}
|
||||
p.save(string(aboutFile))
|
||||
|
||||
// var q WikiData
|
||||
// q.load("about")
|
||||
|
||||
Reference in New Issue
Block a user