From 72b1af53112e7ab9cc5f7cced3b02ab7f86691e0 Mon Sep 17 00:00:00 2001 From: gabrieluizramos Date: Mon, 13 Nov 2023 09:47:34 -0300 Subject: [PATCH] ajusta texto com label do veiculo de imprensa --- src/mixins.pug | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mixins.pug b/src/mixins.pug index e7510b2..bfeeb3d 100644 --- a/src/mixins.pug +++ b/src/mixins.pug @@ -21,8 +21,9 @@ mixin details(category) span.detail !{" "} #{category.details.venue} if category.details.press p.press - span.detail Veículo: !{" "} - +vehicle(category.details.press) + - const label = category.details.press.article ? 'Leia a matéria completa: ' : 'Veículo: '; + span.detail #{label} + +vehicle(category.details.press) if category.details.press.more p.press span.detail Veja mais em: !{" "}