Pesquisas recentes
Sem pesquisas recentes

Tim Gilbreath
Entrou em 24 de mai. de 2024
·
Última atividade em 28 de mai. de 2024
Seguindo
0
Seguidores
0
Atividade total
3
Votos
0
Assinatura
1
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Tim Gilbreath
Tim Gilbreath comentou,
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}}
Exibir comentário · Publicado 28 de mai. de 2024 · Tim Gilbreath
0
Seguidores
0
Votos
0
Comentários
Tim Gilbreath criou uma publicação,
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!
Publicado 24 de mai. de 2024 · Tim Gilbreath
0
Seguidores
6
Votos
3
Comentários