Rename paige.history to paige.page.history_url
This commit is contained in:
@@ -180,7 +180,6 @@ description = "" # Site description. Appears above the menu and below the site t
|
|||||||
exclude_feeds = false # Exclude this page from feeds
|
exclude_feeds = false # Exclude this page from feeds
|
||||||
exclude_search = false # Exclude the page from search
|
exclude_search = false # Exclude the page from search
|
||||||
external_link_new_tab = false # Open external links in new tabs
|
external_link_new_tab = false # Open external links in new tabs
|
||||||
history = "" # File history URL. Example: "https://github.com/account/project/commits/master/content/%s".
|
|
||||||
keyword_style = "text" # Must be "text" or "pills"
|
keyword_style = "text" # Must be "text" or "pills"
|
||||||
license = "" # Example: "CC BY 4.0 License"
|
license = "" # Example: "CC BY 4.0 License"
|
||||||
math = false # Enables math typesetting
|
math = false # Enables math typesetting
|
||||||
@@ -228,6 +227,7 @@ disable_prev = false
|
|||||||
disable_toc = false
|
disable_toc = false
|
||||||
|
|
||||||
edit_url = "" # File edit URL. Example: "https://github.com/account/project/edit/master/content/%s".
|
edit_url = "" # File edit URL. Example: "https://github.com/account/project/edit/master/content/%s".
|
||||||
|
history_url = "" # File history URL. Example: "https://github.com/account/project/commits/master/content/%s".
|
||||||
|
|
||||||
# Schema
|
# Schema
|
||||||
base_schema = {} # JSON-LD schema that all page schemas override
|
base_schema = {} # JSON-LD schema that all page schemas override
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{{ $edit := $page.Param "paige.page.edit_url" | and ($page.Param "paige.page.disable_edit" | not) }}
|
{{ $edit := $page.Param "paige.page.edit_url" | and ($page.Param "paige.page.disable_edit" | not) }}
|
||||||
{{ $first := templates.Exists "partials/paige/page-footer-first.html" }}
|
{{ $first := templates.Exists "partials/paige/page-footer-first.html" }}
|
||||||
{{ $history := $page.Param "paige.history" | and ($page.Param "paige.page.disable_history" | not) }}
|
{{ $history := $page.Param "paige.page.history_url" | and ($page.Param "paige.page.disable_history" | not) }}
|
||||||
{{ $last := templates.Exists "partials/paige/page-footer-last.html" }}
|
{{ $last := templates.Exists "partials/paige/page-footer-last.html" }}
|
||||||
{{ $next := $page.NextInSection | and ($page.Param "paige.page.disable_next" | not) }}
|
{{ $next := $page.NextInSection | and ($page.Param "paige.page.disable_next" | not) }}
|
||||||
{{ $prev := $page.PrevInSection | and ($page.Param "paige.page.disable_prev" | not) }}
|
{{ $prev := $page.PrevInSection | and ($page.Param "paige.page.disable_prev" | not) }}
|
||||||
|
Reference in New Issue
Block a user