George
1c416dbae8
Added support for jekyll-tabs ( #2380 )
...
Added support for [jekyll-tabs](https://github.com/Ovski4/jekyll-tabs ),
implemented #1977 .
Light:

Dark:

---------
Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-05-02 14:34:48 -03:00
George
ba53f89965
Added support for Google Typograms ( #2379 )
...
Google [Typograms](https://github.com/google/typograms/ ) is a
lightweight image format (text/typogram) useful for defining simple
diagrams in technical documentation.


---------
Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-04-30 11:26:56 -03:00
George
d6a08c8ca3
Added `pseudocode.js` support ( #2344 )
...
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-04-15 11:21:42 -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
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/ ).

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 comparison slider with
[img-comparison-slider](https://img-comparison-slider.sneas.io/ ).

---------
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-28 12:42:17 -03:00
George
f6bb6b5dcb
Vega lite support ( #2131 )
...
Added support for [vega lite](https://vega.github.io/vega-lite/ ) charts.


---------
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.

---------
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 ).


---------
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 10:34:44 -03:00
George
a7d6b37d8f
Added support for Chart.js ( #2126 )
...
Solved #460 .

---------
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-26 02:16:14 -03:00
George
f669b23136
Fixed role main in default.liquid
2024-01-15 17:40:33 -03:00
George
1775a9a99d
Axe accessibility test support ( #2080 )
...
Added GitHub action to do axe accessibility tests with [axe
cli](https://github.com/dequelabs/axe-core-npm/tree/develop/packages/cli ).
I believe it is best by default to let this be run only manually, since
fixing some of the issues are not straightforward (I haven't fixed them
all for this template yet).
---------
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-15 16:38:31 -03:00
Maruan
beb6f27d59
format code with prettier.io ( #2048 )
...
summary:
- adds prettier formatter configuration
- formats the entire repo using prettier, ignoring minified files
(`*.min.css`) and heavy generated html
- changes extensions of all `.html` files to `.liquid`, which is more
correct and necessary for prettier to work correctly
- replaces "%-" and "-%" with just "%" — manual liquid formatting using
minus signs is superfluous since we are compressing and minifying the
code anyway
- adds CI action for running prettier check on PR and pushes to master
2024-01-10 00:10:51 -05:00