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

dingtao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ozhera-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 19cc5be  修改配置和修复VPFooter展示 (#24)
19cc5be is described below

commit 19cc5befda918098e6ce91df0cd8e7a6bafa41f6
Author: renqingfu1 <[email protected]>
AuthorDate: Mon Feb 24 15:24:05 2025 +0800

    修改配置和修复VPFooter展示 (#24)
    
    * feat: 配置asf
    
    * fix: 修复VPFooter展示报错和copyright日前
---
 .asf.yaml                                | 4 ++++
 .vitepress/config.mts                    | 4 ++--
 .vitepress/theme/components/VPFooter.vue | 8 ++++----
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 50a9fb7..055607b 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -6,5 +6,9 @@ github:
     - Apache OzHera(Incubating)
     - website
 
+staging:
+  profile: ~
+  whoami: preview
+
 publish:
   whoami: asf-site
diff --git a/.vitepress/config.mts b/.vitepress/config.mts
index 4d02748..4427487 100644
--- a/.vitepress/config.mts
+++ b/.vitepress/config.mts
@@ -23,7 +23,7 @@ export default defineConfig({
           message:
             '<div class="footer-incubator"><div><a 
href="https://incubator.apache.org/"; target="_blank"><img 
src="/images/apache/incubator.svg" alt="Apache Incubator 
Logo"></a></div></div><div class="footer-message">Apache OzHera (Incubating) is 
an effort undergoing incubation at The Apache Software Foundation (ASF), 
sponsored by the Apache Incubator. Incubation is required of all newly accepted 
projects until a further review indicates that the infrastructure, 
communications, and decisi [...]
           copyright:
-            '<div class="footer-copyright">Copyright © 2023-2024, The Apache 
Software Foundation Apache OzHera, OzHera, Apache, Apache Incubator, the Apache 
feather, the Apache Incubator logo and the Apache OzHera project logo are 
either registered trademarks or trademarks of the Apache Software 
Foundation.</div>',
+            '<div class="footer-copyright">Copyright © 2023-2025, The Apache 
Software Foundation Apache OzHera, OzHera, Apache, Apache Incubator, the Apache 
feather, the Apache Incubator logo and the Apache OzHera project logo are 
either registered trademarks or trademarks of the Apache Software 
Foundation.</div>',
         },
       },
     },
@@ -38,7 +38,7 @@ export default defineConfig({
           message:
             '<div class="footer-incubator"><div><a 
href="https://incubator.apache.org/"; target="_blank"><img 
src="/images/apache/incubator.svg" alt="Apache Incubator 
Logo"></a></div></div><div class="footer-message">Apache OzHera (Incubating) is 
an effort undergoing incubation at The Apache Software Foundation (ASF), 
sponsored by the Apache Incubator. Incubation is required of all newly accepted 
projects until a further review indicates that the infrastructure, 
communications, and decisi [...]
           copyright:
-            '<div class="footer-copyright">Copyright © 2023-2024, The Apache 
Software Foundation Apache OzHera, OzHera, Apache, Apache Incubator, the Apache 
feather, the Apache Incubator logo and the Apache OzHera project logo are 
either registered trademarks or trademarks of the Apache Software 
Foundation.</div>',
+            '<div class="footer-copyright">Copyright © 2023-2025, The Apache 
Software Foundation Apache OzHera, OzHera, Apache, Apache Incubator, the Apache 
feather, the Apache Incubator logo and the Apache OzHera project logo are 
either registered trademarks or trademarks of the Apache Software 
Foundation.</div>',
         },
       },
     },
diff --git a/.vitepress/theme/components/VPFooter.vue 
b/.vitepress/theme/components/VPFooter.vue
index 788544a..80925b2 100644
--- a/.vitepress/theme/components/VPFooter.vue
+++ b/.vitepress/theme/components/VPFooter.vue
@@ -7,16 +7,16 @@ const { theme, frontmatter } = useData();
 <template>
   <footer v-if="theme.footer && frontmatter.footer !== false" class="VPFooter">
     <div class="container">
-      <p
+      <div
         v-if="theme.footer.message"
         class="message"
         v-html="theme.footer.message"
-      ></p>
-      <p
+      ></div>
+      <div
         v-if="theme.footer.copyright"
         class="copyright"
         v-html="theme.footer.copyright"
-      ></p>
+      ></div>
     </div>
   </footer>
 </template>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to