Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
{{ if .title }}
<title>{{ .title }}</title>
{{ else }}
<title>Título por defecto</title>
{{ end }}
<a href="/">Homepage</a>
<a href="/login">Login</a>
{{ if .error }}
<p>Error: {{ .error }} </p>
{{ end }}
{{ template "index.html" . }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.