From 92dbc393e7704e104814f22ce8d9abf95d2dd790 Mon Sep 17 00:00:00 2001 From: Yao Xiao <108576690+Charlie-XIAO@users.noreply.github.com> Date: Fri, 13 Sep 2024 10:59:19 -0400 Subject: [PATCH 1/3] Added my portfolio website to README (#2695) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks for the amazing theme! ❤️ I've been using al-folio for several years, during which I have considered migrating to more modern technologies like MDX or similar but really found no theme that look better than this. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3b9c51903c7b..b5eb38493463 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,7 @@ Feel free to add your own page(s) by sending a PR. + From 8e9cf03ee980645c879d759528d17e8d570983fb Mon Sep 17 00:00:00 2001 From: Yao Xiao <108576690+Charlie-XIAO@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:12:54 -0400 Subject: [PATCH 2/3] Support `_styles` in page layout as in post and distill (#2694) As desribed in the title. --- _layouts/page.liquid | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_layouts/page.liquid b/_layouts/page.liquid index d3c7aa24c7ce..693089174122 100644 --- a/_layouts/page.liquid +++ b/_layouts/page.liquid @@ -1,6 +1,13 @@ --- layout: default --- +{% if page._styles %} + + +{% endif %} +

{{ page.title }}

From 046545983f0864b62e883105955717cbf298561c Mon Sep 17 00:00:00 2001 From: "M. Umar Shahbaz" <68814294+KingHowler@users.noreply.github.com> Date: Sat, 14 Sep 2024 02:44:42 +0500 Subject: [PATCH 3/3] Fixed .webp src creation for svg and other files (#2698) Added a default srcset in case extension is other than the following: - .jpg - .jpeg - .png - .tiff - .gif fixed #2660 --- _includes/figure.liquid | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/_includes/figure.liquid b/_includes/figure.liquid index 7c108541225d..461e27a416a6 100644 --- a/_includes/figure.liquid +++ b/_includes/figure.liquid @@ -1,4 +1,6 @@ {% assign img_path = include.path | remove: '.jpg' | remove: '.jpeg' | remove: '.png' | remove: '.tiff' | remove: '.gif' %} +{% assign parts = include.path | split: '.' %} +{% assign ext = parts.last %}
{% endif %}