1
0
Fork 0
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:
Fedor Katurov 2021-04-29 10:30:01 +07:00
parent 95ed64c640
commit eb6a645ad3
10 changed files with 112 additions and 17 deletions

View file

@ -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}}