Removed comments from news
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user