/
Art86
/
DefectDojo-security
Обзор
Документация
Войти
/
Art86
/
DefectDojo-security
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
docs/layouts/_default/list.html
24 строки
1 KB
Greg Anderson
Updates Documentation Site (#14357)
27 фев 2026, 23:30
Не верифицирован
27 фев 2026, 23:30
4fb36fc
Код
Авторство
О чём код?
{{ define "main" }} <div class="row justify-content-center"> <div class="docs-content col-lg-11 col-xl-9 mx-xl-auto"> <article> <h1 class="text-center">{{ if eq .CurrentSection .FirstSection }}{{ .Section | humanize }}{{ else }}{{ .Title }}{{ end }}</h1> {{ with .Content }}<div>{{ . }}</div>{{ end }} <div class="card-list"> {{ $currentSection := .CurrentSection }} {{ range where .Site.RegularPages.ByTitle "Section" .Section }} {{ if in (.RelPermalink | string) $currentSection.RelPermalink }} <div class="card my-3"> <div class="card-body"> <a class="stretched-link" href="{{ .RelPermalink }}">{{ .Params.title | title }} →</a> {{ with .Description }}<p class="card-text text-muted small mt-1 mb-0">{{ . }}</p>{{ end }} {{ with .Params.lead }}<p class="card-text text-muted small mt-1 mb-0">{{ . }}</p>{{ end }} </div> </div> {{ end }} {{ end }} </div> </article> </div> </div> {{ end }}