mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Better view_specs for layout variables
This commit is contained in:
parent
e6e70fe222
commit
24e0824a9b
3 changed files with 29 additions and 4 deletions
8
spec/asset/layout_with_yield_and_vars.ecr
Normal file
8
spec/asset/layout_with_yield_and_vars.ecr
Normal file
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<body>
|
||||
<%= content %>
|
||||
<%= yield_content "custom" %>
|
||||
<%= var1 %>
|
||||
<%= var2 %>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue