From 158fa9f77dfa102947ad3643147f68b422ca65d1 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Thu, 12 Oct 2023 23:56:42 +0000 Subject: [PATCH] fix: :bug: add newlines to custom templates Signed-off-by: GitHub --- roles/generate-jenkins/templates/DOCUMENTATION.j2-CUSTOM | 1 + roles/generate-jenkins/templates/README.j2-CUSTOM | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/generate-jenkins/templates/DOCUMENTATION.j2-CUSTOM b/roles/generate-jenkins/templates/DOCUMENTATION.j2-CUSTOM index 6d72e470..b49b66b8 100644 --- a/roles/generate-jenkins/templates/DOCUMENTATION.j2-CUSTOM +++ b/roles/generate-jenkins/templates/DOCUMENTATION.j2-CUSTOM @@ -4,6 +4,7 @@ title: {{ project_name }} --- {% include "README_SNIPPETS/DO_NOT_EDIT.j2" | trim %} + {% if project_deprecation_status %} {% include "README_SNIPPETS/DEPRECATION.j2" | trim %} diff --git a/roles/generate-jenkins/templates/README.j2-CUSTOM b/roles/generate-jenkins/templates/README.j2-CUSTOM index d2754fef..954b10f4 100644 --- a/roles/generate-jenkins/templates/README.j2-CUSTOM +++ b/roles/generate-jenkins/templates/README.j2-CUSTOM @@ -1,6 +1,7 @@ {%- set output_format="# \\g" -%} {% from 'common_macros.j2' import noter with context %} {% include "README_SNIPPETS/DO_NOT_EDIT.j2" | trim %} + {% if project_deprecation_status %} {% include "README_SNIPPETS/DEPRECATION.j2" | trim %}