gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

about.tmpl (3022B)


      1 {{- /*
      2 // GoToSocial
      3 // Copyright (C) GoToSocial Authors admin@gotosocial.org
      4 // SPDX-License-Identifier: AGPL-3.0-or-later
      5 //
      6 // This program is free software: you can redistribute it and/or modify
      7 // it under the terms of the GNU Affero General Public License as published by
      8 // the Free Software Foundation, either version 3 of the License, or
      9 // (at your option) any later version.
     10 //
     11 // This program is distributed in the hope that it will be useful,
     12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 // GNU Affero General Public License for more details.
     15 //
     16 // You should have received a copy of the GNU Affero General Public License
     17 // along with this program.  If not, see <http://www.gnu.org/licenses/>.
     18 */ -}}
     19 
     20 {{ template "header.tmpl" .}}
     21 <main>
     22 	<section class="about">
     23 		<h1>About</h1>
     24 		<div>
     25 			{{.instance.Description |noescape}}
     26 		</div>
     27 
     28 		<div>
     29 			<h2>Admin Contact</h2>
     30 			{{if .instance.ContactAccount}}
     31 			<a href="{{.instance.ContactAccount.URL}}" class="account-card">
     32 				<img class="avatar" src="{{.instance.ContactAccount.Avatar}}" alt="" />
     33 				<h3>
     34 					{{if .instance.ContactAccount.DisplayName}}{{emojify .instance.ContactAccount.Emojis (escape .instance.ContactAccount.DisplayName)}}{{else}}{{.instance.ContactAccount.Username}}{{end}}
     35 				</h3>
     36 				<span>@{{.instance.ContactAccount.Username}}</span>
     37 			</a><br />
     38 			{{end}}
     39 			{{if .instance.Email}}
     40 			Email: <a href="mailto:{{.instance.Email}}">{{.instance.Email}}</a>
     41 			{{end}}
     42 		</div>
     43 
     44 		<div>
     45 			<h2>Features</h2>
     46 			<ul>
     47 				<li>
     48 					Registration is
     49 					{{if .instance.Registrations}}
     50 					enabled{{if .instance.ApprovalRequired}}, but requires admin approval{{end}}.
     51 					{{else}}
     52 					disabled.
     53 					{{end}}
     54 				</li>
     55 				{{if .instance.Configuration.Accounts.AllowCustomCSS}}
     56 				<li>
     57 					Users are allowed to set <a href="https://docs.gotosocial.org/en/latest/user_guide/custom_css/"
     58 						target="_blank" rel="noopener noreferrer">Custom CSS</a> for their profiles.
     59 				</li>
     60 				{{end}}
     61 				<li>
     62 					Toots can contain up to {{.instance.Configuration.Statuses.MaxCharacters}} characters and
     63 					{{.instance.Configuration.Statuses.MaxMediaAttachments}} media attachments.
     64 				</li>
     65 				<li>
     66 					Polls can have up to {{.instance.Configuration.Polls.MaxOptions}} options, with
     67 					{{.instance.Configuration.Polls.MaxCharactersPerOption}} characters each.
     68 				</li>
     69 			</ul>
     70 		</div>
     71 		<div>
     72 			<h2>Moderated servers</h2>
     73 			<p>
     74 				ActivityPub instances exchange (federate) data with other servers, including accounts and toots.
     75 				This can be prevented for specific domains by suspending them. None of their content is stored,
     76 				and interaction with their users is blocked both ways.</br>
     77 				{{if .blocklistExposed}}
     78 				<a href="/about/suspended">View the list of suspended domains</a>
     79 				{{else}}
     80 				This instance does not publically share this list.
     81 				{{end}}
     82 			</p>
     83 		</div>
     84 	</section>
     85 </main>
     86 {{ template "footer.tmpl" .}}