Skip to content

Commit

Permalink
Added tools section to current project cards (#3020)
Browse files Browse the repository at this point in the history
* Added tools section to current project cards

* Capitalize Tool to match surrounding fields
  • Loading branch information
Jaretzbalba authored Apr 5, 2022
1 parent e6bef89 commit 5af1a6c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/js/current-projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ function retrieveProjectDataFromCollection(){
{%- if project.partner -%},
"partner": `{{ project.partner }}`
{%- endif -%}
{%- if project.tools -%},
"tools": `{{ project.tools }}`
{%- endif -%}
{%- if project.looking -%},
"looking": {{ project.looking | jsonify }}
{%- endif -%}
Expand Down Expand Up @@ -460,6 +463,15 @@ return `
`:""
}
${project.tools ?
`
<div class="project-tools">
<strong>Tools: </strong>
${ project.tools }
</div>
`:""
}
${project.looking ? "" : ""
// `
// <div class="project-needs">
Expand Down

0 comments on commit 5af1a6c

Please sign in to comment.