Commit Graph

136 Commits

Author SHA1 Message Date
George 8889e36b43
Fixed weird bib btn behavior (#1776)
Fixes #1774 by reverting mdb usage to cdn. Weirdly enough, when using
from local file it triggers a ripple effect when using `btn` class. It
states in the [official
docs](https://mdbootstrap.com/docs/standard/methods/ripple/) that:

> By default, ripple is added to every button (via .btn class)

Using [this
solution](https://mdbootstrap.com/support/standard/disable-waves-ripple-effect/)
only make this flicking happens faster. Also this does seem to be [an
issue](https://mdbootstrap.com/support/standard/how-to-disable-ripple-effect/)
still in the [latest
version](https://github.com/mdbootstrap/mdb-ui-kit/issues/1505) (even
though we are using an older one).

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-09-28 17:43:35 -03: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
Johannes Hörner cba3ad27fb
add WeChat to socials (#1730)
When the WeChat icon in socials is clicked, a picture of your WeChat QR
code is shown in the center of the screen. The actual picture of your QR
code has to be uploaded.
2023-09-17 15:49:27 -04:00
David Krassnig 2d4ad85a28
Zotero ID Bugfix (#1580)
#1569 Fixed mismatch between zotero-id in _config.yml and the zotero-id
called upon in the socials html file introduced by #1572 (sorry about
that; slipped in when I had to reset my zotero-branch)
2023-07-18 11:26:30 -03:00
David Krassnig 8785864afd
Added Zotero socials (#1572)
Solving #1569 
I added Zotero socials because I needed them; opened a issue/pull
request in case I'm not the only one.

Second pull request (previous: #1570 ) because unwanted commits
retroactively crept in somehow. It was easier to force reset (which
closed the pull request automatically apparently).
2023-07-17 16:21:45 -03:00
Henry.W bdf7bbcb3d
Change analytics script from Panelbear to Cronitor (#1561)
Panelbear is now Cronitor RUM, the old script does not work.
2023-07-15 15:48:50 -03:00
George bbbb1394f2
Made some small changes to code (#1558)
Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-07-13 18:32:28 -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
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 1a612c615f
Removed need for years in bibliography page (#1500)
Implementing #1390.

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-06-25 17:09:23 -03:00
Furkan Akkurt 4d955518bb
add functionality to display categories, like tags, in blog home page (#1482)
Added the functionality to display categories on the front page of the
blog, just like tags.
2023-06-19 20:11:41 -03:00
Furkan Akkurt 51ece4421e
update fontawesome version (#1485) 2023-06-12 09:42:25 -04: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
Furkan Akkurt c5ec8d8f84
Fix typo ; Update _config.yml (#1418)
Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2023-05-12 17:48:40 -03:00
CDN (Diego) Damasceno 1c0560fc03
Including Lattes CV in Socials (#1404)
Resubmitting the PR #1383
2023-05-08 13:56:58 -03:00
George 0b109a23ed
Fixed news limit (#1359)
Fixes #1346.

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
Co-authored-by: Yifan Jiang <55911052+YifanJiang233@users.noreply.github.com>
Co-authored-by: Raffaele Mancuso <54762742+raffaem@users.noreply.github.com>
Co-authored-by: Yue Gao <11145354+Lodour@users.noreply.github.com>
2023-04-27 12:26:48 -03:00
Raffaele Mancuso 470365139e
Scopus integration (#1364)
Fixes #1362
2023-04-25 18:52:27 -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
George 60209cfd93
Implemented latest posts on about page (#1307)
Adresses #340

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2023-04-08 10:19:08 -03:00
Simmo Saan 5ff54a74ef
Fix assets sitemap exclusion (#1315) 2023-04-05 07:27:32 -04:00
Chen Chen 07f5b4d679
Fixed some typos in _config.yml and README.md (#1306) 2023-03-30 20:28:40 -03:00
Douglas ad504b0709
Fixed one-word typo in _config.yml (Non-Urgent) (#1288) 2023-03-27 11:58:32 -04:00
George 56480a713a
Added github 🏆 section in repositories (#1229)
Creates a new section with user trophies.
2023-03-18 18:01:30 -04:00
Allie 3947dce657
feat: add wikipedia social (#1097)
I imagine more people have wikipedia accounts than wikidata entries
about them 😉
2023-02-25 13:16:04 -05:00
George 8ccc284008
Added related posts section (#1168) 2023-02-19 21:26:48 -05:00
Mathias Micheel d8f1b16eff
Add OSF to social (#1185) 2023-02-16 21:35:20 -05:00
ZhengLin Li d0b0d9e014
fix: small typo (#1143)
fix a small typo
2023-02-03 21:33:47 +05:30
Rohan Deb Sarkar a9685570e5
Adds Dimensions badge (#1086)
This adds a dimension badge as requested in #987.

This separates the the links from the badges, in case more badges need to be added in the future.
2023-01-08 10:47:25 -05:00
Rohan Deb Sarkar f17eb7fd5d
Fix SRI hash (#1087)
Sorry, forgot to change the SRI.
2023-01-08 00:16:44 +05:30
Rohan Deb Sarkar 3a4de50705
Fix medium zoom on small devices (#1084)
fixes #1006
2023-01-07 21:37:54 +05:30
Philip Wong 69e013b9a0
Add youtube as a social option (#1007) 2022-12-31 19:31:06 -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
Andrea Gasparini f1eb1602a3
Adds Telegram to social integrations (#992) 2022-11-19 10:19:56 -05:00
bruno vianna 357f6e914f
Add backlink to verify mastodon (#978) 2022-11-15 08:06:51 -05:00
bruno vianna 576e7b0541
Added Mastodon to social (#974) 2022-11-10 19:56:27 -05:00
Dominik Straub c87d1b446b
Add altmetric badges to paper (#950)
[Altmetric](https://www.altmetric.com/) tracks social media and citation
activity for a paper. I added an option to add the altmeric id to a
paper's bib entry, which results in the altmeric badge for the paper
being displayed next to the other buttons. As an example, I added the
altmetric id for the Einstein, Podolsky & Rosen paper.
2022-10-25 08:27:45 -04:00
Muhamamd Naufal Shidqi 6bd11359a1
Add WhatsApp to social integration (#945) 2022-10-25 08:14:25 -04:00
Maruan Al-Shedivat 232ff286b2 Enable progress bar by default 2022-10-24 09:07:39 -04:00
Carlos Morales 08a839c5f5
Add a progress bar to show the scroll position (#934)
This feature adds a horizontal bar under the top menu which tracks the
vertical scroll position. Such a feature can be useful to represent how
much is left to read on the current page more aesthetically.

As this is an optional feature, `enable_progressbar` must be set to
`true` in `_config.yml` to activate the functionality.

I am not the original author of this code. I just made it compatible
with the current version of the template at the time of this commit. The
original code was most likely authored by Pankaj Parashar in this
[post](https://css-tricks.com/reading-position-indicator/) made a few
years before the first inclusion in an `al-folio` site. Then, the code
was adapted for compatibility with the template at Anthony Plantanios'
site. Finally, I did
the last updates to have the code fit the new conventions used in the
project.

This was discussed in #557

Co-authored-by: rohandebsarkar <rohandebsarkar@gmail.com>
2022-10-24 15:08:26 +05:30
Johannes Hörner bfc47258d7
add multiple last names in bibliography (#905)
Multiple last names can be defined to be highlighted in the bibliography
(#904)
2022-09-24 08:12:27 +05:30
Amir Hossein Kargaran 93ab84322a
add more social media (#878)
#877 is an explanation of the issue. The new icons include Kaggle,
LastFM, Spotify, Pinterest, Unsplash, Instagram, and Facebook, and you
can change their order.
2022-09-14 08:13:46 +05:30
Dominik Straub 7410772458
Add Semantic Scholar social integration (#879) 2022-09-13 10:25:20 -04:00
gzwongkk 58391d1dbe
Fix commas in author list (#770) 2022-08-06 12:55:39 -04:00
Rohan Deb Sarkar 2fadee6afb
Adds support for GA4 Google Analytics (#727)
* Update `analytics.html`

* Update `config.yml`

* Update

* Update
2022-07-26 08:59:57 +05:30
Rohan Deb Sarkar f618757b63
Adds support for repositories (#760)
* Add support for github repo cards

* add support for dark theme

* Add support for custom theme

* repositories

* fix

* make it simpler

* spcaing

* responsive fix

* adds support for usernames

* make it modular

* fix

* show icons

* cache_seconds

* fix

* Revert "cache_seconds"

This reverts commit a9dd4d5d43d212676e1c1dba8ec8086c7fdb7cd7.

* add last line

* fix

* github only

* fix

* Add instructions

* Add `README.md` instructions

* Add `nav_order`
2022-07-24 22:45:39 +05:30
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
Rohan Deb Sarkar edd9fb7079
Bootstrap js SRI fix (#757) 2022-07-10 22:13:25 +05:30
Rohan Deb Sarkar 7afa104f50
Include bootstrap bundle (#756) 2022-07-10 21:51:39 +05:30
Rohan Deb Sarkar 07330b9bf9
Adds support `max_author_limit` (#732)
* Adds support max author limit

* typo

* fix

* display all authors by default

* Added an example

* Added 'and' before the last author

* Improve hiding/showing more authors

* Add title text

Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>
Co-authored-by: Maruan <alshedivat@users.noreply.github.com>
2022-07-10 10:34:16 +05:30
Rohan Deb Sarkar 683fe65aab
Fix Previous PR (#745) (#746) 2022-07-08 13:18:37 +05:30