Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Tim Gilbreath
Beigetreten 24. Mai 2024
·
Letzte Aktivität 28. Mai 2024
Folge ich
0
Follower
0
Gesamtaktivitäten
3
Stimmen
0
Abonnement
1
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Tim Gilbreath
Tim Gilbreath hat einen Kommentar hinterlassen
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}}
Kommentar anzeigen · Gepostet 28. Mai 2024 · Tim Gilbreath
0
Follower
0
Stimmen
0
Kommentare
Tim Gilbreath hat einen Post erstellt
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!
Gepostet 24. Mai 2024 · Tim Gilbreath
0
Follower
6
Stimmen
3
Kommentare