chris-website/views/pages/page.dt

16 lines
256 B
Plaintext
Raw Normal View History

2021-03-10 17:30:32 +00:00
extends parts/page
2020-06-24 08:08:28 +00:00
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}