From ee7c61b3aff87e92d34806a41fe332ed558ccff1 Mon Sep 17 00:00:00 2001 From: Dominik Prodinger Date: Wed, 3 Oct 2018 08:32:27 +0200 Subject: [PATCH 1/6] Break up Navigation and Footer into Separate Files Improve modularity by outsourcing the nav and footer tags into distinct files. Signed-off-by: Dominik Prodinger --- _includes/footer.html | 5 +++++ _includes/navigation.html | 11 +++++++++++ _layouts/default.html | 19 +++---------------- 3 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 _includes/footer.html create mode 100644 _includes/navigation.html diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..729a53d --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,5 @@ +
+ + © {{ site.author.name }}. Made with Jekyll using the Tale theme. + +
diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..d858ec8 --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,11 @@ + diff --git a/_layouts/default.html b/_layouts/default.html index af7fd68..8c8261e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,26 +4,13 @@ {% include head.html %} - + + {% include navigation.html %}
{{ content }}
-
- - © {{ site.author.name }}. Made with Jekyll using the Tale theme. - -
+ {% include footer.html %} From 6444b33b3f5482625d9b96e173e1b510b134b257 Mon Sep 17 00:00:00 2001 From: Dominik Prodinger Date: Wed, 3 Oct 2018 08:44:04 +0200 Subject: [PATCH 2/6] Change Location of Page Files Page files are now located within the _pages folder to clean up the root directory. Signed-off-by: Dominik Prodinger --- _config.yml | 2 ++ about.md => _pages/about.md | 0 2 files changed, 2 insertions(+) rename about.md => _pages/about.md (100%) diff --git a/_config.yml b/_config.yml index 454c970..0c80841 100644 --- a/_config.yml +++ b/_config.yml @@ -12,6 +12,8 @@ author: # Build settings markdown: kramdown +include: + - _pages # Assets sass: diff --git a/about.md b/_pages/about.md similarity index 100% rename from about.md rename to _pages/about.md From 18b32be0b1493f3f861ecc69ea5ee6090918ebdd Mon Sep 17 00:00:00 2001 From: Dominik Prodinger Date: Wed, 3 Oct 2018 08:47:30 +0200 Subject: [PATCH 3/6] Remove Unnecessary Icon File Signed-off-by: Dominik Prodinger --- favicon.ico | Bin 15086 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 favicon.ico diff --git a/favicon.ico b/favicon.ico deleted file mode 100644 index d7b0ba4419beaf2c0417075db49417ca6aa21b60..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15086 zcmeI3YiJx*6vyu-HNi)lphob48@1IM6=Eequ{MoTpG2e*{8X$WRkWH`sSgT`6>LEi zRPd7@1cg$e*e_N=k>U$Q`=LTxANZ(`YHe#xRW#K!>+c`uhLhRZ-I;x5LucWab6@A4 zGk4CtGjnI+T*fuK?rw+dberZlce!(}vopxIJNFG`?MT(%J;S;6G?+^pRNOL9`S@@4 z|HA(5>FGJzfQ;hPVb}rB!j;fs{q||fbJKtW`1k@`=>7I`8u)I<_cQ#x(fckL;lIw^ zzf+8SuzuV0Ug{=}A=FNKPe4E1JcTU5_C2r>6g$>`rFTPD#Q6V1dA~hBQ<=t>8E^$` zgYYqEKD30&8_It_cKDcu@GiS^wvHV9T3(vtGI0Cj0pMIC}6D#%G>eJu7AzQk}d3%y2 z{ijU_ybe|`D*Zlfs_p+R^l8^tn~v-Ma{ACcN0iUDtQP)jP1m)_+X?$obo|lFz{^J8 z_haQ)P~V9DYrTD=fdBg_-vCSDHW+}&doCN(Nz(LJ>G-$O$D3fs+ozvQ;!8PgYwZ6W z<@l6Dr-uG3=9eb%rJS~@|2>7`KOO%V0hPv28b2|@q+pXYe$x0U7#uMw%84IzPKAr0 z3oeBZz~A$DsrCO6xB%2voC8fU+=|_V{u1B6p)&}-f}TAOK%wWY--9-4cL-jC6Jk3T zqapp319(D>#Oq;0O2-{)VXYpcwle)K2ZUKqJIYJAP=NMDuYj zya!?bHGj2#ayF=)+MfZL7-1c|3H>FGf7?0w>HVi2kc8=U{L}bJ7&4QZS0R3mqmMPP z8D24LBE4{uu^MEsQPKJ%m*}IZ099QpqYl3s{zvs&ud>wtdX03nonv79^*-QnxB>JI zwULlddbexeS%mlhbzi1>y$5JStnczQ%Kz}aWh3WP|MQ;(>UqA7j;~Zh!FrVqWLqFx zoomhIa$~&3ZA0eP1@fIh?lE#Slgka09|_6fAU{kGsvph@IHM+dS)m* zs+y($(?CARrq0DvL0b8O_NmkRW$i&O27N2A1g?RIh%W9jI#+=|7oU?Zdi>OP!1JKJ zAH}h*l|tWGEGlj-zZRVi*a@<0_nab+pEhfQw%$)KrF(V0h2kaXD7F;i>PP3m_m^j% zy5r$((?)Iogk7MyGQYUB{91I9*wkTG%cb@!I{)eT*CGChQO*1FVIJ%NKmRrVZin+=4kX@(N2lccr_D{U7k&XfuX+1g zFAu@bpl|#ZB%6KX*ZVm3Z>4X4o%XiFvS#Z)w&%k}*bKT?@wVmDHc;J5aB+=}KSST5 z4ea`_`FE{sBFlOQiC)R^_s2xr@b%|doBt;<25*7xmwtnN(C5de9EpCC@o%QR?)xqS ztp$2dJ*ynMUPt;6>;A{x7AY3jWtD{NsF;GgjZCw;Wo6^R0LH_ruBnrSF45Q|9YdQ??cKZHfBOm<@WrNUP7; zpmpg?Uv4Gk?XVTTh6#PrTGzCny&rT-Qh5r;J$u From 628e6dce5d329f43d1ba1986359496c2b6cb3ce0 Mon Sep 17 00:00:00 2001 From: Dominik Prodinger Date: Wed, 3 Oct 2018 09:07:19 +0200 Subject: [PATCH 4/6] Add Google Analytics Support and Improve SEO Signed-off-by: Dominik Prodinger --- _config.yml | 3 +++ _includes/analytics.html | 6 ++++++ _includes/head.html | 16 ++++++---------- 3 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 _includes/analytics.html diff --git a/_config.yml b/_config.yml index 0c80841..f42db81 100644 --- a/_config.yml +++ b/_config.yml @@ -4,6 +4,9 @@ description: "Minimal Jekyll theme for storytellers" baseurl: "/tale" url: "https://chesterhow.github.io" +# Google Analytics +google_analytics: UA—XXXXXXXX-X + # Author author: name: Chester How diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..e909005 --- /dev/null +++ b/_includes/analytics.html @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index 41789c6..6e7d61d 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,17 +1,8 @@ - {% if page.title == "Home" %} - - {% endif %} - - {% if page.title == "Home" %} - {{ site.title }} - {% else %} - {{ page.title }} · {{ site.title }} - {% endif %} - + {% seo %} @@ -24,4 +15,9 @@ {% feed_meta %} + + + {% if site.google_analytics and jekyll.environment == 'production' %} + {% include analytics.html %} + {% endif %} From 9bd38e53405526dd4ab590c12f078fa3bb308614 Mon Sep 17 00:00:00 2001 From: Dominik Prodinger Date: Wed, 3 Oct 2018 09:10:55 +0200 Subject: [PATCH 5/6] Revert "Add Google Analytics Support and Improve SEO" This reverts commit 628e6dce5d329f43d1ba1986359496c2b6cb3ce0. --- _config.yml | 3 --- _includes/analytics.html | 6 ------ _includes/head.html | 16 ++++++++++------ 3 files changed, 10 insertions(+), 15 deletions(-) delete mode 100644 _includes/analytics.html diff --git a/_config.yml b/_config.yml index f42db81..0c80841 100644 --- a/_config.yml +++ b/_config.yml @@ -4,9 +4,6 @@ description: "Minimal Jekyll theme for storytellers" baseurl: "/tale" url: "https://chesterhow.github.io" -# Google Analytics -google_analytics: UA—XXXXXXXX-X - # Author author: name: Chester How diff --git a/_includes/analytics.html b/_includes/analytics.html deleted file mode 100644 index e909005..0000000 --- a/_includes/analytics.html +++ /dev/null @@ -1,6 +0,0 @@ - - \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index 6e7d61d..41789c6 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,8 +1,17 @@ + {% if page.title == "Home" %} + + {% endif %} - {% seo %} + + {% if page.title == "Home" %} + {{ site.title }} + {% else %} + {{ page.title }} · {{ site.title }} + {% endif %} + @@ -15,9 +24,4 @@ {% feed_meta %} - - - {% if site.google_analytics and jekyll.environment == 'production' %} - {% include analytics.html %} - {% endif %} From 8ab3345ff8333690510842fe8deab51c363f5533 Mon Sep 17 00:00:00 2001 From: Dominik Prodinger Date: Wed, 3 Oct 2018 12:46:41 +0200 Subject: [PATCH 6/6] Revert "Remove Unnecessary Icon File" This reverts commit 18b32be0b1493f3f861ecc69ea5ee6090918ebdd. --- favicon.ico | Bin 0 -> 15086 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 favicon.ico diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d7b0ba4419beaf2c0417075db49417ca6aa21b60 GIT binary patch literal 15086 zcmeI3YiJx*6vyu-HNi)lphob48@1IM6=Eequ{MoTpG2e*{8X$WRkWH`sSgT`6>LEi zRPd7@1cg$e*e_N=k>U$Q`=LTxANZ(`YHe#xRW#K!>+c`uhLhRZ-I;x5LucWab6@A4 zGk4CtGjnI+T*fuK?rw+dberZlce!(}vopxIJNFG`?MT(%J;S;6G?+^pRNOL9`S@@4 z|HA(5>FGJzfQ;hPVb}rB!j;fs{q||fbJKtW`1k@`=>7I`8u)I<_cQ#x(fckL;lIw^ zzf+8SuzuV0Ug{=}A=FNKPe4E1JcTU5_C2r>6g$>`rFTPD#Q6V1dA~hBQ<=t>8E^$` zgYYqEKD30&8_It_cKDcu@GiS^wvHV9T3(vtGI0Cj0pMIC}6D#%G>eJu7AzQk}d3%y2 z{ijU_ybe|`D*Zlfs_p+R^l8^tn~v-Ma{ACcN0iUDtQP)jP1m)_+X?$obo|lFz{^J8 z_haQ)P~V9DYrTD=fdBg_-vCSDHW+}&doCN(Nz(LJ>G-$O$D3fs+ozvQ;!8PgYwZ6W z<@l6Dr-uG3=9eb%rJS~@|2>7`KOO%V0hPv28b2|@q+pXYe$x0U7#uMw%84IzPKAr0 z3oeBZz~A$DsrCO6xB%2voC8fU+=|_V{u1B6p)&}-f}TAOK%wWY--9-4cL-jC6Jk3T zqapp319(D>#Oq;0O2-{)VXYpcwle)K2ZU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