I'm trying to provide default content for a block that is
overridden on
pages that extend the template. Something like this:
layout.dt:
!!! 5
html(lang="en")
head
title The App
body
#container
#ts.column.span-23(style="text-align: center")
block header
h1 Default Header
home.dt:
extends layout
block header
h1 Home Page
This results in the following HTML
<div id="container">
<div id="ts" style="text-align: center" class="column span-23">
<h1>Default Header</h1>
</div>
</div>
Am I doing this wrong or does block replacement of default
content not work yet?
I'm using a git clone version of vibe.d that was updated a couple
days ago.