Skip to content

Instantly share code, notes, and snippets.

@cyantarek
Created June 14, 2018 08:08
Show Gist options
  • Save cyantarek/a9308d4d970ae59c91e1cc7d85263438 to your computer and use it in GitHub Desktop.
Save cyantarek/a9308d4d970ae59c91e1cc7d85263438 to your computer and use it in GitHub Desktop.
{{define "base"}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="/static/css/style.css">
<link rel="stylesheet" href="/static/css/normalize.css">
<title>{{template "title" .}}</title>
</head>
<body>
{{template "sidebar" .}}
{{template "header" .}}
{{block "content" .}} {{end}}
</body>
</html>
{{end}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment