chris-website/views/pages/page.dt

16 lines
260 B
Plaintext
Raw Permalink Normal View History

2020-06-24 08:08:28 +00:00
extends /parts/page.dt
2020-06-27 14:54:06 +00:00
block meta_data
- page_title = content.title;
- if (content.slug == "index")
- page_url = "/";
- else
- page_url = "/" ~ content.slug;
2020-06-24 08:08:28 +00:00
block sidebar
block content
header
h1.title #{content.title}
2020-06-24 13:53:18 +00:00
section !{content.content}