Rename paige.link.hide_page to disable
This commit is contained in:
@@ -293,7 +293,7 @@ commit_url = "" # Example is "https://github.com/willfaught/paige/commit/%s"
|
|||||||
|
|
||||||
[paige.link] # A link placed at the top of the footer for pages with files
|
[paige.link] # A link placed at the top of the footer for pages with files
|
||||||
content = "" # Example is "Edit this page"
|
content = "" # Example is "Edit this page"
|
||||||
hide_page = false
|
disable = false
|
||||||
url = "" # Example is "https://github.com/willfaught/paige/edit/master/content/%s"
|
url = "" # Example is "https://github.com/willfaught/paige/edit/master/content/%s"
|
||||||
|
|
||||||
[paige.menu]
|
[paige.menu]
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
{{ partial "paige/footer-first.html" . }}
|
{{ partial "paige/footer-first.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if and $linkcontent $linkurl (not ($page.Param "paige.link.hide_page")) }}
|
{{ if and $linkcontent $linkurl (not ($page.Param "paige.link.disable")) }}
|
||||||
<p class="text-center" id="paige-link">
|
<p class="text-center" id="paige-link">
|
||||||
<a class="link-secondary" href="{{ $linkurl }}">{{ $linkcontent }}</a>
|
<a class="link-secondary" href="{{ $linkurl }}">{{ $linkcontent }}</a>
|
||||||
</p>
|
</p>
|
||||||
|
Reference in New Issue
Block a user