Created
June 2, 2018 15:32
-
-
Save Cibernomadas/94ae78855103b6b774e7920b9f961db1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
{{ if .title }} | |
<title>{{ .title }}</title> | |
{{ else }} | |
<title>Título por defecto</title> | |
{{ end }} | |
</head> | |
<body> | |
<div> | |
GoBlog: | |
<a href="/">Homepage</a> | |
<a href="/login">Login</a> | |
</div> | |
<hr> | |
{{ if .error }} | |
<p>Error: {{ .error }} </p> | |
{{ end }} | |
{{ template "index.html" . }} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment