Commit Graph

624 Commits

Author SHA1 Message Date
George 6e1bc787ec
Exclude more files from site (#2257)
Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-03-07 12:06:44 -03:00
George ed2ac96558
Delete reports directory 2024-03-06 15:20:17 -03:00
Jake Nabasny, PhD a3a02d92b8
Add option for local HTML files (#2245)
Add option to link HTML local files from publications page.

---------

Co-authored-by: Jake Nabasny <jake@nabasny.com>
2024-03-04 14:04:52 -03:00
Sukka 21bc463b77
Replace `polyfill.io` (#2241)
The PR replaces `polyfill.io` inside the template with
`cdnjs.cloudflare.com/polyfill`.

---

`polyfill.io` was acquired by **a China-based CDN company** "Funnull",
see [the announcement from the `polyfill.io` domain owner's
Twitter](https://x.com/JakeDChampion/status/1761315227008643367) and
https://github.com/polyfillpolyfill/polyfill-service/issues/2834.
Despite Funnull's claims of operating in the United States, the
predominance of Simplified Chinese on its website suggests otherwise,
and it turns out that **"Funnull" is notorious for providing service for
the betting and pornography industries**.

[The original creator of the `polyfill.io` has voiced his concern on
Twitter](https://twitter.com/triblondon/status/1761852117579427975). And
since the acquisition, numerous issues have emerged
(https://github.com/polyfillpolyfill/polyfill-service/issues/2835,
https://github.com/polyfillpolyfill/polyfill-service/issues/2838,
https://github.com/alist-org/alist/issues/6100), rendering the
`polyfill.io` service **extremely unstable**. Since then, Fastly
([Announcement](https://community.fastly.com/t/new-options-for-polyfill-io-users/2540))
and Cloudflare
([Announcement](https://blog.cloudflare.com/polyfill-io-now-available-on-cdnjs-reduce-your-supply-chain-risk))
has hosted their own instances of `polyfill.io` service.
2024-03-04 11:37:16 -03:00
Jake Nabasny, PhD 82e73254d9
Correct config variable for enabling latest_posts on about page (#2243)
I noticed disabling latest_posts in `_config.yml` didn't work because
the variable in the liquid template was seemingly incorrect. This should
fix that.

---------

Co-authored-by: Jake Nabasny <jake@nabasny.com>
2024-03-03 13:28:58 -03:00
George 4dd3d6f441
Updated information about lsi 2024-03-01 13:04:53 -03:00
Sasika Amarasinghe 8cacee6ffc
Update INSTALL.md (#2237)
Added "Recommended Approach" as a subheading which was not under
Installing , but was in the contents section.
2024-02-29 15:05:36 -03:00
Moritz Scherrmann c1f168473f
Add functionality to open external links in jupyter notebooks in new tab (#2233)
See https://github.com/alshedivat/al-folio/pull/2230

---------

Co-authored-by: Scherrmann <scherrmann@bwl.uni-muenchen.de>
2024-02-27 12:25:16 -03:00
George 70ad4ceb42
Emphasized more how the name of the repository must be 2024-02-26 17:32:50 -03:00
Maksym Zub b607e580ad
Fixed broken latex in _posts/2015-10-20-math.md (#2219)
Latex math is currently broken in
[_posts/2015-10-20-math.md](https://alshedivat.github.io/al-folio/blog/2015/math/)
. Fixed it by replacing starts with underscore

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2024-02-22 14:43:42 -03:00
George 9f4d6d26be
Fixed coauthors examples in CUSTOMIZE 2024-02-19 12:33:46 -03:00
github-actions[bot] e430a8949c Lighthouse-Badger[bot]: Results Added 2024-02-14 17:42:02 +00:00
George 6e215a1cdc
Lighthouse fixes (#2199)
Our score went down a little bit after the last few changes. Avoiding
lazy loading some images (as introduced in #2183), since [it is strongly
recommended to omit hero images and other images or iframes that are
likely to appear above the fold from being
lazy-loaded](https://web.dev/articles/browser-level-lazy-loading-for-cmss#avoid_lazy_loading_above-the-fold_elements).
Also added missing `alt` to google scholar field.

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-02-14 14:37:32 -03:00
github-actions[bot] b316653f3b Lighthouse-Badger[bot]: Results Added 2024-02-14 16:39:10 +00:00
Dr. David Krassnig 0b84a1237d
Added/Improved Formatting for Checkboxes (#2191)
A proposed solution for #2190. Padding is added such that I considered
it aesthetically pleasing and the bullet points in front of the check
marks were removed.

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2024-02-14 13:30:26 -03:00
George 5df7a6aab0
Changed lazy loading in _config.yml 2024-02-14 12:58:52 -03:00
George f067edc69e
Changed lazy loading in figure.liquid 2024-02-14 12:58:28 -03:00
Ethan Olesinski 40b22ff274
fix author spacing (#2197)
This PR fixes issue https://github.com/alshedivat/al-folio/issues/2185
and addresses discussion
https://github.com/alshedivat/al-folio/discussions/2153.

- removes leading whitespace before commas in author list
- fixes author spacing
2024-02-14 12:54:44 -03:00
ZL Asica 2a056fe68e
Implement Default Lazy Loading for Images with Configurable Option (#2183)
This PR introduces an enhancement to the site's image-loading strategy
by implementing lazy loading as the default behavior for all images. The
motivation behind this change is to improve the site's load times.

**Changes:**
1. **Default Lazy Loading:** By `default`, all images will now have the
`loading="lazy"` attribute.

2. **Configurable Option in `_config.yml`:** Added a new configuration
option under `lazy_loading_images.enable`.

3. **Override Capability:** For `specific images` where the user doesn't
want lazy loading, they can `override` this by directly setting the
`loading attribute` in the `image tag`.
2024-02-14 00:41:14 -05:00
Furkan Akkurt 26fad311db
remove the space in names of "site" (#2188)
I removed the spaces between the first, middle and last names in the
header.

It's just my preference, I don't know if it would be accepted but I have
done this for my own page using this repository as a template.
2024-02-14 00:36:30 -05:00
George 0f0feb17be
Fixed related publications appearing in toc (#2196)
Fixes #2192

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-02-13 19:05:01 -03:00
Eric Slyman (they/them) 9794c625b6
Add academic community example (#2195)
Adds [https://ericslyman.com/](https://ericslyman.com/) to the list of
academic community examples.
2024-02-13 17:34:43 -03:00
George b4e423286b
Fixed bug when number has , on scholar citations 2024-02-13 13:56:13 -03:00
George a0bcaaf13f
Added support for google scholar citations (#2193)
Closes #1809, but there are caveats:
1 - it only works at build time, which means it won't update the numbers
unless you build your site again
2 - Google might block the request if it receives lots of it, failing
the whole process.

This is how it looks like when it can fetch the information:

![Screenshot from 2024-02-13
00-37-52](https://github.com/alshedivat/al-folio/assets/31376482/646d1f3c-1294-491b-bc13-9013e38918b4)

And this when it fails:


![image](https://github.com/alshedivat/al-folio/assets/31376482/516eefff-d394-44ad-8702-8982233f8c4f)

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-02-13 13:47:42 -03:00
Stavros Kalapothas 007b504204
Update README.md (#2187)
adding my page to the README section. Kudos to the dev team!
2024-02-11 17:55:37 -03:00
ZL Asica ef647a6ebd
Update README.md (#2182)
Add my acdemic portfolio to the Acdemic section of README.
2024-02-10 22:09:09 -03:00
ZL Asica 7c2e1c2c6c
Fix Image Dimension Styles for Better Responsiveness (#2166)
In this pull request, I've made adjustments to the image element's
handling of dimension properties. Previously, `min-width`, `min-height`,
`max-width`, and `max-height` were incorrectly placed as HTML attributes
on the `<img>` tag, which is not supported for these CSS properties.
This oversight could lead to issues with image responsiveness and layout
stability.

Changes:
- Moved `min-width`, `min-height`, `max-width`, and `max-height`
properties into the `style` attribute of the `<img>` tag. This change
ensures that these properties are correctly applied and recognized as
CSS properties, enhancing the responsiveness and flexibility of our
image displays.
- Retained `width` and `height` as attributes on the `<img>` tag to
maintain the intrinsic aspect ratio of images and help the browser
allocate space before images are fully loaded, improving the page load
experience.

These adjustments will ensure that our images are more responsive and
better adhere to the specified dimensions, improving the overall user
experience for the template.
2024-02-07 15:34:52 -03:00
Ethan Olesinski 1ce58650fd
center footer text by default (#2165)
This PR changes the footer text on the website (for both the sticky and
fixed footer) to be centered by default. This change is based on the
discussion post #257.
2024-02-06 16:03:52 -03:00
George 4cf657eb54
Added jekyll-diagrams error to FAQ (#2162)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-02-05 12:22:24 -03:00
George c39df67d5b
Updated FAQ with old repository information (#2161)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-02-05 12:11:33 -03:00
Andrew Boyer ae0c1a62cf
improved redirect mapping (#2157)
In reference to issue:
https://github.com/alshedivat/al-folio/discussions/1818

Redirect cases were only happening on the surface level, essentially
just affecting the links on [blog
index](https://alshedivat.github.io/al-folio/blog/page/4/index.htm) and
[year tag](https://alshedivat.github.io/al-folio/blog/2022/). However,
from the actual
[site](https://alshedivat.github.io/al-folio/blog/2022/redirect/), it
would automatically redirect to the `base_url` rather than the actual
`redirect`.

In my update, if `redirect: true`, like it is in `404.md`, redirect
behavior is the same, redirecting to the `base_url`. If it is an
external link, then the redirect is external. And finally if it is an
internal redirect, like it is in
https://alshedivat.github.io/al-folio/blog/2022/redirect/, than the
redirect is `page.redirect | relative_url`
2024-02-04 17:27:10 -03:00
George 18f7307e07
Fixed axe workflow (#2149)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-30 15:16:15 -03:00
George e977319dc8
Added link to jekyll docs about post file naming 2024-01-29 16:52:26 -03:00
George fa5b411b38
Adding display swap to Google Fonts
Adding suggestion from [Lighthouse results](https://developer.chrome.com/docs/lighthouse/performance/font-display/?utm_source=lighthouse&utm_medium=cli#google_fonts)
2024-01-28 20:11:44 -03:00
github-actions[bot] f3d3efa09c Lighthouse-Badger[bot]: Results Added 2024-01-28 23:05:48 +00:00
George 533798410e
Removing lighthouse_results from broken-links trigger 2024-01-28 20:02:15 -03:00
George 2356aea6e4
Removing lighthouse results from deploy trigger 2024-01-28 20:01:44 -03:00
github-actions[bot] 3c80fdb6fc Lighthouse-Badger[bot]: Results Added 2024-01-28 22:55:56 +00:00
George 1935a2ace0
Avoid deploying site when changes are in README files 2024-01-28 19:35:52 -03:00
George 43a3dd9e75
Update FAQ.md with Prettier info 2024-01-28 19:31:18 -03:00
George 06bc36762d
Move libs versions to config (#2139)
Moved libs versions and hashes to `_config.yml`.

Fixes #2067.

Deferring everything possible to keep pages loads fast.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-28 19:10:42 -03:00
George ef847825fd
Support for diff2html (#2133)
Added support to display diff code in a prettier way with
[diff2html](https://diff2html.xyz/).


![image](https://github.com/alshedivat/al-folio/assets/31376482/5f93b09c-3850-499a-999b-cb0ae13fddae)

It displays code like [in this
example](https://diff2html.xyz/demo.html).

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-28 12:45:20 -03:00
George 8e93db5b67
Advanced image viewers (#2132)
Image slider with [Swiper](https://swiperjs.com/).


![image](https://github.com/alshedivat/al-folio/assets/31376482/9068823c-571a-4d31-8e95-755a40a15ec9)

Image comparison slider with
[img-comparison-slider](https://img-comparison-slider.sneas.io/).


![image](https://github.com/alshedivat/al-folio/assets/31376482/97812477-c13b-43b1-8f0b-cb098462de3c)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-28 12:42:17 -03:00
George 2492ab389b
Workflow fix (#2136)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 22:58:40 -03:00
George f69d99a2ab
Closing #2122 (#2135)
Added lighthouse badger token info to FAQ

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 22:17:37 -03:00
George 53fb0116de
Added leaflet reference to 2024-01-26-geojson-map.md 2024-01-27 18:54:39 -03:00
George f6bb6b5dcb
Vega lite support (#2131)
Added support for [vega lite](https://vega.github.io/vega-lite/) charts.


![image](https://github.com/alshedivat/al-folio/assets/31376482/789c14d3-93b6-4d3f-94a6-7cec1f0f0b59)


![image](https://github.com/alshedivat/al-folio/assets/31376482/17f9021c-08c4-4922-9f97-1046b146a965)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 11:14:02 -03:00
George 1492cb9c4e
GeoJSON support (#2130)
Added support for GeoJSON maps.


![image](https://github.com/alshedivat/al-folio/assets/31376482/48e91158-a717-4d01-b6d7-47d45f0580e4)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 11:06:49 -03:00
George 4f6fe1a2cf
Added Echarts support (#2129)
Since I added support for chart.js and while doing so found some other
wonderful charting libraries, I thought, why not give support to some
more? So adding support to [Apache
Echarts](https://echarts.apache.org/en/index.html).


![image](https://github.com/alshedivat/al-folio/assets/31376482/088f0932-524f-4fcd-a34b-b132f569a675)


![image](https://github.com/alshedivat/al-folio/assets/31376482/36bfe4f8-a9d1-4b6d-a912-fb40ba3b5337)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 10:34:44 -03:00
George 3ec0ff4a46
Added integrity check to mermaid.js 2024-01-27 00:41:07 -03:00