]> git.dabkitsch.com - jekyll-site.git/commitdiff
cleaned up layouts so that children are identical, simplified default with flex container
authorequilet <2237372+equilet@users.noreply.github.com>
Fri, 9 Dec 2022 22:46:24 +0000 (14:46 -0800)
committerequilet <2237372+equilet@users.noreply.github.com>
Fri, 9 Dec 2022 22:46:24 +0000 (14:46 -0800)
_layouts/default.html
_layouts/home.html
_layouts/job.html
_layouts/page.html
_layouts/project.html

index 111912087b74529a72bfb1d794ab765e4e099f56..97f54de32b4f70fbec9fd61e9dfecbb681615eb7 100644 (file)
@@ -1,20 +1,31 @@
 <!DOCTYPE html>
-<html lang="{{ page.lang | default: site.lang | default: "en" }}">
 
-  {%- include head.html -%}
+<html lang="en">
+       <head>
 
-  <body>
-    
-    {%- include nav.html -%}
-    
-    <main class="content">
-      <div class="wrapper">
-        {{ content }}
-      </div>
-    </main>
+           <meta charset="utf-8">
+           <title>{{ page.title }}</title>     <!-- title of the tab or window in browser -->
 
-    {%- include footer.html -%}
+       </head>
 
-  </body>
+       <body>
+
+               {%- include head.html -%}                       <!-- styling and includes; init -->
+
+               <div class="flex-container">
+
+                       <div class="nav">
+                               {%- include nav.html -%}                        <!-- navigation -->
+                       </div>
+
+                       <div class="content">
+                               {{ content }}
+                       </div>
+
+               </div>
+
+               {%- include footer.html -%}
+
+       </body>
 
 </html>
index 5b994242abec4316155f5a36fad7d55a9a807268..936120d115180263eedd22a0b3df6233e12d2493 100644 (file)
@@ -3,9 +3,5 @@ layout: default
 ---
 
 <div class="home">
-
   {{ content }}
-
-  {%- include project-list.html -%}
-
 </div>
index d0773f41cc7ddd449d97d29a5204a0efb1ce2d47..68a2edd7e52fbe3bbf8c44f931d0cb47d0073189 100644 (file)
@@ -3,11 +3,5 @@ layout: default
 ---
 
 <div class="job">
-
   {{ content }}
-
-</div>
-
-<footer class="post-footer">
-       <a href="/" >&larr; home</a>
-</footer>
\ No newline at end of file
+</div>
\ No newline at end of file
index ccace13161c0d38529fd33b58f80c1e8e2d22087..cde6f7e4de1a873d712493b9bc120631e2d60e34 100644 (file)
@@ -3,11 +3,5 @@ layout: default
 ---
 
 <div class="page">
-
   {{ content }}
-
-</div>
-
-<footer class="post-footer">
-       <a href="/" >&larr; home</a>
-</footer>
\ No newline at end of file
+</div>
\ No newline at end of file
index 79f351e9ecfe950f9448e906bb263f6008ba31f2..7feb8243dabc0e9b8fd98f420568d22ecc35e5bd 100644 (file)
@@ -3,11 +3,5 @@ layout: default
 ---
 
 <div class="project">
-
   {{ content }}
-
-</div>
-
-<footer class="post-footer">
-       <a href="/" >&larr; home</a>
-</footer>
\ No newline at end of file
+</div>
\ No newline at end of file