]> xenbits.xensource.com Git - www-xenproject-org.git/commitdiff
generate footer for blog
authorArnaud Guéras <arnaudgs@gmail.com>
Wed, 30 Oct 2024 03:06:06 +0000 (04:06 +0100)
committerArnaud Guéras <arnaudgs@gmail.com>
Wed, 30 Oct 2024 03:06:06 +0000 (04:06 +0100)
hugo.yaml
hugo_stats.json
themes/xen-project/layouts/partials/footer.html

index 1754df1775be2ba489f1aa90a04936410f045eb1..0a6d48524618a7a29c1cf91de15740ce534703ac 100644 (file)
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -17,6 +17,7 @@ outputs:
     - HTML
     - RSSoui appelle
     - HEADER
+    - FOOTER
 
 outputFormats:
   HEADER:
@@ -25,6 +26,12 @@ outputFormats:
     isPlainText: true
     rel: "header"
     notAlternative: true
+  FOOTER:
+    mediaType: "text/html"
+    baseName: "footer"
+    isPlainText: true
+    rel: "footer"
+    notAlternative: true
 
 menus:
   main:
index 3c41ba81bfab8def02710221bd4cd3a076f4d7c7..27b554d112bc02f836a2939afbe9eb652c4382a7 100644 (file)
@@ -9,6 +9,7 @@
       "code",
       "div",
       "em",
+      "footer",
       "form",
       "h1",
       "h2",
       "escalation",
       "exceptional-circumstances",
       "expressing-agreement-and-disagreement",
+      "footer",
       "forming-a-project",
       "general",
       "goals",
index b7d9d14713c2b58ad126c113cd38b0787775836f..49033f092175049eaa502cfc1abe7c8aee7947b7 100644 (file)
@@ -1,8 +1,7 @@
-<div class="footer">
+<footer class="footer" id="footer">
   <div class="footer-content">
     <div class="footer__col footer__text">
       <div>
-
         <h3>About Xen Project</h3>
         <p class="p1-book">
           The mission of the Xen Project is to advance virtualization technology
@@ -11,7 +10,6 @@
         {{ partial "socials.html"  (dict "class" "socials-footer") }}
       </div>
 
-
       <div>
         <h3>A Linux Foundation Project</h3>
         <p class="p1-book">