content/static/html/doc: change text for empty sections
When a documentation section is empty, the text now displays "This
section is empty."
For golang/go#42652
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
{{"\n"}}
{{- end -}}
{{- else -}}
- <div class="Documentation-empty">There are no constants in this package.</div>
+ <div class="Documentation-empty">This section is empty.</div>
{{- end -}}
</section>
{{"\n"}}
{{- end -}}
{{- else -}}
- <div class="Documentation-empty">There are no variables in this package.</div>
+ <div class="Documentation-empty">This section is empty.</div>
{{- end -}}
</section>
</div>
{{- end -}}
{{- else -}}
- <div class="Documentation-empty">There are no functions in this package.</div>
+ <div class="Documentation-empty">This section is empty.</div>
{{- end -}}
</section>
</div>
{{- end -}}
{{- else -}}
- <div class="Documentation-empty">There are no types in this package.</div>
+ <div class="Documentation-empty">This section is empty.</div>
{{- end -}}
</section>
{{- end -}}
