Conversation
| @@ -1,7 +1,7 @@ | |||
| {{ $menu := partial "GetMenu" "social" }} | |||
|
|
|||
| {{ if $menu.items }} | |||
There was a problem hiding this comment.
ce test n'est pas ailleurs, pourquoi ?
djLintTag seems to be an orphan.layouts/_partials/AddCreditMention.html, line 3:54, code H025 </span>Tag seems to be an orphan.layouts/_partials/AddCreditMention.html, line 4:41, code H025 </span>Tag seems to be an orphan.layouts/_partials/AddCreditMention.html, line 5:30, code H025 <p>Tag seems to be an orphan.layouts/_partials/AddCreditMention.html, line 5:44, code H025 <p>Unclosed string found in template syntax.layouts/_partials/GetImageDimensions.html, line 12:2, code T027 {{ $svgWidth := indeUnclosed string found in template syntax.layouts/_partials/GetImageDimensions.html, line 13:2, code T027 {{ $svgHeight := indUnclosed string found in template syntax.layouts/_partials/GetImageDimensions.html, line 18:4, code T027 {{ $svgViewBoxSizes Tag seems to be an orphan.layouts/_partials/RemoveSrOnlyTag.html, line 2:52, code H025 </span>Tag seems to be an orphan.layouts/_partials/contents/list.html, line 42:2, code H025 </div>Empty tag pair found. Consider removing.layouts/_partials/header/button.html, line 7:2, code H020 <span></span>Found extra blank lines.layouts/_partials/pages/partials/layouts/alternate/alternate.html, line 23:61, code H014 tml" . -}}Tag seems to be an orphan.layouts/_partials/taxonomies/section-list.html, line 9:2, code H025 <div class="taxonomi
Duplicate attribute found.layouts/alias.html, line 9:43, code H037 urlLinted 584 files, found 13 errors. Hugo analyzerDirectoriesDirectories should not contain too many files, it's probably a sign of mess.
Partials callsPartials called once might be in the wrong place. Partials never called might be metaprogrammed, or obsolete.
Too many linesFiles should not be too long, it's a sign of mess and a difficulty for overrides.
ComplexityCyclomatic complexity should not be too high.
|
|
Trouver les usages de : C'est vraiment du bricolage, mais en fait c'est ce qui permet d'afficher le i18n dans le menu legal, quand on choisit la config : Si on met juste |
|
Trouver les usages de : Ça j'ai pas trouvé d'usage de style dans les sites qui ont un menu social. |
Type
Description
Rangement du menu, pour discussion et principes :
helperspour ranger les partials qui return quelquechoseNiveau d'incidence
Migration
social, une classe doit manquer.{{- if or (ne .stop 1) (and (eq .stop 1) (ne .kind "blank")) -}}ne dérange pasdisabledsur les items de typeblank(les textes simples)