diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2afbf10..5143036 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -19,7 +19,9 @@ theme = "hyde-hyde" highlightjs = true # highlightjsstyle = "github" # please choose either GraphComment or Disqus - # GraphCommentId = "your-graph-comment-id" + # GraphCommentId = "your-graph-comment-id" + # layoutReverse = true + # sidebarSticky = true ## Social Accounts [params.social] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7cacb9f..42e4538 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{ block "header" . -}}{{- end }} - + {{ partial "sidebar.html" . }}
{{ block "content" . }}{{ end }} @@ -14,6 +14,6 @@ {{ if .Site.GoogleAnalytics -}} {{ template "_internal/google_analytics_async.html" . }} - {{- end }} + {{- end }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 7027a50..b7ae794 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,20 +1,20 @@ diff --git a/static/css/hyde.css b/static/css/hyde.css index 46cc0ae..3c30818 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -121,7 +121,7 @@ a.sidebar-nav-item:focus { .sidebar-sticky { position: absolute; right: 1rem; - top: 1rem; + bottom: 1rem; left: 1rem; } } @@ -167,7 +167,7 @@ a.sidebar-nav-item:focus { display:inline; vertical-align: bottom; } - + .badges { float: right; }