sidebar layout tweaks
This commit is contained in:
parent
d845c2768a
commit
16e8d00ebe
17
config.toml
17
config.toml
@ -51,8 +51,23 @@ theme = "m10c"
|
||||
name = "Tags"
|
||||
url = "/tags/"
|
||||
weight = 2
|
||||
[[menu.main]]
|
||||
[[menu.secondary]]
|
||||
identifier = "then"
|
||||
name = "Past"
|
||||
url = "/then/"
|
||||
weight = 1
|
||||
[[menu.secondary]]
|
||||
identifier = "now"
|
||||
name = "Now"
|
||||
url = "/now/"
|
||||
weight = 2
|
||||
[[menu.secondary]]
|
||||
identifier = "upcoming"
|
||||
name = "Future"
|
||||
url = "/upcoming/"
|
||||
weight = 3
|
||||
[[menu.tertiary]]
|
||||
identifier = "mytweets"
|
||||
name = "Local Tweet Archive"
|
||||
url = "/mytweets/"
|
||||
weight = 3
|
@ -23,6 +23,8 @@
|
||||
<header class="app-header">
|
||||
<a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
|
||||
<span class="app-header-title">{{ .Site.Title }}</span>
|
||||
<p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
|
||||
<strong>Blog Navigation</strong>
|
||||
{{- with .Site.Menus.main }}
|
||||
<nav class="app-header-menu">
|
||||
{{- range $key, $item := . }}
|
||||
@ -33,7 +35,29 @@
|
||||
{{- end }}
|
||||
</nav>
|
||||
{{- end }}
|
||||
<p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
|
||||
{{- with .Site.Menus.secondary }}
|
||||
<br /><strong>What I am doing in the</strong>
|
||||
<nav class="app-header-menu">
|
||||
{{- range $key, $item := . }}
|
||||
{{- if ne $key 0 }}
|
||||
{{ $.Site.Params.menu_item_separator | default " - " | safeHTML }}
|
||||
{{ end }}
|
||||
<a class="app-header-menu-item" href="{{ $item.URL }}">{{ $item.Name }}</a>
|
||||
{{- end }}
|
||||
</nav>
|
||||
{{- end }}
|
||||
{{- with .Site.Menus.tertiary }}
|
||||
<br /><strong>Auxillary Pages</strong>
|
||||
<nav class="app-header-menu">
|
||||
{{- range $key, $item := . }}
|
||||
{{- if ne $key 0 }}
|
||||
{{ $.Site.Params.menu_item_separator | default " - " | safeHTML }}
|
||||
{{ end }}
|
||||
<a class="app-header-menu-item" href="{{ $item.URL }}">{{ $item.Name }}</a>
|
||||
{{- end }}
|
||||
</nav>
|
||||
{{- end }}
|
||||
<br /><strong>Me Elsewhere on the Internet</strong>
|
||||
{{- with .Site.Params.social }}
|
||||
<div class="app-header-social">
|
||||
{{ range . }}
|
||||
|
Loading…
Reference in New Issue
Block a user