{{ define "layout" }}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge" /><![endif]-->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ .PageTitle }}</title>
    <link href="static/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="static/js/jquery-3.2.1.min.js"></script>
    <script src="static/bootstrap-3.3.7/js/bootstrap.min.js"></script>
    <script>{{ .CustomHeaderScript }}</script>
</head>
<body>

{{ template "modal" }}

{{ template "navbar" }}

<div class="container">
{{ .Content }}
</div>

{{ template "footer" }}

</body>
</html>
{{ end }}

{{ define "layout" }}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge" /><![endif]-->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ .PageTitle }}</title>
    <link href="/static/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="/static/js/jquery-3.2.1.min.js"></script>
    <script src="/static/bootstrap-3.3.7/js/bootstrap.min.js"></script>
    <script>{{ .CustomHeaderScript }}</script>
</head>
<body>

{{ template "modal" }}

{{ template "navbar" }}

<div class="container">
{{ .Content }}
</div>

{{ template "footer" }}

</body>
</html>
{{ end }}

Use abs path for static files
Use abs path for static files
