2017-11-07 11:16:35 +00:00
|
|
|
{{define "blog"}}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>{{.Title}}</title>
|
2017-11-30 11:15:27 +00:00
|
|
|
<link rel="stylesheet" href="/css/style.css">
|
2017-11-07 11:16:35 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-03-11 10:58:22 +00:00
|
|
|
<div class="titleArea" style="margin-bottom:30px;">
|
2021-03-10 21:14:21 +00:00
|
|
|
<ul id=titleArea>
|
|
|
|
<li style="width:270px;">
|
|
|
|
<h1 style="margin-bottom:0px;"><a class="title" href="/" style="text-decoration: none;">{{.Title}}</a></h1>
|
|
|
|
<div class="tagline">
|
|
|
|
<p style="text-indent: 0; margin-top:10px;">play, talk, develop</p>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li style="width:568px;padding:50px;">
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2021-03-09 20:10:26 +00:00
|
|
|
<div class="section">
|
|
|
|
<ul id="section">
|
|
|
|
<li>
|
2021-03-10 21:14:21 +00:00
|
|
|
<div class="menu" style="width:270px;">
|
2021-03-09 20:10:26 +00:00
|
|
|
<ul id="menu">
|
|
|
|
<!-- <li><a class={{if eq .CurrentPage "blog"}} "menuselect menuElement no-link"{{else}}"menuElement no-link"{{end}} href="/">blog</a></li> -->
|
|
|
|
<li><a class={{if eq .CurrentPage "past"}} "menuselect menuElement no-link"{{else}}"menuElement no-link"{{end}} href="/past">past</a></li>
|
|
|
|
<li><a class={{if eq .CurrentPage "about"}} "menuselect menuElement no-link"{{else}}"menuElement no-link"{{end}} href="/about">about</a></li>
|
|
|
|
<li><a class={{if eq .CurrentPage "contact"}} "menuselect menuElement no-link"{{else}}"menuElement no-link"{{end}} href="/contact">contact</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div class="contents">
|
|
|
|
{{if eq .CurrentPage "blog"}}
|
|
|
|
<article class="posts">{{template "content" .}}</article>
|
|
|
|
{{else if eq .CurrentPage "about"}}
|
|
|
|
<div>{{template "about" .}}</div>
|
|
|
|
{{else if eq .CurrentPage "past"}}
|
|
|
|
<div>{{template "past" .}}</div>
|
|
|
|
{{else if eq .CurrentPage "contact"}}
|
|
|
|
<div>{{template "contact" .}}</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2017-11-19 14:02:18 +00:00
|
|
|
</div>
|
2017-11-07 11:16:35 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
2017-11-19 14:02:18 +00:00
|
|
|
{{end}}
|