even even more news
parent
e97ca2a41c
commit
8f069f17f4
|
@ -157,7 +157,7 @@
|
||||||
const [url, meta] = Object.entries(a)[0];
|
const [url, meta] = Object.entries(a)[0];
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.className = 'article-link';
|
link.className = 'article-link';
|
||||||
link.href = '/view?url=' + encodeURIComponent(url);
|
link.href = '/news/view?url=' + encodeURIComponent(url);
|
||||||
|
|
||||||
const article = document.createElement('article');
|
const article = document.createElement('article');
|
||||||
const txt = meta.processed_text;
|
const txt = meta.processed_text;
|
||||||
|
|
|
@ -134,7 +134,7 @@
|
||||||
the whole card is a single coherent link */
|
the whole card is a single coherent link */
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.className = 'article-link';
|
link.className = 'article-link';
|
||||||
link.href = '/view?url=' + encodeURIComponent(url);
|
link.href = '/news/view?url=' + encodeURIComponent(url);
|
||||||
|
|
||||||
const card = document.createElement('article');
|
const card = document.createElement('article');
|
||||||
card.className = 'article-card';
|
card.className = 'article-card';
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
const [url, meta] = Object.entries(a)[0];
|
const [url, meta] = Object.entries(a)[0];
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.className = 'article-link';
|
link.className = 'article-link';
|
||||||
link.href = '/view?url=' + encodeURIComponent(url);
|
link.href = '/news/view?url=' + encodeURIComponent(url);
|
||||||
|
|
||||||
const article = document.createElement('article');
|
const article = document.createElement('article');
|
||||||
const txt = meta.processed_text;
|
const txt = meta.processed_text;
|
||||||
|
|
Loading…
Reference in New Issue