diff --git a/js/src/templates/research/tpl-projects-item-research.mustache b/js/src/templates/research/tpl-projects-item-research.mustache index 6556243f33c5c54ef94a1b1a811d989deeb0efff..04070512a0693b70839bb26244a7c486df9d1114 100644 --- a/js/src/templates/research/tpl-projects-item-research.mustache +++ b/js/src/templates/research/tpl-projects-item-research.mustache @@ -15,8 +15,10 @@ <a href="{{ website_url }}">Read More</a> <span class="featured-projects-website-url-bar"></span> </div> - <p>Main topic: <strong>{{ projectTopic }}</strong></p> + {{#project_topic}} + <p>Main topic: <strong>{{ project_topic }}</strong></p> + {{/project_topic}} </div> </div> </li> -{{/items}} \ No newline at end of file +{{/items}} diff --git a/layouts/research/list.json.json b/layouts/research/list.json.json index c59a6a49be30ce9ee6af186cf04cf4361114e099..066485d2b59f6893dcae6b9471ee6ca99b1ae86d 100644 --- a/layouts/research/list.json.json +++ b/layouts/research/list.json.json @@ -12,10 +12,10 @@ "logo": "{{ $logoPath }}", "version": {{ .Params.project_type | jsonify }}, "tags": {{ .Params.tags | jsonify }}, - "projectTopic": {{ $project_topic | jsonify }}, - "fundingBodies": {{ .Params.funding_bodies | jsonify }}, + "project_topic": {{ $project_topic | jsonify }}, + "funding_bodies": {{ .Params.funding_bodies | jsonify }}, "releases": [] }{{ if ne $index (sub $len 1) }},{{ end }} {{ end }} -] \ No newline at end of file +]