Skip to content

我想问下这个怎么设置多个模板? #209

Answered by timonwong
chenxuyuanchen asked this question in Q&A
Discussion options

You must be logged in to vote

当然为了简单,甚至也可以不使用 templates 指定文件,直接内联模板也可以,比如

targets:
   target_abc1:
     url: xxxxxxx
     message:
       text: 'Hello, this is text abc1'
   target_abc2:
     url: xxxx
     message:
       text: 'Hello, this is text abc2'

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@chenxuyuanchen
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by chenxuyuanchen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants