Skip to content

Commit

Permalink
Duplicate p.Description in Params map
Browse files Browse the repository at this point in the history
Fixes #1484
  • Loading branch information
bep committed Dec 12, 2015
1 parent 38c5db9 commit 9569d11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hugolib/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ func (p *Page) update(f interface{}) error {
p.linkTitle = cast.ToString(v)
case "description":
p.Description = cast.ToString(v)
p.Params["description"] = p.Description
case "slug":
p.Slug = cast.ToString(v)
case "url":
Expand Down

0 comments on commit 9569d11

Please sign in to comment.