Skip to content

Commit

Permalink
expoes page description
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwei committed Jan 15, 2025
1 parent 1f8a679 commit 1619a50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions internal/domain/site/entity/pagefields.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,7 @@ func (p *Page) Language() struct {
LanguageCode: p.PageIdentity().PageLanguage(),
}
}

func (p *Page) Description() string {
return p.Page.Description()
}
2 changes: 1 addition & 1 deletion internal/interfaces/cli/vercurr.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package cli
var CurrentVersion = Version{
Major: 0,
Minor: 1,
PatchLevel: 8,
PatchLevel: 9,
Suffix: "",
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.8",
"version": "0.1.9",
"name": "Hugoverse",
"description": "Headless CMS for Hugo",
"author": "sunwei",
Expand Down

0 comments on commit 1619a50

Please sign in to comment.