Commit Graph

941 Commits

Author SHA1 Message Date
Nikos Kontogeorgis
74beacb274
Refactor footer content (#3041)
Refactor footer content into a reusable variable for cleaner code
2025-03-01 21:47:22 -03:00
George
6625f2395a
Digital Bookshelf V2 (#2866)
Since I was annoyed at not being able to use
[jekyll-archives](https://github.com/jekyll/jekyll-archives) to create
an archive for the books, I decided to implement myself the
[jekyll-archives-v2](https://github.com/george-gca/jekyll-archives-v2)
that doesn't have this limitation.

Closes #923.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-02-28 13:57:36 -03:00
Dominik Fuchß
14aaf4726e
Re-Enable exclusions of jekyll minifier (#3038)
Resolve #3037

This PR just re-enable the old exclusions of jekyll-minifier to ensure
that the files aren't altered.
2025-02-27 21:26:29 -03:00
Stefan de Lange
6b00edc4a3
Fix typo in -> on (#3029)
Fixed a small typo in `post.liquid`.
2025-02-24 11:15:19 -03:00
dependabot[bot]
977872f01e
Bump nokogiri from 1.18.1 to 1.18.3 (#3026)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.1
to 1.18.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sparklemotion/nokogiri/releases">nokogiri's
releases</a>.</em></p>
<blockquote>
<h2>v1.18.3 / 2025-02-18</h2>
<h3>Security</h3>
<ul>
<li>[CRuby] Vendored libxml2 is updated to <a
href="https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.6">v2.13.6</a>
to address CVE-2025-24928 and CVE-2024-56171. See <a
href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vvfq-8hwr-qm4m">GHSA-vvfq-8hwr-qm4m</a>
for more information.</li>
</ul>
<!-- raw HTML omitted -->

<pre><code>cab20305133078a8f6b60cf96311b48319175038cc7772e5ec586ff624cb7838
nokogiri-1.18.3-aarch64-linux-gnu.gem
acb256bb3213a180b1ed84a49c06d5d4c6c1da26f33bc9681f1fece4dab09a79
nokogiri-1.18.3-aarch64-linux-musl.gem
ce088965cd424b8e752d82087dcf017069d55791f157098ed1f671d966857610
nokogiri-1.18.3-arm64-darwin.gem
37b73a55e0d1e8a058a24abb16868903e81cb4773049739c532b864f87236b1b
nokogiri-1.18.3-arm-linux-gnu.gem
09407970cd13736cf87e975fae69c13e1178bab0313d07b35580ee4dd3650793
nokogiri-1.18.3-arm-linux-musl.gem
6b9fc3b14fd0cedd21f6cad8cf565123ba7401e56b5d0aec180c23cdca28fd5a
nokogiri-1.18.3.gem
236078c5f80ffc3d49c223fa98933d970543455403f9d672ca0aa5a6178a84fe
nokogiri-1.18.3-java.gem
216be1cb454c4657fc64747e5ae32b2ab4015843183766f238e4f4a62fb1f6be
nokogiri-1.18.3-x64-mingw-ucrt.gem
d729406bb5a7b1bbe7ed3c0922336dd2c46085ed444d6de2a0a4c33950a4edea
nokogiri-1.18.3-x86_64-darwin.gem
3c7ad5cee39855ed9c746065f39b584b9fd2aaff61df02d0f85ba8d671bbe497
nokogiri-1.18.3-x86_64-linux-gnu.gem
8aaecc22c0e5f12dac613e15f9a04059c3ec859d6f98f493cc831bd88fe8e731
nokogiri-1.18.3-x86_64-linux-musl.gem
</code></pre>
<!-- raw HTML omitted -->
<h2>v1.18.2 / 2024-01-19</h2>
<h3>Fixed</h3>
<ul>
<li>When performing a CSS selector query, an XML document's root
namespace declarations should not be applied to wildcard selectors
(<code>&quot;*&quot;</code>). Fixes a bug introduced in v1.17.0. (<a
href="https://redirect.github.com/sparklemotion/nokogiri/issues/3411">#3411</a>)
<a
href="https://github.com/flavorjones"><code>@​flavorjones</code></a></li>
</ul>
<!-- raw HTML omitted -->

<pre><code>74e0f9a7487a30a2957f46c5113d58f836436b033c9906e0bc6fee9d8cdafabf
nokogiri-1.18.2-aarch64-linux-gnu.gem
99bcea596a80eaee99f2bae2596275641ea688262c1da32b4e90db6159e86477
nokogiri-1.18.2-aarch64-linux-musl.gem
8288ec7a296e2510ca9bd053c0c5989f11260f8c07bc3e9afbafa536f7077281
nokogiri-1.18.2-arm64-darwin.gem
6fb0246b69f2c589a69254e82bc2a40aa238c4f977fd7903e283341a92935729
nokogiri-1.18.2-arm-linux-gnu.gem
dcdd4d10ed2743f0d8c887825700c3a8506aea1aa415917ac50ccc01597c51a3
nokogiri-1.18.2-arm-linux-musl.gem
93791cfb33186fe077eb9e1b8a6855b5621e328f81f565334572fa398366f8bf
nokogiri-1.18.2.gem
eefdf9f0d6086173d3488cf7a736732ee13fb6674ef15643478c20502a67bf37
nokogiri-1.18.2-java.gem
894514572fa7503ce9210e51a7f8a9a35f34f154d6406cec1ac148c3ce1536a3
nokogiri-1.18.2-x64-mingw-ucrt.gem
7fca165e5ee87e9b6b3f1377180376afc0c8652ed2a3d761f472f0e3d3a1c651
nokogiri-1.18.2-x86_64-darwin.gem
9330ced4a976604865c2a76ce158e2bc608fa83999552e85a32ec06f85f427db
nokogiri-1.18.2-x86_64-linux-gnu.gem
1cd7786ed15c76958d6a8f9a864df6208fecd624c340eb4ed211fbea60328f02
nokogiri-1.18.2-x86_64-linux-musl.gem
</code></pre>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/sparklemotion/nokogiri/blob/v1.18.3/CHANGELOG.md">nokogiri's
changelog</a>.</em></p>
<blockquote>
<h2>v1.18.3 / 2025-02-18</h2>
<h3>Security</h3>
<ul>
<li>[CRuby] Vendored libxml2 is updated <a
href="https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.6">v2.13.6</a>
to address CVE-2025-24928 and CVE-2024-56171. Nokogiri's maintainers
believe these vulnerabilities do not affect users of Nokogiri, but we
advise upgrading at your earliest convenience anyway.</li>
</ul>
<h2>v1.18.2 / 2024-01-19</h2>
<h3>Fixed</h3>
<ul>
<li>When performing a CSS selector query, an XML document's root
namespace declarations should not be applied to wildcard selectors
(<code>&quot;*&quot;</code>). Fixes a bug introduced in v1.17.0. (<a
href="https://redirect.github.com/sparklemotion/nokogiri/issues/3411">#3411</a>)
<a
href="https://github.com/flavorjones"><code>@​flavorjones</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fd3ca2e22d"><code>fd3ca2e</code></a>
version bump to v1.18.3</li>
<li><a
href="a8c526adf1"><code>a8c526a</code></a>
dep: update libxml2 to v2.13.6 (<a
href="https://redirect.github.com/sparklemotion/nokogiri/issues/3437">#3437</a>)</li>
<li><a
href="0847cf8688"><code>0847cf8</code></a>
ci: tired of waiting for gnome mirrors</li>
<li><a
href="11945c82df"><code>11945c8</code></a>
dep: update libxml2 to v2.13.6</li>
<li><a
href="aa54fa5954"><code>aa54fa5</code></a>
version bump to v1.18.2</li>
<li><a
href="0fb5541c95"><code>0fb5541</code></a>
backport: fix(css-selector): default XML namespace should not be applied
to w...</li>
<li><a
href="8ef2e918e7"><code>8ef2e91</code></a>
ci: bump windows test images from &quot;head&quot; to
&quot;3.4&quot;</li>
<li><a
href="c10fd7a02e"><code>c10fd7a</code></a>
dev: so tired of psych not building on various things</li>
<li><a
href="8378749614"><code>8378749</code></a>
fix(css-selector): default XML namespace is not applied to wildcard</li>
<li><a
href="b112e18a48"><code>b112e18</code></a>
prefactor: restructure css-to-xpath tests</li>
<li>See full diff in <a
href="https://github.com/sparklemotion/nokogiri/compare/v1.18.1...v1.18.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nokogiri&package-manager=bundler&previous-version=1.18.1&new-version=1.18.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/alshedivat/al-folio/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-19 10:07:41 -03:00
DreamSoul
9272d23124
make abbr color inside bibliography a variable (#3017)
Fix https://github.com/alshedivat/al-folio/issues/3012 (make abbr color
inside bibliography a variable)
2025-02-17 04:46:15 -08:00
George
854598e139
Moved comment in repo.liquid 2025-02-14 13:21:25 -03:00
George
cbe03ec301
Moved comment in repo_user.liquid 2025-02-14 13:21:18 -03:00
Jiaye Wu
7719863ea0
fix language-not-found issues on repo page with simplified and traditional Chinese (#3015)
The author of github-readme-stats uses the non-standard code "cn" for
simplified Chinese, see
[here](https://github.com/anuraghazra/github-readme-stats?tab=readme-ov-file#available-locales).
While for traditional Chinese the author only provides "zh-tw". The
github-readme-stats functions on repo page will break if the user sets
the site language to ALL variants of Chinese except for zh-tw. This hack
is to make all sub-variants of simplified Chinese fall back to "cn" and
all sub-variants of traditional Chinese fall back to "zh-tw".

This patch fixes the problem and has been tested locally & with GitHub
pages.
2025-02-14 13:16:39 -03:00
Jacob Austin
10d007a98c
Allows for standard Jekyll code highlighting with distill template (#3002)
As described in https://github.com/alshedivat/al-folio/issues/300,
standard Markdown code highlighting doesn't work in the Distill template
because it is clobbered by the Distill "Prism" syntax highlighting. This
PR will allow d-code tags (distill-specific code tags) to function with
the Distill syntax highlighter, but will default `highlight` and
Markdown code blocks to use the Jekyll/Rouge highlighter.

This PR also removes overrides.js, which is currently broken because
jquery isn't loaded.
2025-02-12 18:47:57 -03:00
George
e3f029dcd1
Added sass changes to trigger deploy action 2025-02-09 12:21:55 -03:00
Soumyaranjan Dash
beeff21ecd
Updated scripts for correctly using gtag. (#2962)
Implementation of Google tag ID to correctly getting tracked requires
further modification in addition to the one line script in the
`_includes/scripts.liquid` file as
```
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag() {
      dataLayer.push(arguments);
    }
    gtag('js', new Date());

    gtag('config', '{{ site.google_analytics }}');
  </script>
```

I have made the changes and tested it out on my personal webpage to
ensure the tracking in analytics dashboard.
2025-02-09 06:41:20 -08:00
George
caf9976175
Add link to set workflow permissions 2025-01-30 16:02:39 -03:00
Alexi Gladstone
16edfe9c8a
Add my website to readme under academics--alexiglad.github.io (#2987) 2025-01-28 14:08:15 -03:00
George
0b3f19dfb3
Moved specific information from config to about (#2985)
Moved news and latest posts related information from `_config.yml` to
`_about.md` page.

Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-01-27 17:04:24 -03:00
Elara Liu
4f28b9b97a
fix: typo in file name gitattributes (#2972)
Just fix the file name's typo.
2025-01-26 18:38:56 -08:00
Juan Carlos Niebles
b50db2e713
fixed indexing of external posts (#2983)
This should fix several issues with indexing external posts, including
#1828.

In short, I found that the issue with indexing was that the index
builder was receiving 'empty' documents. To fix that, I'm setting the
document content to be the post content as retrieved from the rss feed
or the text extracted from the external page.

I've tested with various blog sources and it seems to be working as
expected now.
2025-01-26 18:35:13 -08:00
George
15fc779e7e
Fix external link svg size in related posts 2025-01-23 14:11:20 -03:00
George
8266accd93
Fix related external posts (#2980)
Fixes #2977

Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-01-23 14:05:32 -03:00
Maruan Al-Shedivat
d3402d0379 Bump license year to 2025 2025-01-18 22:16:45 -05:00
George
cb0926f837
Updated socials info in CUSTOMIZE.md 2025-01-18 14:17:14 -03:00
George
c5d0e92dbd
Update docker version on INSTALL.md 2025-01-15 23:14:50 -03:00
George
8d1ca80b00
Update docker version on docker-compose.yml 2025-01-15 23:14:16 -03:00
George
82611b4b6d
Updated dependencies for next release (#2958)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-01-15 23:12:15 -03:00
Suraj Khamkar
da32034525
Fix issue causing no color inversion when rendering equations (#2956)
## Problem Description

When dark mode is enabled, inline math expressions rendered using
`$...$` in distill-style blog posts are displayed in black text. This
makes them difficult to read against the dark background. The issue
occurs because the default styles for MathJax-rendered content do not
account for dark mode and set the text color to black.

## Proposed Solution

This PR updates the MathJax setup to dynamically apply inline styles to
ensure the text color of MathJax-rendered content inherits the parent
container’s color. Specifically:
- Added a custom action in the _MathJax.options.renderActions_ section
to inject a CSS rule that sets _.mjx-container_ to inherit its color
from its parent element.
- Ensures that inline math expressions render correctly in both light
and dark modes without explicitly setting a fixed color.

## Changes Made
Modified the _mathjax-setup.js_ file to include:
- Custom inline styles injected via JavaScript for _.mjx-container_
elements.
- Explicit handling of _inlineMath_ delimiters to ensure consistency in
rendering.

## Testing and Validation
- Tested the fix in both light and dark modes to confirm that inline
math expressions render in the correct color.
- Verified that the changes do not introduce regressions in light mode
or affect block math expressions rendered using `$$...$$`.

## Impact
- Improves readability of inline math expressions in dark mode.
- Provides a consistent user experience for distill-style blog posts
across light and dark themes.
- Resolves #2915

Co-authored-by: Suraj Khamkar <surajk@atlanticpkg.com>
2025-01-15 23:11:44 -03:00
Ricky Yuan
c2cc2148c0
Fix resume custom reference link bug (#2941)
Hi,

I noticed an issue where the CV page fails to link to the correct custom
PDF when the `{% unless site.data.resume %}` block is executed in
`cv.liquid`. To resolve this, I updated the code to align its logic with
the else block to make it consistent.

---------

Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>
2025-01-14 11:39:28 -03:00
George
70c5ccf93d
Fixed prettier complaints 2025-01-13 11:57:43 -03:00
George
9ca1d52c04
Added another option to remove content 2025-01-12 15:43:14 -03:00
Maruan
f233233e19
Remove internal copy of jekyll-terser (#2945)
# Summary

since https://github.com/RobertoJBeltran/jekyll-terser/pull/1 has been
merged, I'm removing the internal copy jekyll-terser and switching to
https://github.com/RobertoJBeltran/jekyll-terser instead. also,
refactored `Gemfile` a bit.
2025-01-09 04:34:44 -08:00
Soumyaranjan Dash
1da2e64e73
Updated FAQ.md. (#2937)
Added documentation for Google Search Console ID creation and usage in
the template for google-site-verification.
2025-01-07 17:22:28 -03:00
George
c4a9f1729f
Howto remove pages (#2933)
Closes #2930

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-01-03 18:50:37 -03:00
Manuel
4f405ba9c4
Fix Line Ending Issues for Shell Scripts in Docker for Windows 10 (#2932)
Shell scripts like entry_point.sh caused errors in Docker due to CRLF
line endings on Windows (`exec /tmp/entry_point.sh: no such file or
directory`).

Added `.gitattributes` to enforce LF line endings for *.sh files.

This resolves the issue and ensures consistent behavior across
platforms.
2025-01-02 16:00:47 -03:00
George
a3396b6c87
Updated ffi, changed base docker image, added observer and ostruct (#2931)
Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-12-30 22:12:54 -03:00
Noman Bashir
bd58936fc9
Update README.md - remove my website link (#2926)
remove my website link
2024-12-30 15:23:38 -03:00
George
3795438a75
Updated dependencies (#2925)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-29 23:08:39 -03:00
George
1c27220f59
Security fixes for download-3rd-party.rb 2024-12-29 22:52:32 -03:00
George
8d5448601b
Security fixes for download-3rd-party 2024-12-29 22:42:28 -03:00
George
e9916adb95
Create codeql.yml 2024-12-29 22:24:59 -03:00
Simmo Saan
c91c0ee54b
Revert padding from #2617 for CV tables (#2920)
PR #2617 added a noticeable amount of right padding to all table cells.
This might be fine for tables in content (e.g. posts), but creates odd
spaces in the CV page, which is largely made up of tables.
2024-12-29 21:50:59 -03:00
George
807629dd2f
Update docker-compose.yml image version 2024-12-28 23:48:25 -03:00
George
ae7b3c92f8
Update INSTALL.md repo version 2024-12-28 23:47:50 -03:00
George
cecd16d2bd
Added missing newsletter components (#2913)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-26 16:49:45 -03:00
George
0dbab217fa
Update CUSTOMIZE.md 2024-12-23 14:26:12 -03:00
George
6e1226d53a
Update INSTALL.md 2024-12-23 14:20:14 -03:00
George
05eb46ac3f
Replaced jekyll-minifier that uses uglifier by terser (#2571)
Hopefully fixes #2548.

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-23 14:00:58 -03:00
Jiaqi Li
ec7d7c34e8
explicitly install imagemagick to support ubuntu-latest (>=24.04) in Github actions (#2906)
Install `imagemagick` within `Install and Build 🔧` step of Github
actions

Relevant issue: 
[#2902](https://github.com/alshedivat/al-folio/issues/2902) `convert`
Command Not Found on Ubuntu 24.04

Reason: 
`ubuntu-latest` in Github actions is pointed to `ubuntu-24.04` now, in
which `imagemagick` is no longer pre-installed. See
[this](https://github.com/actions/runner-images/issues/10772).

Modified files (actions) recommended by @george-gca 
```
- .github/workflows/deploy.yml
- .github/workflows/broken-links-site.yml
- .github/workflows/axe.yml
```
2024-12-19 17:55:36 -03:00
George
cc0cb3c426
Fixed #2903 2024-12-19 11:52:26 -03:00
George
c5101beae4
Fixed socials in search (#2895)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-12 16:23:28 -03:00
George
3cdb9e4977
Fixed missing updated references to socials (#2894)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-12 15:28:42 -03:00
Dominik Fuchß
00249b93c9
Update social.liquid: ensure social[1] is used (#2891)
Fixes #2890 

With the recent updates (v0.13.0) the email badge (social) does not
contain the email anymore.
Some link generations in social.liquid used the old schema
Also updated the handling for mastodon to be aligned to the other social
badges.
2024-12-12 15:18:55 -03:00