From daa198576c7cd725d17d85b7551a1ae92ddf9fbe Mon Sep 17 00:00:00 2001 From: Rohan Deb Sarkar Date: Sun, 26 Jun 2022 05:17:01 +0530 Subject: [PATCH] Minor changes and fixes (#726) --- README.md | 18 +++++++++--------- _includes/figure.html | 15 ++++++++++++++- _includes/header.html | 8 ++++---- _includes/scripts/bootstrap.html | 6 +++--- _includes/scripts/misc.html | 6 +++--- _layouts/distill.html | 14 ++++++-------- _sass/_base.scss | 10 ++++++++++ 7 files changed, 49 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index c2c3a9f42061..d2fe87cb9aeb 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ [![deploy](https://github.com/alshedivat/al-folio/actions/workflows/deploy.yml/badge.svg)](https://github.com/alshedivat/al-folio/actions/workflows/deploy.yml) [![demo](https://img.shields.io/badge/theme-demo-brightgreen.svg)](https://alshedivat.github.io/al-folio/) [![GitHub contributors](https://img.shields.io/github/contributors/alshedivat/al-folio.svg)](https://github.com/alshedivat/al-folio/graphs/contributors/) -![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/alshedivat/al-folio) -![GitHub](https://img.shields.io/github/license/alshedivat/al-folio?color=blue) +[![GitHub release](https://img.shields.io/github/v/release/alshedivat/al-folio)](https://github.com/alshedivat/al-folio/releases/latest) +[![GitHub license](https://img.shields.io/github/license/alshedivat/al-folio?color=blue)](https://github.com/alshedivat/al-folio/blob/master/LICENSE) [![GitHub stars](https://img.shields.io/github/stars/alshedivat/al-folio)](https://github.com/alshedivat/al-folio) [![GitHub forks](https://img.shields.io/github/forks/alshedivat/al-folio)](https://github.com/alshedivat/al-folio/fork) [![support](https://img.shields.io/badge/support-Ko--fi-yellow.svg)](https://ko-fi.com/alshedivat) @@ -26,13 +26,13 @@ Feel free to add your own page(s) by sending a PR. Academics - + - + - + @@ -218,7 +218,7 @@ If you installed **al-folio** as described above, you can upgrade to the latest # Assuming the current directory is $ git remote add upstream https://github.com/alshedivat/al-folio.git $ git fetch upstream -$ git rebase upstream/v0.3.5 +$ git rebase v0.3.5 ``` If you have extensively customized a previous version, it might be trickier to upgrade. @@ -351,7 +351,7 @@ For more details on how to create distill-styled posts using `` tags, pleas #### Full support for math & code -**al-folio** supports fast math typesetting through [KaTeX](https://katex.org/) and code syntax highlighting using [GitHub style](https://github.com/jwarby/jekyll-pygments-themes): +**al-folio** supports fast math typesetting through [MathJax](https://www.mathjax.org/) and code syntax highlighting using [GitHub style](https://github.com/jwarby/jekyll-pygments-themes):

@@ -403,7 +403,7 @@ For more complex issues/bugs or feature requests, please open an issue using the ## License -The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). +The theme is available as open source under the terms of the [MIT License](https://github.com/alshedivat/al-folio/blob/master/LICENSE). -Originally, **al-folio** was based on the [\*folio theme](https://github.com/bogoli/-folio) (published by [Lia Bogoev](http://liabogoev.com) and under the MIT license). +Originally, **al-folio** was based on the [\*folio theme](https://github.com/bogoli/-folio) (published by [Lia Bogoev](https://liabogoev.com) and under the MIT license). Since then, it got a full re-write of the styles and many additional cool features. diff --git a/_includes/figure.html b/_includes/figure.html index c3d931a98bd4..62179e685a8e 100644 --- a/_includes/figure.html +++ b/_includes/figure.html @@ -3,12 +3,25 @@

+ {% if site.enable_responsive_images %} {% for i in site.imagemagick.widths -%} {% endfor -%} + {% endif %} - + diff --git a/_includes/header.html b/_includes/header.html index afe669846d30..a484f783c367 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -79,12 +79,12 @@ {%- if site.enable_darkmode %} - + + {%- endif %} diff --git a/_includes/scripts/bootstrap.html b/_includes/scripts/bootstrap.html index 727b3540f443..d026d6b26920 100644 --- a/_includes/scripts/bootstrap.html +++ b/_includes/scripts/bootstrap.html @@ -1,4 +1,4 @@ - - - + + + diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html index 8d711d48b638..08ba49f03517 100644 --- a/_includes/scripts/misc.html +++ b/_includes/scripts/misc.html @@ -6,9 +6,9 @@ {%- endif %} {%- if site.enable_medium_zoom %} - - + + {%- endif -%} - + diff --git a/_layouts/distill.html b/_layouts/distill.html index 6e617b302431..018b2897dd44 100644 --- a/_layouts/distill.html +++ b/_layouts/distill.html @@ -4,10 +4,12 @@ {%- include head.html %} + {% include scripts/jquery.html %} {% include scripts/mathjax.html %} + {% if page._styles %}