Recherches récentes
Pas de recherche récente

Tim Gilbreath
Adhésion le 24 mai 2024
·
Dernière activité le 28 mai 2024
Suivis
0
Abonnés
0
Activité totale
3
Votes
0
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Tim Gilbreath
Tim Gilbreath a ajouté un commentaire,
Hmm for some reason that's giving me an error saying it either can't use #is in that manner, or that ID is not available in category.
This is the block of code I'm trying to run it on, basically I want one category to have a different style:
I discovered that
{{#each categories}}
{{#if ../has_multiple_categories}}
-
{{name}}
{{excerpt description characters=150}}
{{else}}
{{#each sections}}
-
{{excerpt description characters=150}}
{{name}}
{{/each}}
{{/if}}
{{/each}}
Afficher le commentaire · Publication le 28 mai 2024 · Tim Gilbreath
0
Abonnés
0
Votes
0
Commentaire
Tim Gilbreath a créé une publication,
Hi guys, I'm having a basic conundrum..I'd like to pick out one of my categories using an if/then in my home page code, and style that category box differently than the rest. What is the procedure for writing if/thens and referencing a category?
Thanks in advance!
Publication le 24 mai 2024 · Tim Gilbreath
0
Abonnés
6
Votes
3
Commentaires