Skip to content

Commit

Permalink
Merge pull request tucnak#498 from hararudoka/patch-1
Browse files Browse the repository at this point in the history
fix a typo in layout.go
  • Loading branch information
demget authored Mar 15, 2022
2 parents dd790ca + a4d61d0 commit 4b2f874
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions layout/layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,12 +370,13 @@ func (lt *Layout) MarkupLocale(locale, k string, args ...interface{}) *tele.Repl
// The given optional argument will be passed to the template engine.
//
// results:
// type: article
// id: '{{ .ID }}'
// title: '{{ .Title }}'
// description: '{{ .Description }}'
// message_text: '{{ .Content }}'
// thumb_url: '{{ .PreviewURL }}'
// article:
// type: article
// id: '{{ .ID }}'
// title: '{{ .Title }}'
// description: '{{ .Description }}'
// message_text: '{{ .Content }}'
// thumb_url: '{{ .PreviewURL }}'
//
// Usage:
// func onQuery(c tele.Context) error {
Expand Down

0 comments on commit 4b2f874

Please sign in to comment.