Add contact menu option and hide unneeded sections on project page
This commit is contained in:
parent
3d90927433
commit
eaef4ef6f6
|
@ -13,6 +13,8 @@ msgstr "Posts"
|
|||
msgid "template.menu.projects"
|
||||
msgstr "Projects"
|
||||
|
||||
msgid "template.menu.contact"
|
||||
msgstr "Contact"
|
||||
|
||||
msgid "template.page.copyright"
|
||||
msgstr "© Chris Josten, 2021. If not specified otherwise, all content on this"
|
||||
|
|
|
@ -26,6 +26,9 @@ msgstr "Chris z'n webstekkie"
|
|||
msgid "template.page.html_language"
|
||||
msgstr "nl-NL"
|
||||
|
||||
msgid "template.menu.contact"
|
||||
msgstr "Contact"
|
||||
|
||||
msgid "template.page.copyright"
|
||||
msgstr "© Chris Josten, 2021. Tenzij anders vermeld staat, valt alle inhoud op deze webstek"
|
||||
"<a rel=\"license\" href=\"https://creativecommons.org/licenses/by/4.0/\"> onder de CC-BY 4.0</a>"
|
||||
|
|
|
@ -26,13 +26,16 @@ block content
|
|||
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}
|
||||
dt Source code
|
||||
- foreach(sourceCodeLink; content.sourceCode)
|
||||
dd
|
||||
- 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
|
||||
a(href="#{sourceCodeLink.url}", rel="external") #{sourceCodeLink.name}
|
||||
| !{content.content}
|
||||
|
|
|
@ -52,6 +52,7 @@ html(prefix="og: http://ogp.me/ns#")
|
|||
- menuItem("template.menu.home", "/");
|
||||
- menuItem("template.menu.posts", "/posts/");
|
||||
- menuItem("template.menu.projects", "/projects/");
|
||||
- menuItem("template.menu.contact", "/contact");
|
||||
block sidebar
|
||||
footer.hide-small
|
||||
block footer
|
||||
|
|
Loading…
Reference in a new issue