chris-website/views/pages/page.dt

16 lines
260 B
Plaintext

extends /parts/page.dt
block meta_data
- page_title = content.title;
- if (content.slug == "index")
- page_url = "/";
- else
- page_url = "/" ~ content.slug;
block sidebar
block content
header
h1.title #{content.title}
section !{content.content}