added featured articles option with distinct style

This commit is contained in:
Gabriele Musco 2021-04-13 23:30:34 +02:00
parent 4239ea5347
commit 13bb88e93a
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
5 changed files with 75 additions and 10 deletions

View file

@ -13,7 +13,6 @@
return `<img src="${image}" />`
}
function renderSingleArticle(article) {
if (article.ignore) return '';
return `
<article class="card postlistitem {{ if .Site.Params.discreteCards }}discrete{{ end }}">
<div>