{{template "header" .}}
{{ if .SignedIn }}Write
{{end}} Log in{{ if gt (len .DomainList) 1 }} / out{{end}}
{{with .Message}}

{{.}}

{{end}}

{{if eq .Domain "public"}} Welcome {{else}} {{ if .Options.CustomTitle }} {{ .Options.CustomTitle }} {{ else }} {{.Domain}} {{ end }} {{end}}

{{if and (eq .Domain "public") (not .PrivateEnvironment)}}

This is rwtxt, a space for reading and writing text which you can use as a blog, a pastebin, or a notepad.

{{end}}

{{ if .Options.CustomIntro }} {{.CustomIntro}} {{ else }} This is the {{.Domain}} domain, each page will begin with /{{.Domain}}. {{ end }} {{if .DomainExists}} {{ if .Options.CustomIntro }}{{else}} {{if eq .Domain "public"}} Anyone can view, edit, or create a page. If you want to keep reading and writing to yourself, then you can login to your own domain. {{else}} {{ if .SignedIn}} Only you can edit pages, since you are are logged in (log out here). {{if .DomainIsPrivate}} Only you can view pages, since your domain is private. {{else}} Anyone can view pages, since your domain is public. {{end}} {{else}} You are not logged in and cannot edit {{ if .DomainIsPrivate}} or view {{end}}pages. Go back to the public domain. {{end}} {{end}} {{end}}

{{ if .Options.CustomIntro }}{{else}} {{ if gt (len .DomainList) 1 }}

You are currently signed into {{ range $index, $element := .DomainList}}{{if $index}}, {{end}}{{$element}}{{end}} domains. You can still log in to other domains.

{{ end}} {{end}} {{ if and (or (not .DomainIsPrivate) (.SignedIn)) (or (ne .Domain "public") (.PrivateEnvironment)) }} {{ if .Options.ShowSearch}} {{ end }} {{ if .AllFiles }}

Posts

Created
{{range .AllFiles}}
{{if eq (len .Slug) 0}}{{.ID}}{{else}}{{replace .Slug "-" " "}}{{end}}
{{.CreatedDate $.UTCOffset }}
{{end}}
{{end}} {{ if .Files }}

Most recent (all posts)

Last modified
{{range .Files}}
{{if eq (len .Slug) 0}}{{.ID}}{{else}}{{replace .Slug "-" " "}}{{end}}
{{.ModifiedDate $.UTCOffset }}
{{end}}
{{end}} {{ if .MostActiveList }}

Most edited

Last modified
{{range .MostActiveList}}
{{if eq (len .Slug) 0}}{{.ID}}{{else}}{{replace .Slug "-" " "}}{{end}}
{{.ModifiedDate $.UTCOffset }}
{{end}}
{{end}} {{end}} {{ if and (.SignedIn) (ne .Domain "public")}}
Options
Make domain public (your posts appear on public page and are searchable)
Show search box
# of recently created to show:
# of recently edited to show:
# of most edited to show:
Custom title:
Custom Intro:

Custom CSS:
Download data.
{{ end}} {{else}} This domain does not yet exist. You can create it.

{{end}} {{ if .ShowCookieMessage}}

This site uses cookies. By using this site you agree to the use of cookies.

{{ end }}
{{template "footer" .}}