Hello there!
I'm new to vibe.d and enjoying it so far.
But I would like to know whether recursive layouts are implemented, or if I am doing something wrong. Here's a snippet of what I'm attempting:
(layout.dt)
!!! 5
html
head
block title
link(rel="stylesheet", type="text/css", href="css/bootstrap.min.css")
block styles
body
block body
script(src="http://code.jquery.com/jquery-latest.js")
script(src="js/bootstrap.min.js")
block scripts
(layout_modal.dt)
extends layout
block body
.modal
.modal-header
block modal-header
.modal-body
block modal-body
.modal-footer
block modal-footer
(error.dt)
extends layout_modal
block title
title Error
block modal-body
#{error.message}
I will change these to use default block contents once they're implemented.
Thank you for your attention, Matej