This is an automated email from the ASF dual-hosted git repository.

jin pushed a commit to branch website
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git


The following commit(s) were added to refs/heads/website by this push:
     new abbc8d0  update footer (#105)
abbc8d0 is described below

commit abbc8d040757abc3b73c5bbaf17566d08fe7c31d
Author: yongyu <[email protected]>
AuthorDate: Sun Apr 24 20:50:44 2022 +0800

    update footer (#105)
---
 themes/docsy/assets/scss/main.scss        |  7 +++++++
 themes/docsy/layouts/partials/footer.html | 23 +++--------------------
 2 files changed, 10 insertions(+), 20 deletions(-)

diff --git a/themes/docsy/assets/scss/main.scss 
b/themes/docsy/assets/scss/main.scss
index f1a1aa6..73bfa8b 100644
--- a/themes/docsy/assets/scss/main.scss
+++ b/themes/docsy/assets/scss/main.scss
@@ -39,6 +39,13 @@ footer {
     @include media-breakpoint-down(md) {
         min-height: 200px;
     }
+    a.white {
+        color: #ddd;
+    }
+    a.white:hover {
+        color: #fff;
+        text-decoration: underline;
+    }
 }
 
 // Adjust anchors vs the fixed menu.
diff --git a/themes/docsy/layouts/partials/footer.html 
b/themes/docsy/layouts/partials/footer.html
index 9aa34cb..e05a6f8 100644
--- a/themes/docsy/layouts/partials/footer.html
+++ b/themes/docsy/layouts/partials/footer.html
@@ -2,26 +2,9 @@
 <footer class="bg-dark py-5 row d-print-none">
   <div class="container-fluid mx-sm-5">
     <div class="row">
-      <div class="col-6 col-sm-4 text-xs-center order-sm-2">
-        {{ with $links }}
-        {{ with index . "user"}}
-        {{ template "footer-links-block"  . }}
-        {{ end }}
-        {{ end }}
-      </div>
-      <div class="col-6 col-sm-4 text-right text-xs-center order-sm-3">
-        {{ with $links }}
-        {{ with index . "developer"}}
-        {{ template "footer-links-block"  . }}
-        {{ end }}
-        {{ end }}
-      </div>
-      <div class="col-12 col-sm-4 text-center py-2 order-sm-2">
-        {{ with .Site.Params.copyright }}<small class="text-white">&copy; {{ 
now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }}
-        {{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ 
. }}" target="_blank" rel="noopener">{{ T "footer_privacy_policy" 
}}</a></small>{{ end }}
-       {{ if not .Site.Params.ui.footer_about_disable }}
-               {{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ 
.RelPermalink }}">{{ .Title }}</a></p>{{ end }}
-       {{ end }}
+      <div class="col-12 text-white text-center">
+        <p>Copyright &copy; {{ now.Year}} The Apache Software Foundation, 
Licensed under the <a class="white" 
href="https://www.apache.org/licenses/LICENSE-2.0";>Apache License, Version 
2.0</a>.</p>
+        <p>Apache and the Apache feather logo are trademarks of The Apache 
Software Foundation. </p>
       </div>
     </div>
   </div>

Reply via email to