diff options
| author | 2024-01-05 13:39:31 +0100 | |
|---|---|---|
| committer | 2024-01-05 13:39:31 +0100 | |
| commit | d5e3996a18ee37fc4bdf5718632d3d19ac7a8c1b (patch) | |
| tree | 7b8df224893611c77cadc847c2fd8d7ec239b636 /web/template/index.tmpl | |
| parent | [bugfix] fix check for closed poll to account for non-zero closed time but in... (diff) | |
| download | gotosocial-d5e3996a18ee37fc4bdf5718632d3d19ac7a8c1b.tar.xz | |
[feature] Parse instance descriptors as markdown, show T&C on /about (#2481)
* [feature] Parse instance descriptors as markdown, show T&C on /about
* lint
* remove unnecessary nullzero tags
Diffstat (limited to 'web/template/index.tmpl')
| -rw-r--r-- | web/template/index.tmpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/web/template/index.tmpl b/web/template/index.tmpl index f27cf8570..7e7b7118e 100644 --- a/web/template/index.tmpl +++ b/web/template/index.tmpl @@ -21,7 +21,7 @@ {{- if .instance.ShortDescription }} {{ .instance.ShortDescription | noescape }} {{- else }} -<p>No short description has yet been set for this instance.<p> +<p>No short description has yet been set for this instance.</p> {{- end }} {{- end -}} @@ -29,8 +29,10 @@ <main class="about"> <section class="about-section" role="region" aria-labelledby="about"> <h3 id="about">About this instance</h3> - {{- include "shortDescription" . | indent 2 }} - <a href="/about">See more details</a> + <div class="about-section-contents"> + {{- include "shortDescription" . | indent 3 }} + <a href="/about">See more details</a> + </div> </section> {{- include "index_apps.tmpl" . | indent 1 }} </main> |
