mirror of
https://github.com/actix/examples
synced 2025-06-29 02:10:36 +02:00
restructure folders
This commit is contained in:
11
templating/yarte/templates/deep/more/deep/welcome.hbs
Normal file
11
templating/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