Skip to content

Instantly share code, notes, and snippets.

@Cibernomadas Cibernomadas/base.html
Last active May 29, 2018

Embed
What would you like to do?
<html>
<head>
{{ if .title }}
<title>{{ .title }}</title>
{{ else }}
<title>Título por defecto</title>
{{ end }}
</head>
<body>
<div>* ¡GoBlog Utiliza plantillas con herencia! *</div>
{{ template "index.html" . }}
</body>
</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.