From 5d5cf0beb18a49e6a0379a018ec04259b1ec059a Mon Sep 17 00:00:00 2001 From: Saksham Goyal Date: Sat, 6 Aug 2022 18:00:28 -0400 Subject: [PATCH 1/2] layout to switch orientation --- _includes/landing.html | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/_includes/landing.html b/_includes/landing.html index 7c559c6e7..114989304 100644 --- a/_includes/landing.html +++ b/_includes/landing.html @@ -1,3 +1,5 @@ +{% if site.landing_vertical == false %} +
@@ -8,8 +10,29 @@ {{ site.title }}
+ +
+ {% for desc in site.description %} +

{{ desc }}

+ {% endfor %} +
+ -

{{ site.description }}

+{% else %} +
+
+ +
+
+
+ {{ site.title }} +
+
+ {% for desc in site.description %} +

{{ desc }}

+ {% endfor %} +
- \ No newline at end of file + +{% endif %} From 5115cbe82093dd192214e30df062e82ce37abe06 Mon Sep 17 00:00:00 2001 From: Saksham Goyal Date: Sat, 6 Aug 2022 18:03:00 -0400 Subject: [PATCH 2/2] added config option to change orientation --- docs/_config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index 60068e9ae..b64e0a7de 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,13 +1,11 @@ ### Site Settings ### title : portfolYOU -description : >- - I turn coffee :coffee: into code, - use tabs over spaces - and never broke production. +description : ["I turn coffee :coffee: into code, use tabs over spaces and never broke production."] baseurl : "/portfolYOU" # Change to empty quotes if you are hosting your site at .github.io directly repository : YoussefRaafatNasry/portfolYOU # Change to /.github.io (or remove it if you don't need remote projects) remote_theme : YoussefRaafatNasry/portfolYOU open_new_tab : false # Opens external URLs in new tab (works for posts, projects and navbar only) +landing_vertical : false # Set the front page to be vertical (true) or horizontal (false) ### Plugins ###