Commit Graph

1023 Commits

Author SHA1 Message Date
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
George
5bc4703a76
Fix google scholar citations (#2893)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-12 15:17:49 -03:00
Dominik Fuchß
b968de85e0
Update bib.liquid: google scholar citation count (#2892)
Fix site.data.socials.scholar_userid access for google scholar citation
count

Fixes #2889
2024-12-12 15:17:23 -03:00
George
ae4412ef3c
Updated dependencies (#2887)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-12 12:57:24 -03:00
George
8d20dc5e07
Update docker-compose.yml image version 2024-12-12 12:46:56 -03:00
George
a9da28e256
Renamed repo-img- to only- to allow setting images for only one theme (#2886)
Closes #930.

We already had classes for this kind of feature, but it was used
specifically for repository information. Just renamed the classes so it
is clear how they can be used.

To use them with markdown, just do it like this:

```markdown
![Only light](assets/img/prof_pic_color.png){: .only-light}
![Only dark](assets/img/prof_pic.jpg){: .only-dark}
```

and with html:

```html
<img
  class="only-light"
  src="assets/img/prof_pic_color.png"
>
<img
  class="only-dark"
  src="assets/img/prof_pic.jpg"
>
```

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-12 12:45:04 -03:00
George
e452f1a60f
Moved socials config to _data/socials.yml (#2885)
Fixes #2882, added support for
[scholar-icons](https://github.com/louisfacun/scholar-icons) and
[LeetCode](https://leetcode.com/).

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-12 12:44:43 -03:00
George
84cf4aff3d
Update Font Awesome and Tabler Icons (#2884)
Solves #2881.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-11 15:19:38 -03:00
George
f23e35e043
New image components (image galleries) (#2877)
Added support for multiple image galleries, and created a sample post
showing how to enable and use them.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-10 19:01:01 -03:00
George
8121ad0269
Fix apostrophe in news title for search (#2879)
Fix #2876 

Weirdly enough, we already escape the title a few lines above the
changed one, but had to escape it again here.

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-06 12:20:36 -03:00
dai
957dc2c35a
Add features to distill template (#2840)
While using the distill template, I noticed it lacked many features
available in the regular post template, such as typograms, echarts, and
other interactive elements. To address this, I **included the necessary
scripts and dependencies for these features in** _distill.liquid_,
referencing them from misc.liquid. Now, the distill template offers the
same interactive functionality as the post template.
2024-12-04 17:00:29 -03:00
Henry Fang
a340b6039d
Update the INSTALL.md file to include steps for deploying al-folio on Netlify. (#2798)
Update CUSTOMIZE.md to include steps to deploy al-folio on Netlify.

---------

Co-authored-by: Henry <Henry@home.com>
Co-authored-by: Henry_Lab <henry@lab.com>
2024-12-03 21:33:08 -03:00
Pranjal Aggarwal
c5d484ec9f
Support for Resume/CV Links (#2826)
Solves #2825
2024-12-03 00:35:59 -03:00
Isaac Fernandes
b37758a55c
Add .lycheeignore file with linkedin to stop error on workflow Linkcheck (#2868)
Add a .lycheeignore file with LinkedIn to stop the error in the workflow
Link Checker due to response 999, and update to the new version
lycheeverse/lychee-action@v2.1.0.
2024-12-02 16:37:42 -03:00
Juan Carlos Niebles
8babc442a5
Fix to display references in order of citation (#2855)
"cite_in_order" here contradicts the global group_by year setting in
_config.yml
2024-12-02 16:37:19 -03:00
George
a09f15fd99
Fix prettier complaints 2024-12-02 15:45:38 -03:00
George
7c22e4800a
Fixed bug in header 2024-11-29 00:09:29 -03:00
dependabot[bot]
b0d70d4dd6
Bump rexml from 3.3.8 to 3.3.9 (#2814)
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.8 to 3.3.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ruby/rexml/releases">rexml's
releases</a>.</em></p>
<blockquote>
<h2>REXML 3.3.9 - 2024-10-24</h2>
<h3>Improvements</h3>
<ul>
<li>Improved performance.
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/210">GH-210</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p>Fixed a parse bug for text only invalid XML.</p>
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/215">GH-215</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
<li>
<p>Fixed a parse bug that <code>&amp;#0x...;</code> is accepted as a
character
reference.</p>
</li>
</ul>
<h3>Thanks</h3>
<ul>
<li>NAITOH Jun</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ruby/rexml/blob/master/NEWS.md">rexml's
changelog</a>.</em></p>
<blockquote>
<h2>3.3.9 - 2024-10-24 {#version-3-3-9}</h2>
<h3>Improvements</h3>
<ul>
<li>Improved performance.
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/210">GH-210</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p>Fixed a parse bug for text only invalid XML.</p>
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/215">GH-215</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
<li>
<p>Fixed a parse bug that <code>&amp;#0x...;</code> is accepted as a
character
reference.</p>
</li>
</ul>
<h3>Thanks</h3>
<ul>
<li>NAITOH Jun</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="38eaa86ac7"><code>38eaa86</code></a>
Add 3.3.9 entry</li>
<li><a
href="ce59f2eb1a"><code>ce59f2e</code></a>
parser: fix a bug that &amp;#0x...; is accepted as a character
reference</li>
<li><a
href="a09646d395"><code>a09646d</code></a>
test: fix indent</li>
<li><a
href="cf0fb9c9ca"><code>cf0fb9c</code></a>
Fix <code>IOSource#readline</code> for <code>@pending_buffer</code> (<a
href="https://redirect.github.com/ruby/rexml/issues/215">#215</a>)</li>
<li><a
href="1d0c362526"><code>1d0c362</code></a>
Optimize <code>IOSource#read_until</code> method (<a
href="https://redirect.github.com/ruby/rexml/issues/210">#210</a>)</li>
<li><a
href="622011f25a"><code>622011f</code></a>
Bump version</li>
<li>See full diff in <a
href="https://github.com/ruby/rexml/compare/v3.3.8...v3.3.9">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rexml&package-manager=bundler&previous-version=3.3.8&new-version=3.3.9)](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>
2024-11-28 15:52:10 -03:00
George
1c1632c8c9
Page permalink can be an outside url (#2863)
Fixes #2858

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-11-28 15:32:13 -03:00