mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
#1 added handlebars template engine
This commit is contained in:
parent
95ed64c640
commit
eb6a645ad3
10 changed files with 112 additions and 17 deletions
|
@ -1,5 +1,9 @@
|
|||
---
|
||||
buttons: [link]
|
||||
---
|
||||
|
||||
{{ .FirstName }} {{ .LastName }} пишет: {{ .Text }}
|
||||
{{!--
|
||||
use handlebars template here
|
||||
available variables are: user, text
|
||||
(see MessageNewHandler)
|
||||
--}}
|
||||
{{user.first_name}} {{user.last_name}} пишет: {{text}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue