diff _layouts/default.html @ 288:2e13395adcc0

Major design change, footer, texts.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Sun, 29 May 2022 01:25:16 +0900
parents 5e56e2942f22
children 8da97b471f16
line wrap: on
line diff
--- a/_layouts/default.html	Sat May 28 17:48:14 2022 +0900
+++ b/_layouts/default.html	Sun May 29 01:25:16 2022 +0900
@@ -70,29 +70,40 @@
       </div>
     </div>
 
-    <div class="grid-container grid-container-mod">
+    <div class="white">
+      <div class="grid-container grid-container-mod">
+
+        {{ content }}
 
-      {{ content }}
+        <script>
+          $(document).foundation();
+        </script>
+      </div>
+    </div>
 
-      <footer class="text-center">
+    <footer>
+      <div class="grid-container grid-container-mod">
+        <ul class="dropdown menu" data-dropdown-menu>
+          {%- for page in site.pages -%}
+          {%- if page.footer -%}
+          <li>
+            <a href="{{ page.url | relative_url }}">{{ page.icon }}
+              {{ page.title }}
+            </a>
+          </li>
+          {%- endif -%}
+          {%- endfor -%}
+        </ul>
+        &nbsp;
         <p>
-          Octave is free software under the
-          <a href="{{ "license.html" | relative_url }}">GNU General Public License.</a>
-        </p>
-        <small>
           Copyright © 1998-{{ site.time | date: "%Y" }} John W. Eaton.
           This work is licensed under a
           <a rel="license" href="https://creativecommons.org/licenses/by-nd/4.0/">
           Creative Commons Attribution-NoDerivatives 4.0 International License</a>.
           Get the <a href="http://hg.octave.org/web-octave/file/tip">page sources</a>.
-        </small>
-        <p></p>
-      </footer>
-
-      <script>
-        $(document).foundation();
-      </script>
-    </div>
+        </p>
+      </div>
+    </footer>
 
   </body>