diff --git a/umap/static/umap/js/modules/rendering/template.js b/umap/static/umap/js/modules/rendering/template.js index e320356e..a90ae6ce 100644 --- a/umap/static/umap/js/modules/rendering/template.js +++ b/umap/static/umap/js/modules/rendering/template.js @@ -137,12 +137,13 @@ class GeoRSSImage extends TitleMixin(PopupTemplate) { } } -class GeoRSSLink extends TitleMixin(PopupTemplate) { +class GeoRSSLink extends PopupTemplate { renderBody(feature, container) { - const title = this.renderTitle(feature, container) - return Utils.loadTemplate( - `${title}` - ) + if (feature.properties.link) { + return Utils.loadTemplate( + `

${feature.getDisplayName()}

` + ) + } } }