mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
WIP
This commit is contained in:
parent
2af03085d2
commit
73d6123f3d
4 changed files with 41 additions and 1 deletions
6
spec/asset/hello_with_content_for.ecr
Normal file
6
spec/asset/hello_with_content_for.ecr
Normal file
|
@ -0,0 +1,6 @@
|
|||
Hello <%= name %>
|
||||
|
||||
<% content_for "custom" do |io| %>
|
||||
io << "<h1> Hello from otherside </h1>"
|
||||
io
|
||||
<% end %>
|
3
spec/asset/layout_with_yield.ecr
Normal file
3
spec/asset/layout_with_yield.ecr
Normal file
|
@ -0,0 +1,3 @@
|
|||
<html><%= content %></html>
|
||||
|
||||
<%= yield_content "custom" %>
|
Loading…
Add table
Add a link
Reference in a new issue