Skip to content

Commit

Permalink
fix: function name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tatthien committed May 24, 2022
1 parent 84e0318 commit a624789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func Build() {
engine.ScanContent()
engine.GenerateIndexPage()
engine.GenerateTagIndexPage()
engine.GenerateSingluarPages()
engine.GenerateSingularPages()
engine.GenerateTagPages()
engine.GenerateRSS()
engine.GeneratePostTypeArchive()
Expand Down
2 changes: 1 addition & 1 deletion engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (engine *AppEngine) GenerateIndexPage() {
}
}

func (engine *AppEngine) GenerateSingluarPages() {
func (engine *AppEngine) GenerateSingularPages() {
for _, post := range engine.Posts {
fileName := fmt.Sprintf("%s/%s.html", post.Type, post.Slug)
data := map[string]interface{}{
Expand Down

0 comments on commit a624789

Please sign in to comment.