diff --git a/README.md b/README.md index 095f99f..c4565a5 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,14 @@ paginate = 10 smartToc = true ``` +### Post Navigation +``` +[params] + noPostNavigation = true +``` + +This option disables links to next and previous post at the bottom of posts. + ### Disqus ``` disqusShortname = "xxxxxx" diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 5d98f72..f42ec15 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,3 +1,4 @@ +{{ if not .Site.Params.NoPostNavigation }} +{{ end }}