Commit Graph

46 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 e3997d0f6c
Added citation examples, simplified citation code (#2056)
Since the citation file and other stuff is already defined in
`_config.yml`, removed them when calling `{% bibliography %}`. Also
realized that `jekyll-scholar` helps in displaying only the papers cited
in page, changed to use that.

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-08 14:35:42 -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 199718610e
Implemented support for tikzjax (#1990)
Implemented #1976.

Signed-off-by: George Araújo <george.gcac@gmail.com>
2023-12-12 22:56:14 -03:00
George 3d0b362d19
Support for bibliography in blog posts and projects (#1553)
Implemented #1193

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-07-12 14:07:33 -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
George ad9135fc7b
Added support for featured blog posts (#1498)
Implementing #1440. Still not sure if the year should be shown there or
not. Also, I limited to be displayed at least 2 at most 3 elements on
the row of featured blog posts, since when having only 1 featured post
the card would occupy the whole row (and it looks weird). What do you
think @alshedivat? Also, idk how to force the cards to have the same
height. I think it would look nicer, but my lack of web dev skills made
a difference here.

Some current screenshots:


![image](https://github.com/alshedivat/al-folio/assets/31376482/11b280dd-70b6-4bc4-84b6-987aa6412d55)


![image](https://github.com/alshedivat/al-folio/assets/31376482/d94aac41-246d-4b4e-afd0-161aab5a9b88)

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
Co-authored-by: Maruan <alshedivat@users.noreply.github.com>
2023-06-29 11:11:07 -03: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 6335474075
Custom blockquotes (#1419)
Added some custom blockquotes `tip`, `warning`, and `danger` as seen in
[jekyll-gitbook](https://sighingnow.github.io/jekyll-gitbook/jekyll/2022-06-30-tips_warnings_dangers.html),
and a blog post showcasing them.

Light look:

![image](https://github.com/alshedivat/al-folio/assets/31376482/8441bd56-a1a6-41c0-951f-2a2efa20c16c)

Dark look:

![image](https://github.com/alshedivat/al-folio/assets/31376482/a916218a-176e-40d0-ad87-6acc9eedf8e3)

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-05-15 12:30:53 -03:00
danickblouin fedf6d1965
Fixed typo in blog post (#1411) 2023-05-12 17:50:57 -03:00
George d98eafb424
Added thumbnail support for blog posts (#1371)
Implemented #425 based on given code.


![image](https://user-images.githubusercontent.com/31376482/234644266-07c1aebd-6a83-482f-8ac2-846fe5c0653d.png)

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-05-01 13:27:33 -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
George 67e5fcd1e3
Added support for table of contents in blog posts (#1278)
![image](https://user-images.githubusercontent.com/31376482/226411600-e5619108-3842-4c44-b582-61fcc94a1b0c.png)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2023-04-24 22:44:24 -03:00
gaspardbb 8aaf0df552
Implemented details tag for distill blog (#1321) 2023-04-08 09:43:36 -04: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
George 8ccc284008
Added related posts section (#1168) 2023-02-19 21:26:48 -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
Maruan 30e51bc900
Update 2018-12-22-distill.md 2022-08-27 22:37:32 -04:00
Jiashu Xu c37abc44bc
enable blog to redirect to asset (#550) 2022-02-19 22:41:13 -05:00
Maruan b715177d13
Correctly slugify distill TOC (#519)
* Correctly slugify distill TOC

* Add special character to demo distill post's TOC
2022-01-03 08:50:53 -05:00
Julian Lehrer 7f532552e4
Update 2015-10-20-math.md (#514)
Typo
2021-12-23 07:36:48 -05:00
Rohan Deb Sarkar 0e3cff9137
Use WebP responsive images (#498)
This PR replaces the jekyll-responsive-images with jekyll-imagemagick for responsive WebP images.

WebP images are much smaller compared to PNG and JPEG, faster to load and most of the modern browsers recommend it.

More information about WebP images: https://developers.google.com/speed/webp
2021-12-22 03:13:52 -05:00
Maruan a0cfbbd1d3
Add TOC to distill blog posts (#470) 2021-11-21 17:18:23 -05:00
Dinesh Natesan 1c52125635
Added Jekyll-Archives (for tags, categories) and Jekyll site-map (#346)
* Add webpage to academic pages list

* adding panelbear analytics

* added categories for projects and horizontal mode display for projects

* rewrote the code to ensure it works properly with current project definitions

* Style adjustments

* added blockquote format, jekyll-archives, tag, year archive pages, and reading time.

* added archive meta to blog posts list and individual posts.

* added sitemap

* stylistic modifications to jekyll-archive addition

* Minor fixes

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>
2021-10-30 16:58:42 -04:00
Maruan 174024e76c
Add support for responsive images (#439) 2021-10-30 16:26:55 -04:00
Maruan cd4b382799
Add jekyll-diagrams (#333)
* Add mermaid support via jekyll-diagrams

* Add mermaid install to deploy workflow
2021-10-03 21:26:29 -04:00
Amir Pourmand 6b0bf87846
add jekyll target blank plugin (#404)
* add jekyll target blank

* Remove manual target blank from everywhere

* Update README.md

* Set ruby version to 3.0.2 in the deploy script

Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>
2021-10-03 21:16:05 -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 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
JD a734d4a4bc
Github MetaData (#121)
* Feature Request : https://github.com/alshedivat/al-folio/issues/85

* Added github-metadata dependency :  https://github.com/jekyll/github-metadata

 * Created sample blog quickly going over Github MetaData.

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>
2020-10-03 18:21:56 -04:00
JD f92f466117
Added Twitter Card Support (#120)
* Feature Request : https://github.com/alshedivat/al-folio/issues/85

* Created sample blog post for tweet card examples.

* Added twitter plugin dependency : https://github.com/rob-murray/jekyll-twitter-plugin

* Added .tweet-cache/ to .gitignore.
2020-10-03 18:16:34 -04:00
Maruan Al-Shedivat adfbe18e64 Switch to MathJax 3.x. Fixes #115. 2020-09-22 22:26:13 -04:00
Maruan Al-Shedivat 2b45cde8a1 Adjust example posts/projects 2020-05-17 05:52:42 -04:00
Maruan Al-Shedivat 6fda5af2b0 Add distill post styles and template 2020-05-02 19:14:27 -04:00
Maruan Al-Shedivat 60ed29eb5b Fix code highlighting 2020-05-02 17:08:36 -04:00
Maruan Al-Shedivat 32cdcbd78f Delete poetry 2017-02-26 14:57:55 -05:00
Maruan Al-Shedivat 4bbccc3d8c Add DISQUS and fix pagination 2017-01-31 12:17:15 -05:00
Maruan Al-Shedivat 4b73664d56 Add the news collection with emoji support. Restructure assets. 2015-10-22 18:09:12 -04:00
Maruan Al-Shedivat e3dfbf67c7 Add math support through kramdown and katex. Light style improvements. 2015-10-20 12:05:37 -04:00
Maruan Al-Shedivat 1e8dff52bc Basic modifications of the *folio theme 2015-10-19 17:38:04 -04:00