This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-pekko-sbt-paradox.git
The following commit(s) were added to refs/heads/main by this push:
new 5d51467 remove powered-by by overriding footer.st (#51)
5d51467 is described below
commit 5d514672050631007f3c3b3cc7b4f191196d7db3
Author: PJ Fanning <[email protected]>
AuthorDate: Tue Apr 18 01:32:32 2023 +0200
remove powered-by by overriding footer.st (#51)
---
theme/src/main/assets/partials/footer.st | 74 ++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
diff --git a/theme/src/main/assets/partials/footer.st
b/theme/src/main/assets/partials/footer.st
new file mode 100644
index 0000000..70f80a7
--- /dev/null
+++ b/theme/src/main/assets/partials/footer.st
@@ -0,0 +1,74 @@
+$!
+ Adapted from paradox-material-theme version 0.6.0
+
+ Copyright (c) 2016-2018 Martin Donath <[email protected]>
+ Copyright (c) 2017-2018 Jonas Fonseca <[email protected]>
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to
+ deal in the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ IN THE SOFTWARE.
+!$
+<footer class="md-footer">
+ $ if (page.next.html || page.prev.html) $
+ <div class="md-footer-nav">
+ <nav class="md-footer-nav__inner md-grid">
+ $ if (page.prev.html) $
+ <a href="$page.prev.href$" title="$page.prev.title$" class="md-flex
md-footer-nav__link md-footer-nav__link--prev" rel="prev">
+ <div class="md-flex__cell md-flex__cell--shrink">
+ <i class="md-icon md-icon--arrow-back md-footer-nav__button"></i>
+ </div>
+ <div class="md-flex__cell md-flex__cell--stretch
md-footer-nav__title">
+ <span class="md-flex__ellipsis">
+ <span class="md-footer-nav__direction">
+ Previous
+ </span>
+ $page.prev.title$
+ </span>
+ </div>
+ </a>
+ $ endif $
+ $ if (page.next.html) $
+ <a href="$page.next.href$" title="$page.next.title$" class="md-flex
md-footer-nav__link md-footer-nav__link--next" rel="next">
+ <div class="md-flex__cell md-flex__cell--stretch
md-footer-nav__title">
+ <span class="md-flex__ellipsis">
+ <span class="md-footer-nav__direction">
+ Next
+ </span>
+ $page.next.title$
+ </span>
+ </div>
+ <div class="md-flex__cell md-flex__cell--shrink">
+ <i class="md-icon md-icon--arrow-forward
md-footer-nav__button"></i>
+ </div>
+ </a>
+ $ endif $
+ </nav>
+ </div>
+ $endif$
+ <div class="md-footer-meta md-typeset">
+ <div class="md-footer-meta__inner md-grid">
+ <div class="md-footer-copyright">
+ $ if (page.properties.("material.copyright")) $
+ <div class="md-footer-copyright__highlight">
+ $page.properties.("material.copyright")$
+ </div>
+ $ endif $
+ </div>
+ $social()$
+ </div>
+ </div>
+</footer>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]