mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Deprecate dependency on Kilt (#615)
This commit is contained in:
parent
5473312f3d
commit
a251ede5bd
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,7 @@ end
|
||||||
# ```
|
# ```
|
||||||
# render "src/views/index.ecr", "src/views/layout.ecr"
|
# render "src/views/index.ecr", "src/views/layout.ecr"
|
||||||
# ```
|
# ```
|
||||||
|
@[Deprecated("Use `ECR#render` instead")]
|
||||||
macro render(filename, layout)
|
macro render(filename, layout)
|
||||||
__content_filename__ = {{filename}}
|
__content_filename__ = {{filename}}
|
||||||
content = render {{filename}}
|
content = render {{filename}}
|
||||||
|
@ -67,6 +68,7 @@ macro render(filename, layout)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Render view with the given filename.
|
# Render view with the given filename.
|
||||||
|
@[Deprecated("Use `ECR#render` instead")]
|
||||||
macro render(filename)
|
macro render(filename)
|
||||||
Kilt.render({{filename}})
|
Kilt.render({{filename}})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue