From 09a8e1b4a4c39e639ebe2581a948f0e88224020c Mon Sep 17 00:00:00 2001 From: weru Date: Tue, 1 Feb 2022 04:15:53 +0300 Subject: update Signed-off-by: weru --- exampleSite/content/docs/clarity/blogging.md | 1 + exampleSite/content/docs/clarity/syntax-highlighting.md | 1 + exampleSite/content/docs/clarity/theme-overrides.md | 1 + exampleSite/content/docs/compose/customize.md | 2 +- exampleSite/go.mod | 2 +- exampleSite/go.sum | 2 ++ layouts/partials/pager.html | 4 ++-- 7 files changed, 9 insertions(+), 4 deletions(-) diff --git a/exampleSite/content/docs/clarity/blogging.md b/exampleSite/content/docs/clarity/blogging.md index a6c21aa..0919002 100644 --- a/exampleSite/content/docs/clarity/blogging.md +++ b/exampleSite/content/docs/clarity/blogging.md @@ -1,5 +1,6 @@ +++ title="Blogging" +weight=16 +++ ### Blog directory diff --git a/exampleSite/content/docs/clarity/syntax-highlighting.md b/exampleSite/content/docs/clarity/syntax-highlighting.md index 36947cd..e951415 100644 --- a/exampleSite/content/docs/clarity/syntax-highlighting.md +++ b/exampleSite/content/docs/clarity/syntax-highlighting.md @@ -1,5 +1,6 @@ +++ title = "Syntax Highlighting" +weight=17 +++ ### Code diff --git a/exampleSite/content/docs/clarity/theme-overrides.md b/exampleSite/content/docs/clarity/theme-overrides.md index 28c2592..abcb933 100644 --- a/exampleSite/content/docs/clarity/theme-overrides.md +++ b/exampleSite/content/docs/clarity/theme-overrides.md @@ -1,5 +1,6 @@ +++ title = "Theme Overrides" +weight=18 +++ ### Custom CSS and JS diff --git a/exampleSite/content/docs/compose/customize.md b/exampleSite/content/docs/compose/customize.md index be7496c..be85383 100644 --- a/exampleSite/content/docs/compose/customize.md +++ b/exampleSite/content/docs/compose/customize.md @@ -1,7 +1,7 @@ +++ description = "basic configuration" title = "Customize layouts & components" - +weight = 10 +++ ### Shortcodes modifiers diff --git a/exampleSite/go.mod b/exampleSite/go.mod index a717dc6..a441645 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -2,4 +2,4 @@ module compose-exampleSite go 1.15 -require github.com/onweru/compose v0.0.0-20220201002401-8fc05ebec231 // indirect +require github.com/onweru/compose v0.0.0-20220201002706-19dcf4f70f4a // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum index ece83bb..d9ac12f 100644 --- a/exampleSite/go.sum +++ b/exampleSite/go.sum @@ -200,3 +200,5 @@ github.com/onweru/compose v0.0.0-20220131233504-ff693a0f9e9d h1:pbtSqDhoriw5JHbi github.com/onweru/compose v0.0.0-20220131233504-ff693a0f9e9d/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc= github.com/onweru/compose v0.0.0-20220201002401-8fc05ebec231 h1:wNtaIQ7jJPCOi/KU4CvD89R8dhoXfga2rpJaZ90a7Kk= github.com/onweru/compose v0.0.0-20220201002401-8fc05ebec231/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc= +github.com/onweru/compose v0.0.0-20220201002706-19dcf4f70f4a h1:G4nU+9JMPiVjuCUONovpvWYeFYd2usmxU6gjMbcJJMc= +github.com/onweru/compose v0.0.0-20220201002706-19dcf4f70f4a/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc= diff --git a/layouts/partials/pager.html b/layouts/partials/pager.html index 1bb5e8c..0fe75b6 100644 --- a/layouts/partials/pager.html +++ b/layouts/partials/pager.html @@ -1,7 +1,7 @@
{{- $searchURL := "/search/" }} {{ with .NextInSection }} - {{ if ne .RelPermalink $searchURL }} + {{ if and (ne .RelPermalink $searchURL) (.InSection .) }}