From c8da3663bdc2e3ea58665619fdf7796f37666804 Mon Sep 17 00:00:00 2001 From: Ricardo Tun Date: Tue, 29 May 2018 13:04:54 -0500 Subject: fix template for layoutReverse --- exampleSite/config.toml | 3 ++- layouts/_default/baseof.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2afbf10..8d31c7c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -19,7 +19,8 @@ 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 ## 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 }} -- cgit v1.2.3 From f1524dd1dc85301d2cacda3b983429559e4025fc Mon Sep 17 00:00:00 2001 From: Ricardo Tun Date: Sat, 2 Jun 2018 13:30:26 -0500 Subject: fix and improved sidebarSticky --- exampleSite/config.toml | 1 + layouts/partials/sidebar.html | 2 +- static/css/hyde.css | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8d31c7c..5143036 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -21,6 +21,7 @@ theme = "hyde-hyde" # please choose either GraphComment or Disqus # GraphCommentId = "your-graph-comment-id" # layoutReverse = true + # sidebarSticky = true ## Social Accounts [params.social] diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 7027a50..37b960c 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,5 +1,5 @@