Skip to content

Commit

Permalink
Pull changes from main repo (#1)
Browse files Browse the repository at this point in the history
* fix distill pubiblication date (#194)

* Improve support for deploying in out-of-tree locations (#81)

* Improve support for deploying in out-of-tree locations

* Document how to deploy in an out-of-tree location

* Add vendor to excludes in _config.yml

* Update README.md

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>

* Add favicon (#205)

* Add favicon

* Add files via upload

* Fix titles and headings (#204)

* Update head.html

* Update header.html

* Update head.html

* Update header.html

* Update about.html

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

* Update README.md

* Update README.md

* Update README.md (#216)

* Switch favicon to emoji (#217)

* Create stale.yml

* Update stale.yml

* Add gitlab to social (#229)

* Add gitlab to social

* Add gitlab to social integration

* Update Gemfile (#230)

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

* Change gitcdn link (#234)

gitcdn.link was quite slow.  Use alternate link at gitcdn.xyz.

* Categories for projects and an optional horizontal project card style (#224)

* 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

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>

* Added the Programming Group at HSG to labs (#254)

* Added proper instructions in personal webpages (#261)

* Added proper instructions in personal webpages

Changed "For personal and organization webpages" part, tried to be as concise as possible, in accordance with: alshedivat/al-folio#209 (comment)

* Update README.md

* Update README.md

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

* Fix for images (#271)

When you fork this directory in your local fork, if you remove images from assets, the README file will be broken.
This should fix the README problem, ensuring that images are always up-to-date from the assets folder of the original al-folio folder.

* add dblp to social links (#270)

* Added BibTeX hidden block (#293)

* Added BibTeX hidden block

* Minor adjustments

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>

* Fix project page colors (#295)

* Adds support for image zoom (#296)

* Add image zoom

* Minor improvements

* Fixes #304. Fix bad horizontal template include (#305)

* Fix the blog page title (#331)

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

* Initial Atom (RSS-like) feed support (#284)

* initial Atom (RSS-like) feed support

* Update _config.yml

* Correctly update medium-zoom background when switching theme (#332)

* Minor stylistic fixes.

* _config.yml: add dblp_url (#336)

* Use master for source code for personal/organization webpages and update the document (#344)

Co-authored-by: Neeraj Gangwar <neeraj.gangwar@myntra.com>

* Correct the documentation for personal/organization and manual deployments (#351)

* Adds support for sitemap and robots.txt (#337)

* Adds support for sitemap

* Adds support for robots.txt

* Update _config.yml

* Update bug_report.md

* Fix latex rendering issue in the bibliography entries (#358)

* adds submenu in navigation bar. (fixes issue #159) (#334)

* adds submenu in navigation bar. (fixes issue #159)

* Updated scss files to change hover animations on dropdown submenus, on both dark mode and light mode

* Revert "Change gitcdn link (#234)" (#364)

This reverts commit 0e4df83.

* minor updates to CONTRIBUTING and LICENSE, add website (#365)

* Revert jekyll-scholar bibtex filters (#381)

* Revert "Fix latex rendering issue in the bibliography entries (#358)"

This reverts commit e328dc6.

* Update mathjax version to 3.2.0

* Add bibtex_filters explicitly to _config.yml

* add website (#383)

* Add 'main' branch for newer GitHub repositories (#389)

* add stackoverflow id (#400)

* Add 404.html (#412)

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

* Add jekyll-diagrams (#333)

* Add mermaid support via jekyll-diagrams

* Add mermaid install to deploy workflow

* Update README.md

* Update README.md

* Update README.md

* Add RSS icon to social.html (#418)

* Add rss icon

* Add a blank line to make sure rss icon is always at the last

* Update README.md

* adds color transition support to li elements (#434)

* Adding month to publication section (#433)

* Update deploy.yml (#436)

‘action’ is deprecated, change to ‘ruby’
https://github.com/ruby/setup-ruby

* Optimize Website Load Time (#435)

* Place js files after body tag

* Add Analytics to the end of script

* Minor nits and fixes

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>

* Add support for responsive images (#439)

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

* Optimize dark theme (#431)

* Optimize dark theme

* Fix-up

* Minor fixes

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>

* Add best practices info to README

* Remove theming dependence on jquery

* Update README.md

* Update README.md

* remove extra space in profile image path (#451)

* Revert "remove extra space in profile image path (#451)" (#468)

This reverts commit 0a8bfb4.

* Fix broken read_time in blog/index.html (#469)

* Lighthouse enhancements (#445)

* Add TOC to distill blog posts (#470)

* Fix a small bug in _includes/responsive_img.html

Correctly fixes the issue mentioned in #471.

* Add a website to list of academics websites (#473)

* Switch to uing <picture> for responsive images

* 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

* Delete assets/resized directory from GIT (#440)

* Update 2015-10-20-math.md (#514)

Typo

* Better SEO, OpenGraph, schema.org and clean generated code (#481)

* Fix distill dark mode again (#517)

* Correctly slugify distill TOC (#519)

* Correctly slugify distill TOC

* Add special character to demo distill post's TOC

* Minor fixes (#522)

* Fix distill collapsible Navbar (#524)

* Update library versions (bootstap, jquery, fontawesome, academicicons, masonry, mdbootstrap) (#521)

* added my website to readme examples (#530)

* Add website to README.md (#533)

* fixed title for og preview, otherwise its "blank" (#531)

* fixed title for og preview, otherwise its "blank"

* Update _includes/metadata.html

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

* Add my personal website to Readme examples (#535)

* Add my own site to the readme (#545)

* Update README.md and LICENSE year (#544)

* Change -webkit-transition to transition-property (#540)

As per https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-webkit-transition, webkit-transition feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes.

* Layout Spacing problem when footer_fixed: false (#554)

* fix space

* Minor adjustments

Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>

* Add Yang's webpage (#559)

* Fix a small bug in news (#560)

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

* enable blog to redirect to asset (#550)

* Add custom favicon if needed (#386)

* Fix #565

* mention K-Wu personal website in readme (#575)

* Added amalawilson.com to the list of user samples (#595)

* Added a star (#617)

* Empty entrytype if not article or inproceedings (#578)

For bibtex entries that are neither articles nor proceedings, the value `entrytype` carries over from the previous entry in the loop, leading to incorrect displays. This PR fixes that.

* Fix table colors in dark mode (#624)

* Call bash on bin/deploy in github actions (#625)

* Add support for external blog posts (#647)

* Add support for external blog posts

* Cosmetic fixes

* Added documentation on publication buttons (#651)

* Added documentation on publication buttons

* Added missing </details>

* Added bibtex filter to hide custom bibtex keywords from bib file output (#652)

* Add a new star (#667)

Add a start to list of academic personal webpages

* Delete `travis.yml` (#665)

* Add `jekyll-minifier` (#668)

* Remove obsolete plugins

* Add `jekyll-minifier`

* Add `JEKYLL_ENV=production`

* Add support for `nav_order` and Fix hardcoded navbar titles (#664)

* Minor fixes for previous PR #668 (#672)

* Fix theme (#697)

* fix theme

* fix theme

Co-authored-by: rohandebsarkar <rohandebsarkar@gmail.com>

* Add support for CV (#628)

* Minor changes and fixes (#726)

* Support for cicular image (#728)

* Adds vertical scrollbar to news (#729)

* Update Lighthouse PageSpeed Insights

* Adds support for bypassing GitHub Pages Jekyll processing (#738)

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

* Adds support for tag-list (#734)

* Adds support for tag-list

* Update _sass/_base.scss

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

* Made tags optional

* Responsive deign for tag-list

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

* Fix typos in _layouts/about.html (#739)

* add star (#744)

* Change imagemagick optional to depend on one variable (#745)

* Fix Previous PR (#745) (#746)

* Fix responsive image (#748)

* fix

* base url

* Revert "base url"

This reverts commit 2e81d32ec22f8a9ec53b7ad216679d4cfa88456c.

* fix

* Better bundler caching for GitHub Actions (#750)

* Better caching for GitHub Actions

* Update `actions/checkout` to `v3`

* docs: add alshedivat as a contributor for design, code (#751)

* docs: update README.md [skip ci]

* docs: create .all-contributorsrc [skip ci]

* Update .all-contributorsrc

* Update README.md

* Update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>

* docs: add rohandebsarkar as a contributor for code (#752)

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* Add Dockerfile for easy installation on local machine  (#532)

* docs: add pourmand1376 as a contributor for code (#753)

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* Update README.md

* Update README.md

* Update README.md

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

* Fix scripts (#755)

* Include bootstrap bundle (#756)

* Bootstrap js SRI fix (#757)

* fix more authors bug (#758)

* fix more authors bug

* fix

* add preview

Co-authored-by: Rohan Deb Sarkar <rohandebsarkar@gmail.com>

* 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

* Skip Docker Image on Forked Images (#767)

* Add Tags for Docker Images (#754)

* 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`

* Adds support for GA4 Google Analytics (#727)

* Update `analytics.html`

* Update `config.yml`

* Update

* Update

* Added my webpage to the list (#788)

Added my webpage to the list.

* Fix title spaces and a few links (#789)

* fix title

* fix a few links

* add line

* Add website (#802)

* Fix commas in author list (#770)

* Support different colors for different kinds of publications in publication list (#797)

* Add personal page (#812)

* Update README.md

* add page (#817)

* fix #814 (#818)

* fixe typos (#823)

* Fix grammar (#848)

* Update 2018-12-22-distill.md

* Update README.md

* Display booktitle for publications of type incollection (#871)

* Adding Table of Contents to Readme file (#876)

* Add dominikstrb's personal page (#880)

Added a link to my personal website to the README

* Add Semantic Scholar social integration (#879)

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

* add multiple last names in bibliography (#905)

Multiple last names can be defined to be highlighted in the bibliography
(#904)

* fix bug where proceedings do not render (#913)

* Improve info about theme colors (#911)

* Add docker badges (#888)

* Update README.md

* Set the margin according to the alignment selected (#928)

As reported in #927, the style of the profile class only considers a
left-margin regardless of the alignment option selected.
Thus, when the user changes the default alignment there is no
corresponding margin to match their selection.
My commit addresses this by enabling the corresponding margin for the
left or right alignment options

* Fix default highlighting (#931)

The default setting `media="none"` disables code highlighting. This
works OK when we have `enable_darkmode: true` in `config.yml` as the
code handling the dark/light theme switching takes care of setting
`media=""` for the preferred theme.
However, setting `enable_darkmode: false` prevents importing `theme.js`
which in turn prevents said change thus the default highlighting stays
disabled.
Setting `media=""` by default enables the default highlighting when
`enable_darkmode` is false.

Fixes #929

* Fixed missing year in title when in blog archive (#921)

Fixed missing year in title when visualizing blog archive filtered by
year

Signed-off-by: George Araujo <george.gcac@gmail.com>

* Slugify tag and category links (#947)

Fixes links to jekyll-archive pages when tag/category contains spaces.

* Update README.md (#953)

added the link to the personal academic site I've started working on
using al-folio in the table

* Fixed broken link to distill-style blog post (#957)

Updated README.md with the correct link to the distill-style blog post
example.

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

* Enable progress bar by default

* Add WhatsApp to social integration (#945)

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

* Small stylistic fix

* Update README.md

* Add Docker-compose file for windows compatibility  (#875)

This file makes it easier for windows users to use docker. (Closes #829)

Previous to this commit, those who used Windows had to install Ubuntu
inside windows (via WSL) and run our commands. Now they can run it by
just typing `docker-compose up`.

> The main problem was that `./bin/dockerhub_run.sh` command was written
with `Bash` in mind and you had to change it a little bit to make it
compatible with windows `Powershell`. We shouldn't have two scripts.
This is why adding a `docker-compose.yml` file is necessary.

* Added Mastodon to social (#974)

* Add Junshen's personal page (#979)

Added a link to my personal website to the README.

* Add support for Disqus comments on distill posts (#981)

Fixes #980.

* Add backlink to verify mastodon (#978)

* New update to GH Actions: Deprecating `save-state` and `set-output` commands (#986)

Hi there

First of all, thanks for this amazing complete theme

Due to this warning which has been recently showed by Github,
`::set-output` will be deprecated and must be replaced with a new method


![image](https://user-images.githubusercontent.com/86428901/201933020-4a53d735-08b4-41d3-b38c-e16942fdd64e.png)

topic: [GitHub Actions: Deprecating save-state and set-output
commands](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/)

Thanks

* Add Andreas Kuster's published webpage (#991)

Thanks a lot for this very neat and professional template. This PR adds
my academic page to the Academics list

* Adds Telegram to social integrations (#992)

* fix deploy script for `--user` (#994)

Fixes #820.

Explanation:
alshedivat/al-folio#969 (comment)

* add ellisbrown.github.io reference (#1008)

* Update README.md (#1014)

Adding my webpage.

* ADD More Clear Explanations in README (#1012)

* Add Container Name (#1021)

* Adapt repo code to handle branches too (#1003)

* Add support for giscus comments (#1028)

adds support for comments on posts using https://giscus.app/

* Add interactive plotly example to distill post (#1027)

* Hide the other opened box (Bib, Abs), if any (#1002)

* Add Pre-commit Hook (#801)

* Improve bib layout for thesis (#920)

* add star to readme (#1064)

* Add youtube as a social option (#1007)

* Fix medium zoom on small devices (#1084)

fixes #1006

* Fix SRI hash (#1087)

Sorry, forgot to change the SRI.

* Fix Docker Problem (#1074)

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

* Add news page (#1085)

fixes #993 

Also added links to news and publications from respective section
headers on the home page. Changed the colors of the header links to make
it consistent with the previous look.

* Added my star to README (#1093)

Added my webpage link (⭐) to the table of `al-folio` users.

* Update favicon emoji length limit (#1099)

Since, a image file will always contain a dot and a three letter
extension at least (ex: `.jpg`, `.png`, `.jpeg`, etc). Therefore we can
safely set the limit up to 4.

fixes #1096

* fix distill hyperlink color (#1113)

Make distill hyperlink color logic consistent with rest of the theme.

fixes #1105

* fix: small typo (#1143)

fix a small typo

* Use figure for bib entry preview (#1152)

This makes sure that the image is resized per media type by imagemagick.
The result is still a bit too big (1400 width on desktop), but better
than nothing.

Signed-off-by: Zuhair AlSader <zalsader@hotmail.com>

* Add CogSci workshop to list of workshops in README (#1170)

created a new row in the 'Workshops' section to add a workshop at Cogsci
2022 where we used this awesome template!
Thanks!

* Add star to academic portfolios (#1178)

Adding my portfolio website to the list.

* Added george-gca academic site (#1183)

Added new academic site

Signed-off-by: George Araújo <george.gcac@gmail.com>

Signed-off-by: George Araújo <george.gcac@gmail.com>

* Update README.md to encourage people to use `Use this template`  (#1167)

This PR changes README.md to encourage people to use `Use this template`
rather than `fork`.

### Differences between `Use this template` and fork
> - A new fork includes the entire commit history of the parent
repository, while a repository created from a template starts with a
single commit.
> - Commits to a fork don't appear in your contributions graph, while
commits to a repository created from a template do appear in your
contribution graph.
> - A fork can be a temporary way to contribute code to an existing
project, while creating a repository from a template starts a new
project quickly.
[Ref](https://docs.github.com/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)

### Cons
Possible con would be that it is harder to pull the new changes from
this repo to the users' repos. It does not seem like impossible to do so
but it will require additonal actions on the users end.
- https://github.com/orgs/community/discussions/23528
-
https://stackoverflow.com/questions/56577184/github-pull-changes-from-a-template-repository

---------

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

* Add OSF to social (#1185)

* Update README.md

* Update 404.html wording for accessibility (#1194)

* Added related posts section (#1168)

* Add star to academic portfolios (#1202)

* feat: add wikipedia social (#1097)

I imagine more people have wikipedia accounts than wikidata entries
about them 😉

* OSF social link (#1217)

Added missing "/" in the OSF link.

* Added information about using github action (#1226)

By using this Github action it is possible to keep the derived
repository up-to-date with its template.

I am currently using this to keep my website up to date with the
template repository. An example of the PR this action creates can be
seen [here](george-gca/george-gca.github.io#13).

Signed-off-by: George Araújo <george.gcac@gmail.com>

* Added github 🏆 section in repositories (#1229)

Creates a new section with user trophies.

* Replace bin/deploy with GitHub Action (#1234)

This PR updates `deploy.yml` to use the GitHub Action [Deploy to GitHub Pages](https://github.com/marketplace/actions/deploy-to-github-pages).

* Avoiding specific warning on Google Chrome (#1268)

Avoids a warning that appears in the console when opening the site on Google Chrome

* Added related_posts false to the announcements front matter (#1266)

Added `related_posts: false` to the announcements front matter to avoid
errors like #1203. Also included explanation in README FAQ section.

* Update README.md: added new profile (#1263)

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

* Added more options to altmetric badge, changed to arxiv code first (#1269)

* update readme + remove sponsorship info (#1274)

majority of the recent improvements to al-folio have been truly driven
by a growing community of fans and contributors. this template has
gradually transformed from a low-key weekend project into a "public
good" of some sort used by thousands of people, university labs and
classes, and academic conference and workshops. as such, having personal
sponsorship info from the repository is no longer relevant.

as the community grows a bit further, we may have to think about
establishing some kind of governance around decisions of how al-folio is
supposed to evolve, which features to prioritize, and how to reward
contributors for their hard work. for now, these decisions will be made
by the project maintainers (active contributors are welcome to join the
team). and I'm all ears for proposals and suggestions!

* Fixed one-word typo in _config.yml (Non-Urgent) (#1288)

* Update README - Add new profile (#1285)

* Moved information about creating your repo to front (#1298)

Moved information about using this template to the beginning of the
installation part, added a few more documentation links in it, fixed
some typos.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>

* Fixed some typos in _config.yml and README.md (#1306)

* Fix assets sitemap exclusion (#1315)

* Implemented latest posts on about page (#1307)

Adresses #340

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>

* Implemented details tag for distill blog  (#1321)

* Fix publication button spacing (#1322)

* docs: add george-gca as a contributor for code (#1323)

* Update README.md

* Add star to academic portfolios (#1333)

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

* Fix typo (#1356)

* added one more researcher (#1353)

Added my own website to the "stars" section

* 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

* Scopus integration (#1364)

Fixes #1362

* Removed blog header-bar when title and description are empty (#1370)

When blog title and description are empty, go from this


![image](https://user-images.githubusercontent.com/31376482/234630799-f4c2cd46-7ad0-4d45-a0f6-2badcf0da558.png)

to this


![image](https://user-images.githubusercontent.com/31376482/234630683-f11c8a88-438a-4db3-974e-ba9184d5516f.png)

Signed-off-by: George Araujo <george.gcac@gmail.com>

* Increased allowed max size of news and latest posts in about (#1369)

Fixed size of news and latest posts in about page when visualizing in
mobile.

Signed-off-by: George Araujo <george.gcac@gmail.com>

* Fixed hard-coded bib files in templates (#1373)

The bibliography filename `papers.bib` is hard coded in templates, and
the equivalent setting in `_config.yml` is not used anywhere. So
changing the bib filename in `_config.yml` won't have any effects.

This PR replaces hard-coded filenames with the value from `_config.yml`.

* Fixed bug when using latex in title and description (#1361)

Fixes #1252.

Signed-off-by: George Araujo <george.gcac@gmail.com>

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

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

* Toc sidebar color fix (#1375)

Fixed color and increased font size of toc sidebar

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>

* Reduced a little font-size in toc sidebar (#1376)

Signed-off-by: George Araujo <george.gcac@gmail.com>

* added star to academic examples (#1377)

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
Signed-off-by: Zuhair AlSader <zalsader@hotmail.com>
Signed-off-by: George Araújo <george.gcac@gmail.com>
Co-authored-by: Thiago <tdsimao@users.noreply.github.com>
Co-authored-by: George Oikonomou <geo-gh@spd.gr>
Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>
Co-authored-by: Roger Iyengar <ri@rogeriyengar.com>
Co-authored-by: Maruan <alshedivat@users.noreply.github.com>
Co-authored-by: Yiru Chen <yiru.chen@columbia.edu>
Co-authored-by: Sean Quinn <seanpquinn@users.noreply.github.com>
Co-authored-by: JD <Jdoublewoo@gmail.com>
Co-authored-by: jkmacc-LANL <jkmacc@lanl.gov>
Co-authored-by: Dinesh Natesan <AbstractGeek@users.noreply.github.com>
Co-authored-by: Daniel Sokolowski <github@d.sokolowski.org>
Co-authored-by: Dag7 <dag7@protonmail.com>
Co-authored-by: Patrick Totzke <patricktotzke@gmail.com>
Co-authored-by: Afonso Raposo <afonsocraposo@gmail.com>
Co-authored-by: nphair <nickphair@gmail.com>
Co-authored-by: Ivan Puhachov <49251289+ivanpuhachov@users.noreply.github.com>
Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>
Co-authored-by: Christoph Junghans <junghans@lanl.gov>
Co-authored-by: Neeraj Gangwar <553989+neerajgangwar@users.noreply.github.com>
Co-authored-by: Neeraj Gangwar <neeraj.gangwar@myntra.com>
Co-authored-by: Rohan Deb Sarkar <rohandebsarkar@gmail.com>
Co-authored-by: Riddhiman Adib <adib2149@gmail.com>
Co-authored-by: Julian Streyczek <82290284+JulianStreyczek@users.noreply.github.com>
Co-authored-by: Sebastian Daza <sebastian.daza@gmail.com>
Co-authored-by: Maik Wöhl <maik.woehl@googlemail.com>
Co-authored-by: Amir Pourmand <pourmand1376@gmail.com>
Co-authored-by: Steven Rick <srick@eng.ucsd.edu>
Co-authored-by: José M. Requena Plens <joreple@upv.es>
Co-authored-by: Edsuns <edsuns@qq.com>
Co-authored-by: Karim de Fombelle <karim.defombelle@gmail.com>
Co-authored-by: Xiaochen Zhu <42903201+zhxchd@users.noreply.github.com>
Co-authored-by: Nipuna Weerasekara <w.nipuna@gmail.com>
Co-authored-by: Julian Lehrer <jmlehrer@ucsc.edu>
Co-authored-by: Jun-Liang Lin <82939287+junliang-lin@users.noreply.github.com>
Co-authored-by: Ali Kuwajerwala <aliqk1603@gmail.com>
Co-authored-by: Scott Lee Chua <51027688+scottleechua@users.noreply.github.com>
Co-authored-by: Jack Lloyd-Walters <skiy@outlook.com>
Co-authored-by: Vanshaj Kerni <vkerni@ph.iitr.ac.in>
Co-authored-by: yyang768osu <yyang.ohiostate@gmail.com>
Co-authored-by: Viraj Thakkar <43007623+veedata@users.noreply.github.com>
Co-authored-by: Jiashu Xu <jiashuxu@usc.edu>
Co-authored-by: Kun Wu <tonywukun@qq.com>
Co-authored-by: Amala Wilson <amalachirayil@gmail.com>
Co-authored-by: Tirtharaj Dash <dashtirtharaj@gmail.com>
Co-authored-by: Guillaume Dalle <22795598+gdalle@users.noreply.github.com>
Co-authored-by: Tønnes Nygaard <tonnes.nygaard@gmail.com>
Co-authored-by: Carolina Carreira <carolinamcarreira@gmail.com>
Co-authored-by: Rohan Deb Sarkar <rohandebsarkar+git@gmail.com>
Co-authored-by: Manan Dey <manandey1@gmail.com>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Congcong Li <20706332+lufficc@users.noreply.github.com>
Co-authored-by: johanneshoerner <110042110+johanneshoerner@users.noreply.github.com>
Co-authored-by: Ioannis Mavromatis <44159802+ioannismavromatis@users.noreply.github.com>
Co-authored-by: gzwongkk <gzwongkk@gmail.com>
Co-authored-by: Leandro A. Bugnon <lbugnon@sinc.unl.edu.ar>
Co-authored-by: Tai D Nguyen <tainguyen7597@gmail.com>
Co-authored-by: Yavuz Alp Sencer ÖZTÜRK <28690608+alpsencer@users.noreply.github.com>
Co-authored-by: wristy <wristy8@gmail.com>
Co-authored-by: Lucas Hosseini <lucas.hosseini@gmail.com>
Co-authored-by: Dominik Straub <dominikstrb@mailbox.org>
Co-authored-by: Amir Hossein Kargaran <kargaranamir@gmail.com>
Co-authored-by: Josh Veitch-Michaelis <j.veitchmichaelis+github@gmail.com>
Co-authored-by: Carlos Morales <carlosmorales777@gmail.com>
Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
Co-authored-by: Simmo Saan <simmo.saan@gmail.com>
Co-authored-by: Tyler Barna <57914086+tylerbarna@users.noreply.github.com>
Co-authored-by: Miroslav Suzara <miroslav.suzara@gmail.com>
Co-authored-by: Muhamamd Naufal Shidqi <nopal.sidqi@gmail.com>
Co-authored-by: bruno vianna <bruno@pobox.com>
Co-authored-by: Junshen Xu <junshenxu1996@gmail.com>
Co-authored-by: Alireza Dehghanzadeh <86428901+adehghanzadeh@users.noreply.github.com>
Co-authored-by: Andreas Kuster <20418060+andreaskuster@users.noreply.github.com>
Co-authored-by: Andrea Gasparini <andrea.gasparini11@gmail.com>
Co-authored-by: Ellis Brown <ellis.l.brown.ii@gmail.com>
Co-authored-by: Noman Bashir <noman.bashir.ahmad@gmail.com>
Co-authored-by: Fares Meghdouri <33158574+fm94@users.noreply.github.com>
Co-authored-by: Mohammad Qodrati <qodrati.m@gmail.com>
Co-authored-by: djherron <dave.herron1@gmail.com>
Co-authored-by: Philip Wong <4522927+p2635@users.noreply.github.com>
Co-authored-by: Rohan Deb Sarkar <rohandebsarkar@protonmail.com>
Co-authored-by: Rodo-Singh <adityasinghdrdo@gmail.com>
Co-authored-by: ZhengLin Li <63448884+ZhengLin-Li@users.noreply.github.com>
Co-authored-by: Zuhair AlSader <zalsader@hotmail.com>
Co-authored-by: Kushin Mukherjee <kushinm11@gmail.com>
Co-authored-by: Divakar Verma <divakarv96@gmail.com>
Co-authored-by: Kotaro Suto <ng1a5ss43@gmail.com>
Co-authored-by: Mathias Micheel <49622130+buerviper@users.noreply.github.com>
Co-authored-by: Bashir Kazimi <kazimibashir907@gmail.com>
Co-authored-by: Allie <13716824+ChildishGiant@users.noreply.github.com>
Co-authored-by: Scott Lee Chua <scottleechua@gmail.com>
Co-authored-by: Do Hai Son <dohaison1998@gmail.com>
Co-authored-by: Douglas <48629993+DouglasKrouth@users.noreply.github.com>
Co-authored-by: Raphael Azorin <azorin.raphael@gmail.com>
Co-authored-by: Chen Chen <maker_cc@foxmail.com>
Co-authored-by: gaspardbb <40466739+gaspardbb@users.noreply.github.com>
Co-authored-by: Varun Iyer <tech@varuniyer.info>
Co-authored-by: Furkan Akkurt <71407287+furkanakkurt1335@users.noreply.github.com>
Co-authored-by: Yuki M. Asano <yuki.m.asano@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>
Co-authored-by: Hashe037 <64798080+Hashe037@users.noreply.github.com>
  • Loading branch information
Show file tree
Hide file tree
Showing 30 changed files with 630 additions and 153 deletions.
12 changes: 11 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
"contributions": [
"code"
]
},
{
"login": "george-gca",
"name": "George",
"avatar_url": "https://avatars.githubusercontent.com/u/31376482?v=4",
"profile": "https://george-gca.github.io/",
"contributions": [
"code"
]
}
]
],
"commitConvention": "angular"
}
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Buildx
uses: docker/setup-buildx-action@v1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Buildx
uses: docker/setup-buildx-action@v1

Expand Down
33 changes: 14 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,29 @@ on:
branches:
- master
- main
workflow_dispatch:

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.2'
ruby-version: '3.2.1'
bundler-cache: true
- name: Install deps
- name: Install and Build 🔧
run: |
npm install -g mermaid.cli
- name: Setup deploy options
id: setup
run: |
git config --global user.name "GitHub Action"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
if [[ ${GITHUB_REF} = refs/pull/*/merge ]]; then # pull request
echo "SRC_BRANCH=${GITHUB_HEAD_REF}" >> $GITHUB_OUTPUT
echo "NO_PUSH=--no-push" >> $GITHUB_OUTPUT
elif [[ ${GITHUB_REF} = refs/heads/* ]]; then # branch, e.g. master, source etc
echo "SRC_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
fi
echo "DEPLOY_BRANCH=gh-pages" >> $GITHUB_OUTPUT
- name: Deploy website
run: yes | bash bin/deploy --verbose ${{ steps.setup.outputs.NO_PUSH }}
--src ${{ steps.setup.outputs.SRC_BRANCH }}
--deploy ${{ steps.setup.outputs.DEPLOY_BRANCH }}
bundle exec jekyll build
- name: Deploy 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _site

1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ group :jekyll_plugins do
gem 'jekyll-paginate-v2'
gem 'jekyll-scholar'
gem 'jekyll-sitemap'
gem 'jekyll-toc'
gem 'jekyll-twitter-plugin'
gem 'jemoji'
gem 'mini_racer'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Homepage
# Homepage
34 changes: 26 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ highlight_theme_dark: native # https://github.com/jwarby/jekyll-pygments-them
# repo color theme
repo_theme_light: default # https://github.com/anuraghazra/github-readme-stats/blob/master/themes/README.md
repo_theme_dark: dark # https://github.com/anuraghazra/github-readme-stats/blob/master/themes/README.md
repo_trophies:
enabled: true
theme_light: flat # https://github.com/ryo-ma/github-profile-trophy
theme_dark: gitdimmed # https://github.com/ryo-ma/github-profile-trophy

# -----------------------------------------------------------------------------
# RSS Feed
Expand Down Expand Up @@ -80,10 +84,12 @@ quora_username: # your Quora username
publons_id: # your ID on Publons
osf_id: # your OSF ID
research_gate_profile: # your profile on ResearchGate
scopus_id: # your profile on Scopus
blogger_url: # your blogger URL
work_url: # work page URL
keybase_username: # your keybase user name
wikidata_id: # your wikidata id
wikipedia_id: # your wikipedia id (Case sensitive)
dblp_url: # your DBLP profile url
stackoverflow_id: # your stackoverflow id
kaggle_id: # your kaggle id
Expand Down Expand Up @@ -121,6 +127,10 @@ permalink: /blog/:year/:title/
pagination:
enabled: true

related_blog_posts:
enabled: true
max_related: 5

# Giscus comments (RECOMMENDED)
# Follow instructions on https://giscus.app/ to setup for your repo to fill out
# the information below.
Expand Down Expand Up @@ -162,8 +172,15 @@ collections:
output: true
permalink: /projects/:path/

news_scrollable: true # adds a vertical scroll bar if there are more than 3 news items
news_limit: 5 # leave blank to include all the news in the `_news` folder
announcements:
enabled: true
scrollable: true # adds a vertical scroll bar if there are more than 3 news items
limit: 5 # leave blank to include all the news in the `_news` folder

latest_posts:
enabled: true
scrollable: true # adds a vertical scroll bar if there are more than 3 new posts items
limit: 3 # leave blank to include all the blog posts

# -----------------------------------------------------------------------------
# Jekyll settings
Expand Down Expand Up @@ -201,18 +218,19 @@ plugins:
- jekyll-email-protect
- jekyll-feed
- jekyll-imagemagick
- jekyll-link-attributes
- jekyll-minifier
- jekyll-paginate-v2
- jekyll/scholar
- jekyll-sitemap
- jekyll-link-attributes
- jekyll-toc
- jekyll-twitter-plugin
- jemoji

# Sitemap settings
defaults:
- scope:
path: "assets/**/*.*"
path: "assets"
values:
sitemap: false

Expand Down Expand Up @@ -271,7 +289,7 @@ scholar:

query: "@*"

badges: # Display different badges for your pulications
badges: # Display different badges for your publications
altmetric_badge: true # Altmetric badge (https://www.altmetric.com/products/altmetric-badges/)
dimensions_badge: true # Dimensions badge (https://badge.dimensions.ai/)

Expand Down Expand Up @@ -300,7 +318,7 @@ external_links:
# -----------------------------------------------------------------------------

imagemagick:
enabled: true # enables responsive images for your site (recomended, see https://github.com/alshedivat/al-folio/issues/537)
enabled: true # enables responsive images for your site (recommended, see https://github.com/alshedivat/al-folio/issues/537)
widths:
- 480
- 800
Expand Down Expand Up @@ -332,12 +350,12 @@ enable_google_analytics: false # enables google analytics
enable_panelbear_analytics: false # enables panelbear analytics
enable_google_verification: false # enables google site verification
enable_bing_verification: false # enables bing site verification
enable_masonry: true # enables automatic project cards arangement
enable_masonry: true # enables automatic project cards arrangement
enable_math: true # enables math typesetting (uses MathJax)
enable_tooltips: false # enables automatic tooltip links generated
# for each section titles on pages and posts
enable_darkmode: true # enables switching between light/dark modes
enable_navbar_social: true # enables displaying social links in the
enable_navbar_social: false # enables displaying social links in the
# navbar on the about page
enable_project_categories: true # enables categorization of projects into
# multiple categories
Expand Down
6 changes: 5 additions & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
<!-- Code Syntax Highlighting -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/{{ site.highlight_theme_light | append: '.css' }}" media="" id="highlight_theme_light" />

{% if page.toc and page.toc.sidebar %}
<!-- Sidebar Table of Contents -->
<link href="https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.css" rel="stylesheet" />
{% endif %}

<!-- Styles -->
{% if site.icon.size <= 4 %}
<link rel="shortcut icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ site.icon }}</text></svg>">
Expand All @@ -21,7 +26,6 @@
{% endif %}
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">

<!-- Dark Mode -->
{% if site.enable_darkmode %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/{{ site.highlight_theme_dark | append: '.css' }}" media="none" id="highlight_theme_dark" />
Expand Down
6 changes: 3 additions & 3 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- Nav Bar -->
<nav id="navbar" class="navbar navbar-light navbar-expand-sm {% if site.navbar_fixed %}fixed-top{% else %}sticky-top{% endif %}">
<div class="container-md">
<div class="container">
{% if page.permalink != '/' -%}
<a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl }}/">
{%- if site.title == "blank" -%}
Expand Down Expand Up @@ -43,14 +43,14 @@
{% endif %}
{% endfor %}

{% comment %} <!-- About -->
<!-- About -->
<li class="nav-item {% if page.permalink == '/' %}active{% endif %}">
<a class="nav-link" href="{{ '/' | relative_url }}">{{ about_title }}
{%- if page.permalink == '/' -%}
<span class="sr-only">(current)</span>
{%- endif -%}
</a>
</li> {% endcomment %}
</li>
{% if site.blog_nav_title %}
<!-- Blog -->
<li class="nav-item {% if page.url contains 'blog' %}active{% endif %}">
Expand Down
26 changes: 26 additions & 0 deletions _includes/latest_posts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

<div class="news">
{% if site.latest_posts != blank -%}
{%- assign latest_posts_size = site.posts | size -%}
<div class="table-responsive" {% if site.latest_posts.scrollable and latest_posts_size > 3 %}style="max-height: 60vw"{% endif %}>
<table class="table table-sm table-borderless">
{%- assign latest_posts = site.posts -%}
{% if site.latest_posts.limit %}
{% assign latest_posts_limit = site.latest_posts.limit %}
{% else %}
{% assign latest_posts_limit = latest_posts_size %}
{% endif %}
{% for item in latest_posts limit: latest_posts_limit %}
<tr>
<th scope="row">{{ item.date | date: "%b %-d, %Y" }}</th>
<td>
<a class="news-title" href="{{ item.url | relative_url }}">{{ item.title }}</a>
</td>
</tr>
{%- endfor %}
</table>
</div>
{%- else -%}
<p>No posts so far...</p>
{%- endif %}
</div>
13 changes: 13 additions & 0 deletions _includes/metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
{% if site.enable_bing_verification -%}
<meta name="msvalidate.01" content="{{ site.bing_site_verification }}" />
{%- endif -%}
<!-- Avoid warning on Google Chrome
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
see https://stackoverflow.com/a/75119417
-->
<meta http-equiv="Permissions-Policy" content="interest-cohort=()" />
{%- endif %}

<!-- Standard metadata -->
Expand Down Expand Up @@ -87,6 +92,10 @@
{%- capture link -%}https://www.researchgate.net/profile/{{site.research_gate_profile}}{%- endcapture -%}
{%- assign sameaslinks = sameaslinks | push: link -%}
{%- endif -%}
{%- if site.scopus_id -%}
{%- capture link -%}https://www.scopus.com/authid/detail.uri?authorId={{site.scopus_id}}{%- endcapture -%}
{%- assign sameaslinks = sameaslinks | push: link -%}
{%- endif -%}
{%- if site.github_username -%}
{%- capture link -%}https://github.com/{{ site.github_username }}{%- endcapture -%}
{%- assign sameaslinks = sameaslinks | push: link -%}
Expand Down Expand Up @@ -123,6 +132,10 @@
{%- capture link -%}https://www.wikidata.org/wiki/{{ site.wikidata_id }}{%- endcapture -%}
{%- assign sameaslinks = sameaslinks | push: link -%}
{%- endif -%}
{%- if site.wikipedia_id -%}
{%- capture link -%}https://wikipedia.org/wiki/User:{{ site.wikipedia_id }}{%- endcapture -%}
{%- assign sameaslinks = sameaslinks | push: link -%}
{%- endif -%}
{%- if site.strava_userid -%}
{%- capture link -%}https://www.strava.com/athletes/{{ site.strava_userid }}{%- endcapture -%}
{%- assign sameaslinks = sameaslinks | push: link -%}
Expand Down
23 changes: 11 additions & 12 deletions _includes/news.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@

<div class="news">
{% if site.news != blank -%}
{% if site.news != blank -%}
{%- assign news_size = site.news | size -%}
<div class="table-responsive" {% if site.news_scrollable and news_size > 3 %}style="max-height: 10vw"{% endif %}>
<div class="table-responsive" {% if include.limit and site.announcements.scrollable and news_size > 3 %}style="max-height: 60vw"{% endif %}>
<table class="table table-sm table-borderless">
{%- assign news = site.news | reverse -%}
{% if site.news_limit %}
{% assign news_limit = site.news_limit %}
{% if include.limit and site.announcements.limit %}
{% assign news_limit = site.announcements.limit %}
{% else %}
{% assign news_limit = news_size %}
{% endif %}
{% for item in news limit: news_limit %}
{% for item in news limit: news_limit %}
<tr>
<th scope="row">{{ item.date | date: "%b %-d, %Y" }}</th>
<td>
{% if item.inline -%}
{% if item.inline -%}
{{ item.content | remove: '<p>' | remove: '</p>' | emojify }}
{%- else -%}
{%- else -%}
<a class="news-title" href="{{ item.url | relative_url }}">{{ item.title }}</a>
{%- endif %}
{%- endif %}
</td>
</tr>
{%- endfor %}
{%- endfor %}
</table>
</div>
{%- else -%}
{%- else -%}
<p>No news so far...</p>
{%- endif %}
{%- endif %}
</div>
6 changes: 6 additions & 0 deletions _includes/repository/repo_trophies.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<div class="repo p-2 text-center">
<a href="https://github.com/ryo-ma/github-profile-trophy">
<img class="repo-img-light w-200" alt="{{ include.username }}" src="https://github-profile-trophy.vercel.app/?username={{ include.username }}&theme={{ site.repo_trophies.theme_light }}&locale={{ site.lang }}&margin-w=15&margin-h=15&no-bg=true&rank=-C">
<img class="repo-img-dark w-200" alt="{{ include.username }}" src="https://github-profile-trophy.vercel.app/?username={{ include.username }}&theme={{ site.repo_trophies.theme_dark }}&locale={{ site.lang }}&margin-w=15&margin-h=15&no-bg=true&rank=-C">
</a>
</div>
6 changes: 6 additions & 0 deletions _includes/scripts/misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@
<script defer src="{{ '/assets/js/zoom.js' | relative_url }}"></script>
{%- endif -%}

{% if page.toc and page.toc.sidebar %}
<!-- Sidebar Table of Contents -->
<script defer src="https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.js"></script>
{% endif %}

<!-- Load Common JS -->
<script defer src="{{ '/assets/js/common.js' | relative_url }}"></script>
<script defer src="{{ '/assets/js/copy_code.js' | relative_url }}" type="text/javascript"></script>
2 changes: 1 addition & 1 deletion _includes/selected_papers.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

<div class="publications">
{% bibliography -f papers -q @*[selected=true]* %}
{% bibliography -f {{ site.scholar.bibliography }} -q @*[selected=true]* %}
</div>
Loading

0 comments on commit 774161c

Please sign in to comment.