|
@@ -1,29 +1,39 @@
|
|
|
<!doctype html>
|
|
|
<html lang="en">
|
|
|
-<head>
|
|
|
- <meta charset="utf-8">
|
|
|
- <title>Casey DeLorme's Portfolio / caseydelorme.com</title>
|
|
|
- <link rel="stylesheet" type="text/css" href="/css/main.css#{{$gitversion}}">
|
|
|
-</head>
|
|
|
+ <head>
|
|
|
+ {{/* depth stored for access inside navigation loop */}}
|
|
|
+ {{$depth := .Depth}}
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <title>{{if .Name}}{{.Name}} | {{end}}Casey DeLorme's Portfolio / caseydelorme.com</title>
|
|
|
+ <link rel="stylesheet" type="text/css" href="{{$depth}}/css/main.css#{{.Version}}">
|
|
|
+ </head>
|
|
|
<body>
|
|
|
|
|
|
<header>
|
|
|
- <h1>Casey Delorme</h1>
|
|
|
+ <h1>Casey DeLorme</h1>
|
|
|
+ {{if .Nav}}
|
|
|
<nav>
|
|
|
- {{$navigation}}
|
|
|
+ <ul>
|
|
|
+ {{range .Nav}}
|
|
|
+ <li><a href='{{$depth}}{{.Link}}'>{{.Name}}</a></li>
|
|
|
+ {{end}}
|
|
|
+ </ul>
|
|
|
</nav>
|
|
|
+ {{end}}
|
|
|
</header>
|
|
|
|
|
|
- <div class="content group">
|
|
|
- {{$content}}
|
|
|
- </div>
|
|
|
+ <div class="content group">{{.Content}}</div>
|
|
|
|
|
|
- <footer>
|
|
|
- Copyright?
|
|
|
+ <div class="footer">
|
|
|
+ <a href='https://www.facebook.com/CaseyRDeLorme' class='link facebook'></a> |
|
|
|
+ <a href='https://www.linkedin.com/in/cdelorme' class='link linkedin'></a> |
|
|
|
+ <a href='https://www.youtube.com/user/LordOfElm' class='link youtube'></a> |
|
|
|
+ <a href='https://github.com/cdelorme' class='link github'></a> |
|
|
|
+ <a href='skype:casey.delorme?chat' class='link skype'></a>
|
|
|
<div class="scripts">
|
|
|
- <script src="/js/main.js#{{$gitversion}}" async></script>
|
|
|
+ <script type="text/javascript" src="{{$depth}}/js/main.js#{{.Version}}" async></script>
|
|
|
</div>
|
|
|
- </footer>
|
|
|
- </body>
|
|
|
+ </div>
|
|
|
|
|
|
-</html>
|
|
|
+ </body>
|
|
|
+</html>
|