From 0a8f571b45f42b7eba20d9762e61e75f256f7501 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 10 Dec 2017 15:37:50 +0100 Subject: [PATCH] theme: rename :navbar_brand_hidden: option to :hide_navbar_brand:. Sorry about the breakage (again). For consistency with naming of all other "do something" options (:collapse_first:, :hide_summary: etc.). --- doc/admire/math.rst | 1 - doc/index.rst | 2 +- doc/pelican/theme.rst | 6 +++--- pelican-theme/templates/base.html | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/admire/math.rst b/doc/admire/math.rst index dce79805..4e813db6 100644 --- a/doc/admire/math.rst +++ b/doc/admire/math.rst @@ -33,7 +33,6 @@ m.css math :url: admire/math/ :cover: {filename}/static/cover-math.jpg :summary: The fastest possible math rendering for the modern web -:navbar_brand_hidden: False :footer: .. note-dim:: diff --git a/doc/index.rst b/doc/index.rst index b90e3ff4..52d19ffe 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -30,7 +30,7 @@ m.css :cover: {filename}/static/cover.jpg :summary: A no-nonsense, no-JavaScript CSS framework and Pelican theme for content-oriented websites -:navbar_brand_hidden: True +:hide_navbar_brand: True :landing: .. container:: m-row diff --git a/doc/pelican/theme.rst b/doc/pelican/theme.rst index 688cd01e..a8e5102e 100644 --- a/doc/pelican/theme.rst +++ b/doc/pelican/theme.rst @@ -292,8 +292,8 @@ cover image spanning the whole window width. Put cover image URL into a :abbr:`reST `-processed content that appears on top of the cover image. Contents of the :rst:`:landing:` are put into a :html:`
`, you are expected to fully take care of rows -and columns in it. The :rst:`:navbar_brand_hidden:` field controls visibility -of the navbar brand link. Set it to :py:`True` to hide it, default (if not +and columns in it. The :rst:`:hide_navbar_brand:` field controls visibility of +the navbar brand link. Set it to :py:`True` to hide it, default (if not present) is :py:`False`. .. block-warning:: Configuration @@ -318,7 +318,7 @@ destination and URL. :save_as: index.html :url: :cover: {filename}/static/cover.jpg - :navbar_brand_hidden: True + :hide_navbar_brand: True :landing: .. container:: m-row diff --git a/pelican-theme/templates/base.html b/pelican-theme/templates/base.html index b90d07b3..f5335ae3 100644 --- a/pelican-theme/templates/base.html +++ b/pelican-theme/templates/base.html @@ -23,7 +23,7 @@