diff --git a/_layouts/default-home.html b/_layouts/default-home.html deleted file mode 100644 index 8ab1769..0000000 --- a/_layouts/default-home.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - {% include head.html %} - - -
- - -
- - {% include header.html %} - -
-
- -
-
-
- - - -
-
-
- Free exclusive web development tips! -
-
-

Learn practical methods to improve your web dev skills!

-
-
-
-
-
-
- -
- -
-
- {{ content }} - -
-
-
- - {% include footer.html %} - -
- - - - diff --git a/_layouts/default.html b/_layouts/default.html index 74b8840..6a2633f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -19,6 +19,32 @@ {% include header.html %}
+ {% if page.type == "home" %} +
+ +
+
+
+ + + +
+
+
+ Free exclusive web development tips! +
+
+

Learn practical methods to improve your web dev skills!

+
+
+
+
+
+
+ +
+ + {% endif %}
{{ content }} diff --git a/_layouts/home.html b/_layouts/home.html index 969f8f6..969c5f6 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,5 +1,5 @@ --- -layout: default-home +layout: default ---
diff --git a/index.md b/index.md index d68e5ca..edbe2ad 100644 --- a/index.md +++ b/index.md @@ -2,5 +2,7 @@ # You don't need to edit this file, it's empty on purpose. # Edit theme's home layout instead if you wanna make some changes # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults -layout: "home" + +layout: home +type: home ---