Skip to content

Commit

Permalink
Catch undefined vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxedus committed Jan 27, 2025
1 parent 70e1008 commit ea29056
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/generate-jenkins/templates/DOCUMENTATION.j2-CUSTOM
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
{% from 'common_macros.j2' import noter with context %}
---
title: {{ project_name }}
{% if project_categories is defined and project_blurb is defined %}
{% if project_categories and project_blurb %}
tags:
{% for tag in project_categories.split(",") %}
- {{ tag | title }}
{% endfor %}
description: "{{ noter(project_blurb) | trim }}"
{% endif %}
{% endif %}
---
{% include "README_SNIPPETS/DO_NOT_EDIT.j2" | trim %}

Expand Down

0 comments on commit ea29056

Please sign in to comment.