Skip to content

Commit 853950b

Browse files
author
veeck
committed
fix header layout in newsfeed
1 parent 9d713ff commit 853950b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/default/newsfeed/newsfeed.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
{% if (config.showSourceTitle and item.sourceTitle) or config.showPublishDate %}
4141
<div class="newsfeed-source light small dimmed">
4242
{% if item.sourceTitle and config.showSourceTitle %}
43-
{{ item.sourceTitle }}{% if config.showPublishDate %},{% else %}:{% endif %}
43+
{{ item.sourceTitle }}{% if config.showPublishDate %},&nbsp;{% else %}:{% endif %}
4444
{% endif %}
4545
{% if config.showPublishDate %}{{ item.publishDate }}:{% endif %}
4646
</div>
@@ -63,7 +63,7 @@
6363
{% if (config.showSourceTitle and sourceTitle) or config.showPublishDate %}
6464
<div class="newsfeed-source light small dimmed">
6565
{% if sourceTitle and config.showSourceTitle %}
66-
{{ escapeText(sourceTitle, config.dangerouslyDisableAutoEscaping) }}{% if config.showPublishDate %},{% else %}:{% endif %}
66+
{{ escapeText(sourceTitle, config.dangerouslyDisableAutoEscaping) }}{% if config.showPublishDate %},&nbsp;{% else %}:{% endif %}
6767
{% endif %}
6868
{% if config.showPublishDate %}{{ publishDate }}:{% endif %}
6969
</div>

0 commit comments

Comments
 (0)