Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile for easy installation on local machine #532

Merged
merged 24 commits into from
Jul 10, 2022

Conversation

pourmand1376
Copy link
Collaborator

@pourmand1376 pourmand1376 commented Jan 16, 2022

I have added Dockerfile so that the installation process would be more straightforward.

  • First clone the git directory (and go to that directory):

      git clone https://github.com/alshedivat/al-folio 
      cd al-folio 
    
  • Then build docker image to download necessary modules and install them (just one time):

      docker build -t "mywebsite:Dockerfile" . 
    
  • Then run website locally on port 8080:

    docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
                        -it mywebsite:Dockerfile bundler  \
                        exec jekyll serve --watch --port=8080 --host=0.0.0.0 
    

That's it! No need to install jekyll and ruby and gem packages and all that stuff.

@alshedivat alshedivat self-requested a review January 30, 2022 23:42
Copy link
Owner

@alshedivat alshedivat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for this contribution! this should definitely help people get things up and running without running into issues with installing ruby. a couple of small requests before merge:

  • update README: please add a description of how to run this locally (starting from installing docker to running the actual command) to Installation > Local setup section.
  • add friendly aliases: the docker commands are pretty long; it would be awesome to add more user-friendly aliases to bin/aliases.sh that people can simply source bin/aliases.sh and then run something like docker-build-and-serve-al-folio command to build and serve the website locally. what do you think?

thanks again!

@pourmand1376
Copy link
Collaborator Author

pourmand1376 commented Feb 1, 2022

Hi,
I updated the readme file. But, I didn't understand why you wanted to use aliases. I think the direct call is better. So, I added a file called run_docker.sh so you can run your website using bin/run_docker.sh. Much simpler.

@pourmand1376
Copy link
Collaborator Author

todo I noticed that there is an error which says that mmdc command not found. The image size would be very big if I install it. Do you mind?

@alshedivat
Copy link
Owner

thanks for making all the changes! I haven't had a chance to test everything, will do soon.

for mermaid, I don't think it should be provided in the docker image by default if it makes it too heavy. I'll have to think how to make it run without it and not error out (eg, not display mermaid diagrams if mermaid has not been installed).

@pourmand1376
Copy link
Collaborator Author

FYI, Currently (without mermaid installed), it doesn't show any errors. It just shows a warning!

@pourmand1376
Copy link
Collaborator Author

pourmand1376 commented Apr 10, 2022

I just added GitHub Actions to build a docker image automatically after each commit. It means that first GitHub will fetch the repo and install all required dependencies in a docker image. Then it will push it to this repo.

image

The image size when building locally is 1.15GB but Dockerhub optimizes the image to 360MB.

So, to put it in a nutshell, now we can remove the old way of building the image and just tell people to:

docker pull amirpourmand/ai-folio 

and then

docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" -it amirpourmand/ai-folio \
bundler exec jekyll serve --watch --port=8080 --host=0.0.0.0

This way, we minimize the error since people do not have to build the image themselves.

Of course, I can put these commands in our scripts in bin folder, so people would be able to run it without copying and pasting.

However, currently, I've uploaded the images to my repo. It is up to you to decide if you want to upload your image to my repo or create your own repo. If you choose to use mine, I can add you to collaborators so you have complete access.

By the way, to make this usable, you have to add two variables to your github secrets. A Tutorial is available here. You can also change the image repository easily in the deploy-image.yml file.

Variable names in the secret are DOCKER_USERNAME and DOCKER_PASSWORD.

With all respect.

@pourmand1376
Copy link
Collaborator Author

Note. I realized that it is better to remove Gemfile.lock after each build. Sometimes, the correct version is installed but because some other version is written to Gemfile.lock, it throws an error.

@JohannesAck
Copy link

JohannesAck commented Apr 15, 2022

Thanks for the Dockerfile, I was using it under windows without issues a week ago, but now I suddenly got the error mentioned in this issue: #161

It seems that this was caused by the jekyll/jekyll docker image pushing a new version 5 days ago, which uses Ruby 3.
For me, changing your Dockerfile to FROM jekyll/jekyll:4.2.0 has fixed the issue, as this container still uses Ruby 2.7.x.

However I'm also using a version of al-folio from about a year ago, so maybe this is only an issue with older versions.

@pourmand1376
Copy link
Collaborator Author

Thanks 👍
I will change Dockerfile respectively and make a commit soon.

.github/workflows/deploy-image.yml Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
bin/dockerhub_run.sh Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@alshedivat
Copy link
Owner

alshedivat commented Jun 26, 2022

@pourmand1376, thanks again for contributing docker-based build local build and sorry about slow review on my end.

overall, everything looks good. I have just a couple of things:

  1. when following your instructions on mac, I get the following error when trying to run bin/dockerhub_run.sh:
$ ./bin/dockerhub_run.sh
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Could not find jekyll-4.2.1, jekyll-scholar-7.0.0, jekyll-sass-converter-2.1.0, kramdown-2.3.1, rouge-3.28.0, html-pipeline-2.14.0, loofah-2.14.0, public_suffix-4.0.6, concurrent-ruby-1.1.9, activesupport-7.0.2.2 in any of the sources
Run `bundle install` to install missing gems.

when building the docker image locally, bin/docker_build.sh works, but then bin/docker_run.sh fails with the same error. do you know if there is a way to fix this?

  1. it looks like docker image CI build fails. is there a way to fix this? is it somehow related to github secretes that you mentioned?

@pourmand1376
Copy link
Collaborator Author

pourmand1376 commented Jun 27, 2022

Note. I realized that it is better to remove Gemfile.lock after each build. Sometimes, the correct version is installed but because some other version is written to Gemfile.lock, it throws an error.

I updated the scripts to automatically remove Gemfile.lock file. I believe your problem is for that.

it looks like docker image CI build fails. is there a way to fix this? is it somehow related to github secretes that you mentioned?

Exactly, you should add Github secrets and then send me your username in dockerhub. You can email me if you don't want to add it here. After that, I will add you to this repo and we are set.

This is the error in CI build:

Error: Username and password required

@pourmand1376
Copy link
Collaborator Author

Thanks for the Dockerfile, I was using it under windows without issues a week ago, but now I suddenly got the error mentioned in this issue: #161

It seems that this was caused by the jekyll/jekyll docker image pushing a new version 5 days ago, which uses Ruby 3. For me, changing your Dockerfile to FROM jekyll/jekyll:4.2.0 has fixed the issue, as this container still uses Ruby 2.7.x.

However I'm also using a version of al-folio from about a year ago, so maybe this is only an issue with older versions.

Actually, as I tested multiple times, this problem doesn't occur with the latest version.

@pourmand1376
Copy link
Collaborator Author

pourmand1376 commented Jun 30, 2022

TODO

  • Add docker-compose yaml file and guidelines to use it.
  • Use versioning to keep all built images (currently we are using latest tag, but it is better if each image has its own tag).

@alshedivat
Copy link
Owner

Note. I realized that it is better to remove Gemfile.lock after each build. Sometimes, the correct version is installed but because some other version is written to Gemfile.lock, it throws an error.

I updated the scripts to automatically remove Gemfile.lock file. I believe your problem is for that.

it looks like docker image CI build fails. is there a way to fix this? is it somehow related to github secretes that you mentioned?

Exactly, you should add Github secrets and then send me your username in dockerhub. You can email me if you don't want to add it here. After that, I will add you to this repo and we are set.

This is the error in CI build:

Error: Username and password required

great, thank you! I added DOCKER_USERNAME and DOCKER_PASSWORD secrets to the repo. my username is the same as for github.

@pourmand1376
Copy link
Collaborator Author

pourmand1376 commented Jul 4, 2022

I added you to the contributor list, but the action still fails

image

Apparently

secrets are not passed to the runner when a workflow is triggered from a forked repository. (see here).

You can see my docker image actions for my forked repo here. The action related to docker is working fine.

I think we can not test this one and you should merge this one to see if it goes fine. Hopefully, github would create someway of sharing this secrets later ...

@alshedivat alshedivat merged commit 0e9d3a4 into alshedivat:master Jul 10, 2022
@alshedivat
Copy link
Owner

@all-contributors please add @pourmand1376 for code

@allcontributors
Copy link
Contributor

@alshedivat

I've put up a pull request to add @pourmand1376! 🎉

@gabrielraya
Copy link

Do you know why I am getting this after running ./bin/dockerhub_run.sh

System: Windows 10 Enterprise
image

@pourmand1376
Copy link
Collaborator Author

Hi
I think you should open up a discussion or issue and mention me there. This way other people who come up with your issue can solve their problem easier. BTW, What is the output of command ./bin/dockerhub_run.sh?

semicolonsnet pushed a commit to semicolonsnet/backup_semicolonsnet.github.io that referenced this pull request Oct 24, 2022
zkotti pushed a commit to zkotti/zkotti.github.io that referenced this pull request Dec 10, 2022
pecey pushed a commit to pecey/pecey.github.io that referenced this pull request Jan 27, 2023
GeorgeVern pushed a commit to GeorgeVern/georgevern.github.io that referenced this pull request Feb 1, 2023
passalis added a commit to passalis/passalis.github.io that referenced this pull request Apr 22, 2023
* Update _config.yml

* Update bug_report.md

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

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

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

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

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

This reverts commit 0e4df83.

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

* Revert jekyll-scholar bibtex filters (alshedivat#381)

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

This reverts commit e328dc6.

* Update mathjax version to 3.2.0

* Add bibtex_filters explicitly to _config.yml

* add website (alshedivat#383)

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

* add stackoverflow id (alshedivat#400)

* Add 404.html (alshedivat#412)

* add jekyll target blank plugin (alshedivat#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 <[email protected]>

* Add jekyll-diagrams (alshedivat#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 (alshedivat#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 (alshedivat#434)

* Adding month to publication section (alshedivat#433)

* Update deploy.yml (alshedivat#436)

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

* Optimize Website Load Time (alshedivat#435)

* Place js files after body tag

* Add Analytics to the end of script

* Minor nits and fixes

Co-authored-by: Maruan Al-Shedivat <[email protected]>

* Add support for responsive images (alshedivat#439)

* Added Jekyll-Archives (for tags, categories) and Jekyll site-map (alshedivat#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 <[email protected]>

* Optimize dark theme (alshedivat#431)

* Optimize dark theme

* Fix-up

* Minor fixes

Co-authored-by: Maruan Al-Shedivat <[email protected]>

* Add best practices info to README

* Remove theming dependence on jquery

* Update README.md

* Update README.md

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

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

This reverts commit 0a8bfb4.

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

* Lighthouse enhancements (alshedivat#445)

* Add TOC to distill blog posts (alshedivat#470)

* Fix a small bug in _includes/responsive_img.html

Correctly fixes the issue mentioned in alshedivat#471.

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

* Switch to uing <picture> for responsive images

* Use WebP responsive images (alshedivat#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 (alshedivat#440)

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

Typo

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

* Fix distill dark mode again (alshedivat#517)

* Correctly slugify distill TOC (alshedivat#519)

* Correctly slugify distill TOC

* Add special character to demo distill post's TOC

* Minor fixes (alshedivat#522)

* Fix distill collapsible Navbar (alshedivat#524)

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

* added my website to readme examples (alshedivat#530)

* Add website to README.md (alshedivat#533)

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

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

* Update _includes/metadata.html

Co-authored-by: Maruan <[email protected]>

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

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

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

* Change -webkit-transition to transition-property (alshedivat#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 (alshedivat#554)

* fix space

* Minor adjustments

Co-authored-by: Maruan Al-Shedivat <[email protected]>

* Add Yang's webpage (alshedivat#559)

* Fix a small bug in news (alshedivat#560)

* Theme and responsiveness fixes (alshedivat#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 ee7cb76.

* 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 <[email protected]>
Co-authored-by: Maruan Al-Shedivat <[email protected]>

* enable blog to redirect to asset (alshedivat#550)

* Add custom favicon if needed (alshedivat#386)

* Fix alshedivat#565

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

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

* Added a star (alshedivat#617)

* Empty entrytype if not article or inproceedings (alshedivat#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 (alshedivat#624)

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

* Add support for external blog posts (alshedivat#647)

* Add support for external blog posts

* Cosmetic fixes

* Added documentation on publication buttons (alshedivat#651)

* Added documentation on publication buttons

* Added missing </details>

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

* Add a new star (alshedivat#667)

Add a start to list of academic personal webpages

* Delete `travis.yml` (alshedivat#665)

* Add `jekyll-minifier` (alshedivat#668)

* Remove obsolete plugins

* Add `jekyll-minifier`

* Add `JEKYLL_ENV=production`

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

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

* Fix theme (alshedivat#697)

* fix theme

* fix theme

Co-authored-by: rohandebsarkar <[email protected]>

* Add support for CV (alshedivat#628)

* Minor changes and fixes (alshedivat#726)

* Support for cicular image (alshedivat#728)

* Adds vertical scrollbar to news (alshedivat#729)

* Update Lighthouse PageSpeed Insights

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

* Adds support for preview images for publications (alshedivat#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 <[email protected]>

* Update _layouts/bib.html

Co-authored-by: Maruan <[email protected]>

* Update _layouts/bib.html

Co-authored-by: Maruan <[email protected]>

* Update _layouts/bib.html

Co-authored-by: Maruan <[email protected]>

* Update _sass/_base.scss

Co-authored-by: Maruan <[email protected]>

* Update _sass/_base.scss

Co-authored-by: Maruan <[email protected]>

Co-authored-by: Maruan <[email protected]>

* Adds support for tag-list (alshedivat#734)

* Adds support for tag-list

* Update _sass/_base.scss

Co-authored-by: Maruan <[email protected]>

* Made tags optional

* Responsive deign for tag-list

Co-authored-by: Maruan <[email protected]>

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

* add star (alshedivat#744)

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

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

* Fix responsive image (alshedivat#748)

* fix

* base url

* Revert "base url"

This reverts commit 2e81d32.

* fix

* Better bundler caching for GitHub Actions (alshedivat#750)

* Better caching for GitHub Actions

* Update `actions/checkout` to `v3`

* docs: add alshedivat as a contributor for design, code (alshedivat#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 <[email protected]>

* docs: add rohandebsarkar as a contributor for code (alshedivat#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  (alshedivat#532)

* docs: add pourmand1376 as a contributor for code (alshedivat#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` (alshedivat#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 <[email protected]>
Co-authored-by: Maruan <[email protected]>

* Fix scripts (alshedivat#755)

* Include bootstrap bundle (alshedivat#756)

* Bootstrap js SRI fix (alshedivat#757)

* fix more authors bug (alshedivat#758)

* fix more authors bug

* fix

* add preview

Co-authored-by: Rohan Deb Sarkar <[email protected]>

* Optimize image qualities and a fix (alshedivat#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 (alshedivat#767)

* Add Tags for Docker Images (alshedivat#754)

* Adds support for repositories (alshedivat#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 a9dd4d5.

* add last line

* fix

* github only

* fix

* Add instructions

* Add `README.md` instructions

* Add `nav_order`

* Adds support for GA4 Google Analytics (alshedivat#727)

* Update `analytics.html`

* Update `config.yml`

* Update

* Update

* Added my webpage to the list (alshedivat#788)

Added my webpage to the list.

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

* fix title

* fix a few links

* add line

* Add website (alshedivat#802)

* Fix commas in author list (alshedivat#770)

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

* Add personal page (alshedivat#812)

* Update README.md

* add page (alshedivat#817)

* fix alshedivat#814 (alshedivat#818)

* fixe typos (alshedivat#823)

* Fix grammar (alshedivat#848)

* Update 2018-12-22-distill.md

* Update README.md

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

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

* Add dominikstrb's personal page (alshedivat#880)

Added a link to my personal website to the README

* Add Semantic Scholar social integration (alshedivat#879)

* add more social media (alshedivat#878)

alshedivat#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 (alshedivat#905)

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

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

* Improve info about theme colors (alshedivat#911)

* Add docker badges (alshedivat#888)

* Update README.md

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

As reported in alshedivat#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 (alshedivat#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 alshedivat#929

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

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

Signed-off-by: George Araujo <[email protected]>

* Slugify tag and category links (alshedivat#947)

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

* Update README.md (alshedivat#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 (alshedivat#957)

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

* Add a progress bar to show the scroll position (alshedivat#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 alshedivat#557

Co-authored-by: rohandebsarkar <[email protected]>

* Enable progress bar by default

* Add WhatsApp to social integration (alshedivat#945)

* Add altmetric badges to paper (alshedivat#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  (alshedivat#875)

This file makes it easier for windows users to use docker. (Closes alshedivat#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 (alshedivat#974)

* Add Junshen's personal page (alshedivat#979)

Added a link to my personal website to the README.

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

Fixes alshedivat#980.

* Add backlink to verify mastodon (alshedivat#978)

* New update to GH Actions: Deprecating `save-state` and `set-output` commands (alshedivat#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 (alshedivat#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 (alshedivat#992)

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

Fixes alshedivat#820.

Explanation:
alshedivat#969 (comment)

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

* Update README.md (alshedivat#1014)

Adding my webpage.

* ADD More Clear Explanations in README (alshedivat#1012)

* Add Container Name (alshedivat#1021)

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

* Add support for giscus comments (alshedivat#1028)

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

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

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

* Add Pre-commit Hook (alshedivat#801)

* Improve bib layout for thesis (alshedivat#920)

* add star to readme (alshedivat#1064)

* Add youtube as a social option (alshedivat#1007)

* Fix medium zoom on small devices (alshedivat#1084)

fixes alshedivat#1006

* Fix SRI hash (alshedivat#1087)

Sorry, forgot to change the SRI.

* Fix Docker Problem (alshedivat#1074)

* Adds Dimensions badge (alshedivat#1086)

This adds a dimension badge as requested in alshedivat#987.

This separates the the links from the badges, in case more badges need to be added in the future.

* Add news page (alshedivat#1085)

fixes alshedivat#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 (alshedivat#1093)

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

* Update favicon emoji length limit (alshedivat#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 alshedivat#1096

* fix distill hyperlink color (alshedivat#1113)

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

fixes alshedivat#1105

* fix: small typo (alshedivat#1143)

fix a small typo

* Use figure for bib entry preview (alshedivat#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 <[email protected]>

* Add CogSci workshop to list of workshops in README (alshedivat#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 (alshedivat#1178)

Adding my portfolio website to the list.

* Added george-gca academic site (alshedivat#1183)

Added new academic site

Signed-off-by: George Araújo <[email protected]>

Signed-off-by: George Araújo <[email protected]>

* Update README.md to encourage people to use `Use this template`  (alshedivat#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 <[email protected]>

* Add OSF to social (alshedivat#1185)

* Update README.md

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

* Added related posts section (alshedivat#1168)

* Add star to academic portfolios (alshedivat#1202)

* feat: add wikipedia social (alshedivat#1097)

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

* OSF social link (alshedivat#1217)

Added missing "/" in the OSF link.

* Added information about using github action (alshedivat#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 <[email protected]>

* Added github 🏆 section in repositories (alshedivat#1229)

Creates a new section with user trophies.

* Replace bin/deploy with GitHub Action (alshedivat#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 (alshedivat#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 (alshedivat#1266)

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

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

* Implemented copy code button feature (alshedivat#1267)

Implemented support for copy code button in code blocks (alshedivat#1262), also updated blog post about code to reflect it.

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

* update readme + remove sponsorship info (alshedivat#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) (alshedivat#1288)

* Update README - Add new profile (alshedivat#1285)

* Moved information about creating your repo to front (alshedivat#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 <[email protected]>

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

* Fix assets sitemap exclusion (alshedivat#1315)

* Implemented latest posts on about page (alshedivat#1307)

Adresses alshedivat#340

---------

Signed-off-by: George Araújo <[email protected]>

* Implemented details tag for distill blog  (alshedivat#1321)

* Fix publication button spacing (alshedivat#1322)

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

* Update README.md

---------

Signed-off-by: George Araujo <[email protected]>
Signed-off-by: Zuhair AlSader <[email protected]>
Signed-off-by: George Araújo <[email protected]>
Co-authored-by: Maruan <[email protected]>
Co-authored-by: Riddhiman Adib <[email protected]>
Co-authored-by: Julian Streyczek <[email protected]>
Co-authored-by: Sebastian Daza <[email protected]>
Co-authored-by: Maik Wöhl <[email protected]>
Co-authored-by: Amir Pourmand <[email protected]>
Co-authored-by: Rohan Deb Sarkar <[email protected]>
Co-authored-by: Maruan Al-Shedivat <[email protected]>
Co-authored-by: Steven Rick <[email protected]>
Co-authored-by: José M. Requena Plens <[email protected]>
Co-authored-by: Maruan Al-Shedivat <[email protected]>
Co-authored-by: Dinesh Natesan <[email protected]>
Co-authored-by: Edsuns <[email protected]>
Co-authored-by: Karim de Fombelle <[email protected]>
Co-authored-by: Xiaochen Zhu <[email protected]>
Co-authored-by: Nipuna Weerasekara <[email protected]>
Co-authored-by: Julian Lehrer <[email protected]>
Co-authored-by: Jun-Liang Lin <[email protected]>
Co-authored-by: Ali Kuwajerwala <[email protected]>
Co-authored-by: Scott Lee Chua <[email protected]>
Co-authored-by: Jack Lloyd-Walters <[email protected]>
Co-authored-by: Vanshaj Kerni <[email protected]>
Co-authored-by: yyang768osu <[email protected]>
Co-authored-by: Viraj Thakkar <[email protected]>
Co-authored-by: Jiashu Xu <[email protected]>
Co-authored-by: Kun Wu <[email protected]>
Co-authored-by: Amala Wilson <[email protected]>
Co-authored-by: Tirtharaj Dash <[email protected]>
Co-authored-by: Guillaume Dalle <[email protected]>
Co-authored-by: Tønnes Nygaard <[email protected]>
Co-authored-by: Carolina Carreira <[email protected]>
Co-authored-by: Rohan Deb Sarkar <[email protected]>
Co-authored-by: Manan Dey <[email protected]>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Congcong Li <[email protected]>
Co-authored-by: johanneshoerner <[email protected]>
Co-authored-by: Ioannis Mavromatis <[email protected]>
Co-authored-by: gzwongkk <[email protected]>
Co-authored-by: Leandro A. Bugnon <[email protected]>
Co-authored-by: Tai D Nguyen <[email protected]>
Co-authored-by: Yavuz Alp Sencer ÖZTÜRK <[email protected]>
Co-authored-by: wristy <[email protected]>
Co-authored-by: Lucas Hosseini <[email protected]>
Co-authored-by: Dominik Straub <[email protected]>
Co-authored-by: Amir Hossein Kargaran <[email protected]>
Co-authored-by: Josh Veitch-Michaelis <[email protected]>
Co-authored-by: Carlos Morales <[email protected]>
Co-authored-by: George <[email protected]>
Co-authored-by: Simmo Saan <[email protected]>
Co-authored-by: Tyler Barna <[email protected]>
Co-authored-by: Miroslav Suzara <[email protected]>
Co-authored-by: Muhamamd Naufal Shidqi <[email protected]>
Co-authored-by: bruno vianna <[email protected]>
Co-authored-by: Junshen Xu <[email protected]>
Co-authored-by: Alireza Dehghanzadeh <[email protected]>
Co-authored-by: Andreas Kuster <[email protected]>
Co-authored-by: Andrea Gasparini <[email protected]>
Co-authored-by: Ellis Brown <[email protected]>
Co-authored-by: Noman Bashir <[email protected]>
Co-authored-by: Fares Meghdouri <[email protected]>
Co-authored-by: Mohammad Qodrati <[email protected]>
Co-authored-by: djherron <[email protected]>
Co-authored-by: Philip Wong <[email protected]>
Co-authored-by: Rohan Deb Sarkar <[email protected]>
Co-authored-by: Rodo-Singh <[email protected]>
Co-authored-by: ZhengLin Li <[email protected]>
Co-authored-by: Zuhair AlSader <[email protected]>
Co-authored-by: Kushin Mukherjee <[email protected]>
Co-authored-by: Divakar Verma <[email protected]>
Co-authored-by: Kotaro Suto <[email protected]>
Co-authored-by: Mathias Micheel <[email protected]>
Co-authored-by: Bashir Kazimi <[email protected]>
Co-authored-by: Allie <[email protected]>
Co-authored-by: Scott Lee Chua <[email protected]>
Co-authored-by: Do Hai Son <[email protected]>
Co-authored-by: Douglas <[email protected]>
Co-authored-by: Raphael Azorin <[email protected]>
Co-authored-by: Chen Chen <[email protected]>
Co-authored-by: gaspardbb <[email protected]>
passalis added a commit to passalis/passalis.github.io that referenced this pull request Apr 22, 2023
* Update _config.yml

* Update bug_report.md

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

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

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

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

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

This reverts commit 0e4df83.

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

* Revert jekyll-scholar bibtex filters (alshedivat#381)

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

This reverts commit e328dc6.

* Update mathjax version to 3.2.0

* Add bibtex_filters explicitly to _config.yml

* add website (alshedivat#383)

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

* add stackoverflow id (alshedivat#400)

* Add 404.html (alshedivat#412)

* add jekyll target blank plugin (alshedivat#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 <[email protected]>

* Add jekyll-diagrams (alshedivat#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 (alshedivat#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 (alshedivat#434)

* Adding month to publication section (alshedivat#433)

* Update deploy.yml (alshedivat#436)

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

* Optimize Website Load Time (alshedivat#435)

* Place js files after body tag

* Add Analytics to the end of script

* Minor nits and fixes

Co-authored-by: Maruan Al-Shedivat <[email protected]>

* Add support for responsive images (alshedivat#439)

* Added Jekyll-Archives (for tags, categories) and Jekyll site-map (alshedivat#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 <[email protected]>

* Optimize dark theme (alshedivat#431)

* Optimize dark theme

* Fix-up

* Minor fixes

Co-authored-by: Maruan Al-Shedivat <[email protected]>

* Add best practices info to README

* Remove theming dependence on jquery

* Update README.md

* Update README.md

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

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

This reverts commit 0a8bfb4.

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

* Lighthouse enhancements (alshedivat#445)

* Add TOC to distill blog posts (alshedivat#470)

* Fix a small bug in _includes/responsive_img.html

Correctly fixes the issue mentioned in alshedivat#471.

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

* Switch to uing <picture> for responsive images

* Use WebP responsive images (alshedivat#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 (alshedivat#440)

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

Typo

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

* Fix distill dark mode again (alshedivat#517)

* Correctly slugify distill TOC (alshedivat#519)

* Correctly slugify distill TOC

* Add special character to demo distill post's TOC

* Minor fixes (alshedivat#522)

* Fix distill collapsible Navbar (alshedivat#524)

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

* added my website to readme examples (alshedivat#530)

* Add website to README.md (alshedivat#533)

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

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

* Update _includes/metadata.html

Co-authored-by: Maruan <[email protected]>

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

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

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

* Change -webkit-transition to transition-property (alshedivat#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 (alshedivat#554)

* fix space

* Minor adjustments

Co-authored-by: Maruan Al-Shedivat <[email protected]>

* Add Yang's webpage (alshedivat#559)

* Fix a small bug in news (alshedivat#560)

* Theme and responsiveness fixes (alshedivat#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 ee7cb76.

* 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 <[email protected]>
Co-authored-by: Maruan Al-Shedivat <[email protected]>

* enable blog to redirect to asset (alshedivat#550)

* Add custom favicon if needed (alshedivat#386)

* Fix alshedivat#565

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

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

* Added a star (alshedivat#617)

* Empty entrytype if not article or inproceedings (alshedivat#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 (alshedivat#624)

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

* Add support for external blog posts (alshedivat#647)

* Add support for external blog posts

* Cosmetic fixes

* Added documentation on publication buttons (alshedivat#651)

* Added documentation on publication buttons

* Added missing </details>

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

* Add a new star (alshedivat#667)

Add a start to list of academic personal webpages

* Delete `travis.yml` (alshedivat#665)

* Add `jekyll-minifier` (alshedivat#668)

* Remove obsolete plugins

* Add `jekyll-minifier`

* Add `JEKYLL_ENV=production`

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

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

* Fix theme (alshedivat#697)

* fix theme

* fix theme

Co-authored-by: rohandebsarkar <[email protected]>

* Add support for CV (alshedivat#628)

* Minor changes and fixes (alshedivat#726)

* Support for cicular image (alshedivat#728)

* Adds vertical scrollbar to news (alshedivat#729)

* Update Lighthouse PageSpeed Insights

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

* Adds support for preview images for publications (alshedivat#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 <[email protected]>

* Update _layouts/bib.html

Co-authored-by: Maruan <[email protected]>

* Update _layouts/bib.html

Co-authored-by: Maruan <[email protected]>

* Update _layouts/bib.html

Co-authored-by: Maruan <[email protected]>

* Update _sass/_base.scss

Co-authored-by: Maruan <[email protected]>

* Update _sass/_base.scss

Co-authored-by: Maruan <[email protected]>

Co-authored-by: Maruan <[email protected]>

* Adds support for tag-list (alshedivat#734)

* Adds support for tag-list

* Update _sass/_base.scss

Co-authored-by: Maruan <[email protected]>

* Made tags optional

* Responsive deign for tag-list

Co-authored-by: Maruan <[email protected]>

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

* add star (alshedivat#744)

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

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

* Fix responsive image (alshedivat#748)

* fix

* base url

* Revert "base url"

This reverts commit 2e81d32.

* fix

* Better bundler caching for GitHub Actions (alshedivat#750)

* Better caching for GitHub Actions

* Update `actions/checkout` to `v3`

* docs: add alshedivat as a contributor for design, code (alshedivat#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 <[email protected]>

* docs: add rohandebsarkar as a contributor for code (alshedivat#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  (alshedivat#532)

* docs: add pourmand1376 as a contributor for code (alshedivat#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` (alshedivat#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 <[email protected]>
Co-authored-by: Maruan <[email protected]>

* Fix scripts (alshedivat#755)

* Include bootstrap bundle (alshedivat#756)

* Bootstrap js SRI fix (alshedivat#757)

* fix more authors bug (alshedivat#758)

* fix more authors bug

* fix

* add preview

Co-authored-by: Rohan Deb Sarkar <[email protected]>

* Optimize image qualities and a fix (alshedivat#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 (alshedivat#767)

* Add Tags for Docker Images (alshedivat#754)

* Adds support for repositories (alshedivat#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 a9dd4d5.

* add last line

* fix

* github only

* fix

* Add instructions

* Add `README.md` instructions

* Add `nav_order`

* Adds support for GA4 Google Analytics (alshedivat#727)

* Update `analytics.html`

* Update `config.yml`

* Update

* Update

* Added my webpage to the list (alshedivat#788)

Added my webpage to the list.

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

* fix title

* fix a few links

* add line

* Add website (alshedivat#802)

* Fix commas in author list (alshedivat#770)

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

* Add personal page (alshedivat#812)

* Update README.md

* add page (alshedivat#817)

* fix alshedivat#814 (alshedivat#818)

* fixe typos (alshedivat#823)

* Fix grammar (alshedivat#848)

* Update 2018-12-22-distill.md

* Update README.md

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

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

* Add dominikstrb's personal page (alshedivat#880)

Added a link to my personal website to the README

* Add Semantic Scholar social integration (alshedivat#879)

* add more social media (alshedivat#878)

alshedivat#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 (alshedivat#905)

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

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

* Improve info about theme colors (alshedivat#911)

* Add docker badges (alshedivat#888)

* Update README.md

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

As reported in alshedivat#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 (alshedivat#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 alshedivat#929

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

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

Signed-off-by: George Araujo <[email protected]>

* Slugify tag and category links (alshedivat#947)

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

* Update README.md (alshedivat#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 (alshedivat#957)

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

* Add a progress bar to show the scroll position (alshedivat#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 alshedivat#557

Co-authored-by: rohandebsarkar <[email protected]>

* Enable progress bar by default

* Add WhatsApp to social integration (alshedivat#945)

* Add altmetric badges to paper (alshedivat#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  (alshedivat#875)

This file makes it easier for windows users to use docker. (Closes alshedivat#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 (alshedivat#974)

* Add Junshen's personal page (alshedivat#979)

Added a link to my personal website to the README.

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

Fixes alshedivat#980.

* Add backlink to verify mastodon (alshedivat#978)

* New update to GH Actions: Deprecating `save-state` and `set-output` commands (alshedivat#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 (alshedivat#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 (alshedivat#992)

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

Fixes alshedivat#820.

Explanation:
alshedivat#969 (comment)

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

* Update README.md (alshedivat#1014)

Adding my webpage.

* ADD More Clear Explanations in README (alshedivat#1012)

* Add Container Name (alshedivat#1021)

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

* Add support for giscus comments (alshedivat#1028)

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

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

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

* Add Pre-commit Hook (alshedivat#801)

* Improve bib layout for thesis (alshedivat#920)

* add star to readme (alshedivat#1064)

* Add youtube as a social option (alshedivat#1007)

* Fix medium zoom on small devices (alshedivat#1084)

fixes alshedivat#1006

* Fix SRI hash (alshedivat#1087)

Sorry, forgot to change the SRI.

* Fix Docker Problem (alshedivat#1074)

* Adds Dimensions badge (alshedivat#1086)

This adds a dimension badge as requested in alshedivat#987.

This separates the the links from the badges, in case more badges need to be added in the future.

* Add news page (alshedivat#1085)

fixes alshedivat#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 (alshedivat#1093)

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

* Update favicon emoji length limit (alshedivat#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 alshedivat#1096

* fix distill hyperlink color (alshedivat#1113)

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

fixes alshedivat#1105

* fix: small typo (alshedivat#1143)

fix a small typo

* Use figure for bib entry preview (alshedivat#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 <[email protected]>

* Add CogSci workshop to list of workshops in README (alshedivat#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 (alshedivat#1178)

Adding my portfolio website to the list.

* Added george-gca academic site (alshedivat#1183)

Added new academic site

Signed-off-by: George Araújo <[email protected]>

Signed-off-by: George Araújo <[email protected]>

* Update README.md to encourage people to use `Use this template`  (alshedivat#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 <[email protected]>

* Add OSF to social (alshedivat#1185)

* Update README.md

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

* Added related posts section (alshedivat#1168)

* Add star to academic portfolios (alshedivat#1202)

* feat: add wikipedia social (alshedivat#1097)

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

* OSF social link (alshedivat#1217)

Added missing "/" in the OSF link.

* Added information about using github action (alshedivat#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 <[email protected]>

* Added github 🏆 section in repositories (alshedivat#1229)

Creates a new section with user trophies.

* Replace bin/deploy with GitHub Action (alshedivat#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 (alshedivat#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 (alshedivat#1266)

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

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

* Implemented copy code button feature (alshedivat#1267)

Implemented support for copy code button in code blocks (alshedivat#1262), also updated blog post about code to reflect it.

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

* update readme + remove sponsorship info (alshedivat#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) (alshedivat#1288)

* Update README - Add new profile (alshedivat#1285)

* Moved information about creating your repo to front (alshedivat#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 <[email protected]>

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

* Fix assets sitemap exclusion (alshedivat#1315)

* Implemented latest posts on about page (alshedivat#1307)

Adresses alshedivat#340

---------

Signed-off-by: George Araújo <[email protected]>

* Implemented details tag for distill blog  (alshedivat#1321)

* Fix publication button spacing (alshedivat#1322)

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

* Update README.md

---------

Signed-off-by: George Araujo <[email protected]>
Signed-off-by: Zuhair AlSader <[email protected]>
Signed-off-by: George Araújo <[email protected]>
Co-authored-by: Maruan <[email protected]>
Co-authored-by: Riddhiman Adib <[email protected]>
Co-authored-by: Julian Streyczek <[email protected]>
Co-authored-by: Sebastian Daza <[email protected]>
Co-authored-by: Maik Wöhl <[email protected]>
Co-authored-by: Amir Pourmand <[email protected]>
Co-authored-by: Rohan Deb Sarkar <[email protected]>
Co-authored-by: Maruan Al-Shedivat <[email protected]>
Co-authored-by: Steven Rick <[email protected]>
Co-authored-by: José M. Requena Plens <[email protected]>
Co-authored-by: Maruan Al-Shedivat <[email protected]>
Co-authored-by: Dinesh Natesan <[email protected]>
Co-authored-by: Edsuns <[email protected]>
Co-authored-by: Karim de Fombelle <[email protected]>
Co-authored-by: Xiaochen Zhu <[email protected]>
Co-authored-by: Nipuna Weerasekara <[email protected]>
Co-authored-by: Julian Lehrer <[email protected]>
Co-authored-by: Jun-Liang Lin <[email protected]>
Co-authored-by: Ali Kuwajerwala <[email protected]>
Co-authored-by: Scott Lee Chua <[email protected]>
Co-authored-by: Jack Lloyd-Walters <[email protected]>
Co-authored-by: Vanshaj Kerni <[email protected]>
Co-authored-by: yyang768osu <[email protected]>
Co-authored-by: Viraj Thakkar <[email protected]>
Co-authored-by: Jiashu Xu <[email protected]>
Co-authored-by: Kun Wu <[email protected]>
Co-authored-by: Amala Wilson <[email protected]>
Co-authored-by: Tirtharaj Dash <[email protected]>
Co-authored-by: Guillaume Dalle <[email protected]>
Co-authored-by: Tønnes Nygaard <[email protected]>
Co-authored-by: Carolina Carreira <[email protected]>
Co-authored-by: Rohan Deb Sarkar <[email protected]>
Co-authored-by: Manan Dey <[email protected]>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Congcong Li <[email protected]>
Co-authored-by: johanneshoerner <[email protected]>
Co-authored-by: Ioannis Mavromatis <[email protected]>
Co-authored-by: gzwongkk <[email protected]>
Co-authored-by: Leandro A. Bugnon <[email protected]>
Co-authored-by: Tai D Nguyen <[email protected]>
Co-authored-by: Yavuz Alp Sencer ÖZTÜRK <[email protected]>
Co-authored-by: wristy <[email protected]>
Co-authored-by: Lucas Hosseini <[email protected]>
Co-authored-by: Dominik Straub <[email protected]>
Co-authored-by: Amir Hossein Kargaran <[email protected]>
Co-authored-by: Josh Veitch-Michaelis <[email protected]>
Co-authored-by: Carlos Morales <[email protected]>
Co-authored-by: George <[email protected]>
Co-authored-by: Simmo Saan <[email protected]>
Co-authored-by: Tyler Barna <[email protected]>
Co-authored-by: Miroslav Suzara <[email protected]>
Co-authored-by: Muhamamd Naufal Shidqi <[email protected]>
Co-authored-by: bruno vianna <[email protected]>
Co-authored-by: Junshen Xu <[email protected]>
Co-authored-by: Alireza Dehghanzadeh <[email protected]>
Co-authored-by: Andreas Kuster <[email protected]>
Co-authored-by: Andrea Gasparini <[email protected]>
Co-authored-by: Ellis Brown <[email protected]>
Co-authored-by: Noman Bashir <[email protected]>
Co-authored-by: Fares Meghdouri <[email protected]>
Co-authored-by: Mohammad Qodrati <[email protected]>
Co-authored-by: djherron <[email protected]>
Co-authored-by: Philip Wong <[email protected]>
Co-authored-by: Rohan Deb Sarkar <[email protected]>
Co-authored-by: Rodo-Singh <[email protected]>
Co-authored-by: ZhengLin Li <[email protected]>
Co-authored-by: Zuhair AlSader <[email protected]>
Co-authored-by: Kushin Mukherjee <[email protected]>
Co-authored-by: Divakar Verma <[email protected]>
Co-authored-by: Kotaro Suto <[email protected]>
Co-authored-by: Mathias Micheel <[email protected]>
Co-authored-by: Bashir Kazimi <[email protected]>
Co-authored-by: Allie <[email protected]>
Co-authored-by: Scott Lee Chua <[email protected]>
Co-authored-by: Do Hai Son <[email protected]>
Co-authored-by: Douglas <[email protected]>
Co-authored-by: Raphael Azorin <[email protected]>
Co-authored-by: Chen Chen <[email protected]>
Co-authored-by: gaspardbb <[email protected]>
davidxwu pushed a commit to davidxwu/davidxwu.github.io that referenced this pull request Oct 30, 2023
antchristou pushed a commit to antchristou/antchristou.github.io that referenced this pull request Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants