From 841bfc19ac311994dc5a2244eaa996c64859d3c8 Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Fri, 27 Dec 2024 23:12:00 +0100 Subject: [PATCH] [SIS-xxx] allowing an orf news post to have no title --- .../src/main/resources/default/orf/job/orf_news_post_embed.ftl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/sissi-templates/module-templates/rss-news-templates/src/main/resources/default/orf/job/orf_news_post_embed.ftl b/templates/sissi-templates/module-templates/rss-news-templates/src/main/resources/default/orf/job/orf_news_post_embed.ftl index ee88bc27..848d7844 100644 --- a/templates/sissi-templates/module-templates/rss-news-templates/src/main/resources/default/orf/job/orf_news_post_embed.ftl +++ b/templates/sissi-templates/module-templates/rss-news-templates/src/main/resources/default/orf/job/orf_news_post_embed.ftl @@ -6,7 +6,9 @@ "name": "<@safe_include "orf_news_post_author"/>" }, "title": { + <#if title?has_content> "title": "${title?json_string}", + "url": "${url}" }, "description": "${url?json_string}<#if description?has_content>\n${description?json_string}",