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"
|
msgid "template.menu.projects"
|
||||||
msgstr "Projects"
|
msgstr "Projects"
|
||||||
|
|
||||||
|
msgid "template.menu.contact"
|
||||||
|
msgstr "Contact"
|
||||||
|
|
||||||
msgid "template.page.copyright"
|
msgid "template.page.copyright"
|
||||||
msgstr "© Chris Josten, 2021. If not specified otherwise, all content on this"
|
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"
|
msgid "template.page.html_language"
|
||||||
msgstr "nl-NL"
|
msgstr "nl-NL"
|
||||||
|
|
||||||
|
msgid "template.menu.contact"
|
||||||
|
msgstr "Contact"
|
||||||
|
|
||||||
msgid "template.page.copyright"
|
msgid "template.page.copyright"
|
||||||
msgstr "© Chris Josten, 2021. Tenzij anders vermeld staat, valt alle inhoud op deze webstek"
|
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>"
|
"<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.
|
i This project has no images.
|
||||||
dl.project-platforms-technologies
|
dl.project-platforms-technologies
|
||||||
dt Platforms
|
dt Platforms
|
||||||
- foreach(platform; content.platforms)
|
- if (content.platforms.length > 0)
|
||||||
dd.tag #{platform}
|
- foreach(platform; content.platforms)
|
||||||
dt Technologies
|
dd.tag #{platform}
|
||||||
- foreach(technology; content.technologies)
|
- if (content.technologies.length > 0)
|
||||||
dd.tag #{technology}
|
dt Technologies
|
||||||
dt Source code
|
- foreach(technology; content.technologies)
|
||||||
- foreach(sourceCodeLink; content.sourceCode)
|
dd.tag #{technology}
|
||||||
dd
|
- if (content.sourceCode.length > 0)
|
||||||
|
dt Source code
|
||||||
|
- foreach(sourceCodeLink; content.sourceCode)
|
||||||
|
dd
|
||||||
a(href="#{sourceCodeLink.url}", rel="external") #{sourceCodeLink.name}
|
a(href="#{sourceCodeLink.url}", rel="external") #{sourceCodeLink.name}
|
||||||
| !{content.content}
|
| !{content.content}
|
||||||
|
|
|
@ -52,6 +52,7 @@ html(prefix="og: http://ogp.me/ns#")
|
||||||
- menuItem("template.menu.home", "/");
|
- menuItem("template.menu.home", "/");
|
||||||
- menuItem("template.menu.posts", "/posts/");
|
- menuItem("template.menu.posts", "/posts/");
|
||||||
- menuItem("template.menu.projects", "/projects/");
|
- menuItem("template.menu.projects", "/projects/");
|
||||||
|
- menuItem("template.menu.contact", "/contact");
|
||||||
block sidebar
|
block sidebar
|
||||||
footer.hide-small
|
footer.hide-small
|
||||||
block footer
|
block footer
|
||||||
|
|
Loading…
Reference in a new issue