mirror of
https://github.com/actix/examples
synced 2025-07-01 02:44:26 +02:00
Restructure folders (#411)
This commit is contained in:
committed by
GitHub
parent
9db98162b2
commit
c3407627d0
11
template_engines/yarte/templates/deep/more/deep/welcome.hbs
Normal file
11
template_engines/yarte/templates/deep/more/deep/welcome.hbs
Normal file
@ -0,0 +1,11 @@
|
||||
{{!
|
||||
Welcome card:
|
||||
args:
|
||||
- tag
|
||||
- id
|
||||
- tail
|
||||
!}}
|
||||
{{#unless tag.is_match(r"^p|(h[1-6])$") && !id.is_empty() }}
|
||||
{{$ "Need static args: tag: str /^h[1-6]$/, id: str" }}
|
||||
{{/unless }}
|
||||
<{{ tag }} id="{{ id }}" class="welcome">Welcome{{ tail }}</{{ tag }}>
|
Reference in New Issue
Block a user