chris-website/views/pages/page.dt

16 lines
284 B
Plaintext
Raw Permalink 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}
section(lang="#{content.language}") !{content.content}