forked from ohayo-jacob/takunomi-blog
18 lines
486 B
Cheetah
18 lines
486 B
Cheetah
|
{{define "main"}}
|
||
|
<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 "keru_shoujo"}}
|
||
|
<div>{{template "keru_shoujo" .}}</div>
|
||
|
{{else if eq .CurrentPage "contact"}}
|
||
|
<div>{{template "contact" .}}</div>
|
||
|
{{end}}
|
||
|
</div>
|
||
|
</li>
|
||
|
{{end}}
|