Removed comments from news

This commit is contained in:
Cyanoure
2023-08-08 18:47:09 +02:00
parent fd54627f08
commit 70d6155321

View File

@@ -992,8 +992,9 @@ async function loadNews(){
const date = new Date(el.find('pubDate').text()).toLocaleDateString('hu-HU', {month: 'short', day: 'numeric', year: 'numeric', hour: 'numeric', minute: 'numeric'}) const date = new Date(el.find('pubDate').text()).toLocaleDateString('hu-HU', {month: 'short', day: 'numeric', year: 'numeric', hour: 'numeric', minute: 'numeric'})
// Resolve comments. // Resolve comments.
let comments = el.find('comments').text() || '0' /*let comments = el.find('comments').text() || '0'
comments = comments + ' Komment' comments = comments + ' Komment'*/
let comments = ''
// Fix relative links in content. // Fix relative links in content.
let content = el.find('content').text() let content = el.find('content').text()