{{ define "title" }}Lintian Tag: {{ .Name }}{{ end }}

{{ define "description" }}Explanation for the lintian tag {{ .Name }}{{ end }}

{{ define "page" }}tags/{{ .Name }}.html{{ end }}

{{ define "content" }}
    <h1>
      <code class="{{ .Visibility }}{{ if .Experimental }} experimental{{ end }}">
        {{ .Name }}
      </code>
    </h1>
    {{ .ExplanationHTML }}
    <table>
      <tr>
        <td>Severity: </td>
        <td><code>{{ .Visibility }}</code></td>
      </tr>
      <tr>
        <td>Experimental: </td>
        <td><code>{{ .Experimental }}</code></td>
      </tr>
{{- if .RenamedFrom }}
      <tr>
        <td>Renamed from: </td>
        <td><code>{{ .RenamedFromStr }}</code></td>
      </tr>
{{- end }}
    </table>

{{ if .Screens }}
    <h2>Screens</h2>
    <dl>
{{- range .Screens }}
      <dt>{{ .Name }}</dt>
      <dd>
        {{ .ReasonHTML }}
        {{ .AdvocatesHTML }}
{{- if .SeeAlso }}
        {{ .SeeAlsoHTML }}
{{- end }}
      </dd>
{{- end }}
    </dl>
{{ end }}

    <h2>See also</h2>
    <ul id="see-also">
{{- range .SeeAlsoHTML }}
      <li>{{ . }}</li>
{{- end }}
      <li>list of <a href="https://udd.debian.org/lintian-tag/{{ .Name }}?affected=yes">all the affected packages</a>
      <li>the <a href="{{ .Source }}">source</a> of this tag</li>
    </ul>
{{ end }}
