Add contact menu option and hide unneeded sections on project page
This commit is contained in:
parent
3d90927433
commit
eaef4ef6f6
4 changed files with 17 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue