mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
#2 added PostNewHandler.ts
This commit is contained in:
parent
61f0440cb6
commit
8c17836868
10 changed files with 183 additions and 15 deletions
18
templates/post_new.md
Normal file
18
templates/post_new.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
image: true
|
||||
buttons: [likes,links]
|
||||
link_text: Пост полностью
|
||||
links:
|
||||
https://map.vault48.org/: Посмотреть карту
|
||||
http://map.vault48.org/: Посмотреть карту
|
||||
---
|
||||
{{!--
|
||||
use handlebars template here
|
||||
available variables are: text, user, group
|
||||
(see PostNewHandler)
|
||||
--}}
|
||||
{{text}}
|
||||
|
||||
{{#if user}}
|
||||
[{{user.first_name}} {{user.last_name}}](https://vk.com/id{{user.id}})
|
||||
{{/if}}
|
Loading…
Add table
Add a link
Reference in a new issue