recolor lumbungkios cards
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
21ba0d513a
commit
97d083ed90
@ -44,7 +44,7 @@
|
|||||||
// add classes for styling lumbung kios and lumbung gallery cards
|
// add classes for styling lumbung kios and lumbung gallery cards
|
||||||
let cards = document.querySelectorAll('.shout.card');
|
let cards = document.querySelectorAll('.shout.card');
|
||||||
[...cards].forEach(card => {
|
[...cards].forEach(card => {
|
||||||
if (card.querySelector('a[href="/tags/lumbungkios"]')) {
|
if (card.querySelector('a[href="/tags/lumbungkios"]') || card.querySelector('a[href="/tags/lumbungkiosproducts"]')) {
|
||||||
card.classList.add('lumbung-kios')
|
card.classList.add('lumbung-kios')
|
||||||
} else if (card.querySelector('a[href="/tags/lumbunggallery"]')) {
|
} else if (card.querySelector('a[href="/tags/lumbunggallery"]')) {
|
||||||
card.classList.add('lumbung-gallery')
|
card.classList.add('lumbung-gallery')
|
||||||
|
Loading…
Reference in New Issue
Block a user