diff options
Diffstat (limited to 'themes/orca/layouts/partials')
-rw-r--r-- | themes/orca/layouts/partials/header.html | 14 | ||||
-rw-r--r-- | themes/orca/layouts/partials/post-item.html | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/themes/orca/layouts/partials/header.html b/themes/orca/layouts/partials/header.html new file mode 100644 index 0000000..77d2a39 --- /dev/null +++ b/themes/orca/layouts/partials/header.html @@ -0,0 +1,14 @@ +<header> + <div class="title"> + <img src="/icon.png"/> + <h2><a href="/">{{ .Site.Title }}</a></h2> + </div> + <nav> +{{ range site.Menus.main }} + <span>[<a href="{{ .URL }}">{{ .Name }}</a>]</span> +{{ end }} +{{ range site.Menus.right_main }} + <span class="right">[<a href="{{ .URL }}">{{ .Name }}</a>]</span> +{{ end }} + </nav> +</header> diff --git a/themes/orca/layouts/partials/post-item.html b/themes/orca/layouts/partials/post-item.html new file mode 100644 index 0000000..183dd28 --- /dev/null +++ b/themes/orca/layouts/partials/post-item.html @@ -0,0 +1,11 @@ +<div class="post"> + <small class="right"><a href="/{{ .Type }}/">{{ .Type }}</a></small> + <b><a href="{{ .Permalink }}">{{ .Title }}</a></b> + <br> + <i>{{ .Date.Format "January 2nd, 2006" }}</i> + <br> + <br> + <span> + {{ range $i, $t := .Params.tags }}{{ if $i }}, {{ end }}<a href="">{{ $t }}</a>{{ end }} + </span> +</div> |