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
|
2021-03-11 16:22:40 +00:00
|
|
|
section(lang="#{content.language}")
|
2020-06-24 13:53:18 +00:00
|
|
|
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
|
2021-03-16 15:09:57 +00:00
|
|
|
- if (content.platforms.length > 0)
|
|
|
|
- foreach(platform; content.platforms)
|
|
|
|
dd.tag #{platform}
|
|
|
|
- if (content.technologies.length > 0)
|
|
|
|
dt Technologies
|
|
|
|
- foreach(technology; content.technologies)
|
|
|
|
dd.tag #{technology}
|
|
|
|
- if (content.sourceCode.length > 0)
|
|
|
|
dt Source code
|
|
|
|
- foreach(sourceCodeLink; content.sourceCode)
|
|
|
|
dd
|
2021-03-11 16:22:40 +00:00
|
|
|
a(href="#{sourceCodeLink.url}", rel="external") #{sourceCodeLink.name}
|
2020-06-24 13:53:18 +00:00
|
|
|
| !{content.content}
|