chris-website/views/pages/project.dt

35 lines
968 B
Plaintext
Raw Normal View History

2021-03-10 17:30:32 +00:00
extends parts/page
2020-06-27 14:54:06 +00:00
block meta_data
- page_title = content.title;
- page_url = "/project/" ~ content.slug;
- page_image = content.icon;
- page_description = content.description;
2020-06-24 13:53:18 +00:00
block sidebar
block content
section
header.project-header
img.project-icon(src="#{content.icon}", alt="Icon of #{content.title}")
div
h1.title #{content.title}
span.project-description #{content.description}
- if (content.images.length > 0)
div.screenshots
- foreach(image; content.images)
a(href="#{image}")
img.screenshot(src="#{image}", alt="Image of #{content.title}")
p
i To easily scroll horizontally on a desktop, hold shift while using the scroll wheel
- else
p
i This project has no images.
dl.project-platforms-technologies
dt Platforms
- foreach(platform; content.platforms)
dd.tag #{platform}
dt Technologies
- foreach(technology; content.technologies)
dd.tag #{technology}
| !{content.content}