mirror of
https://gitlab.com/MisterBiggs/Resume.git
synced 2025-06-16 01:16:39 +00:00
quick fix to support articles without images
This commit is contained in:
parent
a6fd94bfaf
commit
2dffd38384
@ -191,6 +191,7 @@
|
||||
let articles = ``;
|
||||
let detailedlist = `<dl id="onlyprint">`;
|
||||
items.forEach((el) => {
|
||||
try {
|
||||
articles += `
|
||||
<article id="noprint">
|
||||
<a href="${
|
||||
@ -208,6 +209,9 @@
|
||||
</a>
|
||||
</article>
|
||||
`;
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
}
|
||||
detailedlist += `
|
||||
<dt><a href="${el.querySelector("link").innerHTML}">
|
||||
${el.querySelector("title").innerHTML}</a></dt>
|
||||
|
Loading…
x
Reference in New Issue
Block a user