Commit Graph

68 Commits

Author SHA1 Message Date
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
George feb9c9e677
Removed background from template example 2024-01-03 21:11:00 -03:00
George 4a55cd1bd1
Upgrading the README file (#2034)
I decided to break the README file into different ones to declutter it
from the main page. Also adding some more explanation on the structure
of the template. Tackling #2032 and #2033

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-01-02 22:30:48 -03:00
George 92ac10ad82
Changed mermaid support in template (#1992)
Fix #1609

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>
2024-01-02 18:35:57 -03:00
George 6eab5bf480
Fixes #1952 (#1955)
Fixes #1952 by updating font awesome version. Also updated icons names
to newest font awesome style.

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-11-23 13:02:14 -03:00
Pablo Diego Pereira 6b5c94f571
Update resume.json (#1821)
populating resume.json to give easier start to people that dont
understand very well how to setup the fields
2023-11-22 16:26:14 -03:00
Yifan Jiang a21bd492bc
fix reference disappearing for distill blog in absence of author (#1804) 2023-10-08 12:15:01 -04:00
George 64cf57fab3
Added support to PurgeCSS (#1562)
Tackled #1329 with [PurgeCSS](https://purgecss.com/).

Being talking with @varuniyer about using
[jekyll-uncss](https://github.com/episource/jekyll-uncss) to reduce css
file sizes by ditching unused classes. This approach have 3 main
problems:

1 - have some limitations as pointed
[here](https://github.com/alshedivat/al-folio/issues/1329#issuecomment-1546517327)
2 - last update to
[jekyll-uncss](https://github.com/episource/jekyll-uncss) was about 3
years ago, so it might have a few issues
3 - [uncss](https://github.com/uncss/uncss) haven't seem a new release
in a while, currently [lacking
maintenance](https://github.com/uncss/uncss/issues/459), and using some
deprecated libraries as seem here:

```
npm install -g uncss
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
```

I thought about giving PurgeCSS a go, since it has been more [actively
maintaned](https://github.com/FullHuman/purgecss), but
[jekyll-purgecss](https://github.com/mhanberg/jekyll-purgecss) haven't.

For this, I needed to change to use some local libraries instead of
getting them via CDN. The good news is that it is quite effective in
reducing css file sizes. Comparing dir sizes with `du -hs
_site/assets/css/`:

| current | minify | PurgeCSS | PurgeCSS + minify |
| ------- | ------ | -------- | ----------------- |
| 1,1M    | 988K   | 456K     | 420K              |

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-09-28 14:22:42 -03:00
Mirza Arnaut 40505f4c5d
Add jsonresume support (#1547)
Just as discussed in #1513 , this pull request adds support for
[jsonresume](https://jsonresume.org/). Create the resume once, either as
a file in the repository or at [github gist](https://gist.github.com/)
called `resume.json`. Put the file in the `_config.yaml` file and that's
it! Other platforms like [resumake](https://latexresu.me/) use the same
schema.

I also incorperated the changes introduced by #1339 to the best of my
abilites. The style could be further improved.

**Please merge this pull request after #1339 is merged, due to
dependencies from it**

If someone has a bettet approach on how to solve the problem that each
section needs its own template, please let me know. But for now it works
fine and is still backwards compatible with the `cv.yaml` file.

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2023-07-11 23:26:25 -03:00
José M. Requena Plens cd5138b9c6
CV Restyled (#1339)
I have redesigned the CV to have some options that I have in my pdf CV.

I'm not too inspired to include more example data, if anyone wants to
add data, go ahead.

With my data the CV looks like this:
[https://jmrplens.github.io/cv/](https://jmrplens.github.io/cv/ ).
My data: [VIEW
FILE](ce8b5b67db/_data/cv.yml)

Some screenshots:
<img width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-09-51)"
src="https://user-images.githubusercontent.com/28966312/233200752-e49afa44-1c07-42eb-b38c-337f81b60406.png"><img
width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-10-22)"
src="https://user-images.githubusercontent.com/28966312/233200844-0201d061-df3e-4e80-8107-3b6f7c72faa3.png">
<img width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-10-37)"
src="https://user-images.githubusercontent.com/28966312/233200898-77040d1a-bf9a-47f1-a46d-3008f7331020.png"><img
width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-10-54)"
src="https://user-images.githubusercontent.com/28966312/233200949-055fe27e-ce06-4929-91e8-cab2983b4850.png">

Mobile:

<img width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-21-36)"
src="https://user-images.githubusercontent.com/28966312/233203168-8b5cc777-e3f8-4387-96d4-a5d405d7032b.png"><img
width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-21-48)"
src="https://user-images.githubusercontent.com/28966312/233203238-5ccc424e-b0e3-41a1-bd2b-2c64e01cfc85.png">
<img width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-22-00)"
src="https://user-images.githubusercontent.com/28966312/233203297-7174be99-08a1-427a-a414-5bded2d6c2d8.png"><img
width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-22-14)"
src="https://user-images.githubusercontent.com/28966312/233203312-f5067ce7-134f-4a39-bb5b-aaa3d247b3e7.png">

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2023-07-11 22:53:53 -03:00
George e8617623d5
Added support for jupyter dark mode (#1538)
Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-07-05 23:12:57 -03:00
George ab2f72baaa
Added support for jupyter notebooks #417 (#1511)
Implemented #417.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
Co-authored-by: Amir Pourmand <pourmand1376@gmail.com>
2023-07-05 12:43:59 -03:00
Samuel Chin 3083172d99
Fixes "General Information" section of CV in dark mode (#1432)
When the dark mode is default, or if you set the page to dark mode and
then refresh, the content in "General Information" can't be seen.
This PR fixes the problem.
2023-06-10 21:30:13 -04:00
George 597b5751a3
Audio and Video support (#1367)
Since #1253 has been hanging there for a while, I decided to part from
it and add audio and video support.

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-05-15 12:31:27 -03:00
George 8f960bbae6
Fix table color (#1424)
Fix table color when dark mode is default.

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-05-14 22:10:29 -03:00
George 641a36405f
Added support for Bootstrap table (#1283)
Added support for [Bootstrap Table](https://bootstrap-table.com/).
Haven't checked the impact on website loading, but I believe [this kind
of table](https://examples.bootstrap-table.com/#welcomes/from-data.html)
is way more useful for blog posts and projects pages.
2023-04-30 23:10:30 -04:00
George bbf1758636
Toc sidebar (#1366)
Implemented #966.


![image](https://user-images.githubusercontent.com/31376482/234411523-b02087d9-a437-4f77-9f54-de5eef122439.png)

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-04-27 12:46:29 -03:00
Yifan Jiang 6e38b1b8aa
Fix copy code button position (#1348)
Fix issue #1303 by adding a code wrapper outside the code block. 
Ref:
https://stackoverflow.com/questions/60771472/position-a-button-such-that-it-wont-scroll-with-contents
2023-04-25 11:37:09 -03:00
George bacddc7821
Implemented copy code button feature (#1267)
Implemented support for copy code button in code blocks (#1262), also updated blog post about code to reflect it.
2023-03-19 17:17:34 -04:00
Rohan Deb Sarkar 3a4de50705
Fix medium zoom on small devices (#1084)
fixes #1006
2023-01-07 21:37:54 +05:30
Mohammad Qodrati 5e48424e58
Hide the other opened box (Bib, Abs), if any (#1002) 2022-12-25 13:47:08 -05:00
Maruan 37ccb2e434
Add interactive plotly example to distill post (#1027) 2022-12-20 18:09:32 -05:00
Maruan b9f1fc84f2
Add support for giscus comments (#1028)
adds support for comments on posts using https://giscus.app/
2022-12-11 22:33:09 -05:00
Rohan Deb Sarkar 1ac9b7c3b2
Optimize image qualities and a fix (#762)
* blog tag-list

* optimize publication preview

* better compression

* optimize jpg project images

* reduce sizes of project images

* fix
2022-07-12 11:43:58 +05:30
Congcong Li 24a5084cb1
fix more authors bug (#758)
* fix more authors bug

* fix

* add preview

Co-authored-by: Rohan Deb Sarkar <rohandebsarkar@gmail.com>
2022-07-11 12:08:58 +05:30
Rohan Deb Sarkar 26e41e77c8
Fix scripts (#755) 2022-07-10 21:26:36 +05:30
Rohan Deb Sarkar 9411786b5d
Adds support for preview images for publications (#730)
* Adds support for publication teaser

* Adds an example for publication teaser

* Update example publication teaser

* Update size

* change `teaser` to `preview`

* Update _config.yml

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>

* Update _layouts/bib.html

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>

* Update _layouts/bib.html

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>

* Update _layouts/bib.html

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>

* Update _sass/_base.scss

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>

* Update _sass/_base.scss

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>
2022-07-03 08:56:11 +05:30
rohandebsarkar 7c742c53ef
Update Lighthouse PageSpeed Insights 2022-07-01 18:50:49 +05:30
Rohan Deb Sarkar 4e460ee494
Fix theme (#697)
* fix theme

* fix theme

Co-authored-by: rohandebsarkar <rohandebsarkar@gmail.com>
2022-06-08 01:11:27 -04:00
Viraj Thakkar 77b60dc395
Theme and responsiveness fixes (#509)
* Dark themed cards

* Responsiveness fixes

* added dark stylesheet option

* highlight theme toggle

* added highlight function

* added highlight themes to assets/css

* offline highlight implementation

* Fixes for masonry

* Revert "added highlight themes to assets/css"

This reverts commit ee7cb7675671430697f3a38bd5a56405179e6dd9.

* Update `code syntax highlighting` to use jsdelivr CDN

* Project card responsiveness fixes

* added personal website to readme

veedata.github.io

* Reverted responsiveness chnages

* Minor adjustments

Co-authored-by: rohandebsarkar <rohandebsarkar@gmail.com>
Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>
2022-02-19 20:46:45 -05:00
Maruan 17329fca3a
Fix distill dark mode again (#517) 2021-12-31 11:47:19 -05:00
Amir Pourmand 4d2812913c
Delete assets/resized directory from GIT (#440) 2021-12-22 03:27:28 -05:00
Maruan a0cfbbd1d3
Add TOC to distill blog posts (#470) 2021-11-21 17:18:23 -05:00
Maruan Al-Shedivat d500e084f5 Remove theming dependence on jquery 2021-10-30 19:53:39 -04:00
Maruan Al-Shedivat 032ff4845c Add best practices info to README 2021-10-30 17:05:36 -04:00
Maruan 174024e76c
Add support for responsive images (#439) 2021-10-30 16:26:55 -04:00
Maruan 9c8bd1a945
Correctly update medium-zoom background when switching theme (#332) 2021-07-05 14:18:41 -04:00
Ivan Puhachov a5508c734b
Fix distill darkmode (#299)
* updating distill post to show fixes done

* fix for colors in numerated lists and tables

* fixing blockquotes

* fixing colors in math, footnotes, references, hover boxes, code highlights

* Add example distill overrides

* reverted back changes in distill template.v2.js

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>
2021-07-04 20:27:39 -04:00
Maruan 1318c805fe
Adds support for image zoom (#296)
* Add image zoom

* Minor improvements
2021-05-30 19:38:24 -04:00
JD 4849b5a8dc
Issue 183 (#192)
* Issue 183

* CSS fixes for : 
  * Citations
  * Footer
  * Project Cards
  * Code background

* Fix dark mode edge cases (mainly with distill)

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>
2021-03-29 11:49:42 -04:00
Maruan f2156d1c7b
Switch favicon to emoji (#217) 2021-03-11 16:30:31 -05:00
Roger Iyengar 9229f7d881
Add favicon (#205)
* Add favicon

* Add files via upload
2021-02-22 08:35:01 -05:00
Maruan 4f9cdb131e
Minor fixes of the dark mode + automatic equation numbering (#160)
* Add an option for showing selected publications

* Improve publication styles

* Update README.md

* Clearfix

* Fix minor issues with dark mode

* Add automatic equation numbering (#158)

* Fix a typo
2020-12-27 00:24:25 -05:00
Zirui Zhuang b73662bf9d
add wide screen configuration (#157)
add wide screen configuration by adding a `max_width` config in `_config.yml`
2020-12-26 21:56:42 -05:00
JD e30a46bbfa
Issue 105 : Dark Mode + Theming #118 (#119)
* Dark Mode + Theming

* Themes scss file created with default color scheme and dark color scheme.

* Logic for managing dark mode toggle added.

* Modified existing scss/html to work with theme toggling.

* Fixed hover issues

* Added enable_darkmode to configs.  

* Added the requested option of disabling/enabling dark mode via config files.
2020-10-04 20:32:47 -04:00
Maruan Al-Shedivat dacac74d31 Fix issues with loading scripts (#117) 2020-09-26 12:26:28 -04:00
Maruan Al-Shedivat adfbe18e64 Switch to MathJax 3.x. Fixes #115. 2020-09-22 22:26:13 -04:00
Maruan Al-Shedivat 738791a3f9 Update README 2020-06-21 14:07:30 -04:00
Maruan Al-Shedivat 938b22e132 Minor fixes 2020-06-14 23:09:03 -04:00
Maruan Al-Shedivat 097a32a680 Upgrade project grid 2020-05-03 11:53:11 -04:00