added featured articles option with distinct style
This commit is contained in:
parent
4239ea5347
commit
13bb88e93a
5 changed files with 75 additions and 10 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue