From a13f7d243ca0137c4110c49d5998a3ea1ede5cbc Mon Sep 17 00:00:00 2001 From: Maruan Al-Shedivat Date: Sat, 6 Jan 2024 16:41:35 -0500 Subject: [PATCH 01/10] Format code with prettier.io --- .all-contributorsrc | 21 +- .github/ISSUE_TEMPLATE/bug_report.md | 14 +- .github/ISSUE_TEMPLATE/feature_request.md | 5 +- .github/workflows/deploy-docker-tag.yml | 64 +- .github/workflows/deploy-image.yml | 46 +- .github/workflows/deploy.yml | 55 +- .github/workflows/docker-slim.yml | 60 +- .gitignore | 1 + .pre-commit-config.yaml | 10 +- .prettierignore | 7 + .prettierrc | 3 + CONTRIBUTING.md | 9 +- CUSTOMIZE.md | 34 +- INSTALL.md | 8 +- README.md | 39 +- _config.yml | 91 +- _data/coauthors.yml | 2 +- _data/cv.yml | 8 +- _includes/audio.html | 6 +- _includes/cv/list.html | 8 +- _includes/cv/map.html | 47 +- _includes/cv/nested_list.html | 26 +- _includes/cv/time_table.html | 194 +- _includes/disqus.html | 22 +- _includes/figure.html | 17 +- _includes/footer.html | 44 +- _includes/giscus.html | 38 +- _includes/head.html | 104 +- _includes/header.html | 207 +- _includes/latest_posts.html | 73 +- _includes/metadata.html | 441 +- _includes/news.html | 54 +- _includes/pagination.html | 14 +- _includes/related_posts.html | 17 +- _includes/repository/repo.html | 21 +- _includes/repository/repo_trophies.html | 36 +- _includes/repository/repo_user.html | 12 +- _includes/resume/awards.html | 22 +- _includes/resume/basics.html | 15 +- _includes/resume/certificates.html | 58 +- _includes/resume/education.html | 33 +- _includes/resume/interests.html | 55 +- _includes/resume/languages.html | 53 +- _includes/resume/projects.html | 25 +- _includes/resume/publications.html | 53 +- _includes/resume/references.html | 53 +- _includes/resume/skills.html | 55 +- _includes/resume/volunteer.html | 30 +- _includes/resume/work.html | 30 +- _includes/scripts/analytics.html | 37 +- _includes/scripts/badges.html | 7 +- _includes/scripts/bootstrap.html | 10 +- _includes/scripts/jquery.html | 6 +- _includes/scripts/masonry.html | 17 +- _includes/scripts/mathjax.html | 29 +- _includes/scripts/mermaid.html | 70 +- _includes/scripts/misc.html | 45 +- _includes/scripts/progressBar.html | 8 +- _includes/scripts/wechatModal.html | 22 +- _includes/selected_papers.html | 5 +- _includes/social.html | 198 +- _includes/video.html | 202 +- _layouts/about.html | 129 +- _layouts/archive-category.html | 8 +- _layouts/archive-tag.html | 8 +- _layouts/archive-year.html | 8 +- _layouts/bib.html | 415 +- _layouts/cv.html | 118 +- _layouts/default.html | 64 +- _layouts/distill.html | 120 +- _layouts/page.html | 20 +- _layouts/post.html | 85 +- _layouts/profiles.html | 66 +- _news/announcement_2.md | 5 +- _pages/about.md | 8 +- _pages/about_einstein.md | 2 +- _pages/blog.md | 66 +- _pages/dropdown.md | 18 +- _pages/profiles.md | 2 +- _pages/projects.md | 9 +- _pages/publications.md | 1 + _pages/repositories.md | 7 +- _posts/2015-03-15-formatting-and-links.md | 6 +- _posts/2015-05-15-images.md | 3 +- _posts/2015-07-15-code.md | 16 +- _posts/2015-10-20-disqus-comments.md | 1 + _posts/2015-10-20-math.md | 3 +- _posts/2018-12-22-distill.md | 76 +- _posts/2020-09-28-github-metadata.md | 75 +- _posts/2020-09-28-twitter.md | 44 +- _posts/2021-07-04-diagrams.md | 5 +- _posts/2022-12-10-giscus-comments.md | 1 + _posts/2023-03-20-table-of-contents.md | 3 + _posts/2023-03-21-tables.md | 24 +- _posts/2023-04-24-videos.md | 5 +- _posts/2023-04-25-audios.md | 3 +- .../2023-04-25-sidebar-table-of-contents.md | 4 + _posts/2023-05-12-custom-blockquotes.md | 38 +- _posts/2023-07-04-jupyter-notebook.md | 18 +- _posts/2023-07-12-post-bibliography.md | 1 + _posts/2023-12-12-tikzjax.md | 5 +- _projects/1_project.md | 16 +- _projects/2_project.md | 16 +- _projects/3_project.md | 16 +- _projects/4_project.md | 16 +- _projects/5_project.md | 16 +- _projects/6_project.md | 16 +- _sass/_base.scss | 60 +- _sass/_cv.scss | 4 +- _sass/_distill.scss | 35 +- _sass/_layout.scss | 9 +- _sass/_themes.scss | 186 +- _sass/_variables.scss | 48 +- _sass/font-awesome/_animated.scss | 106 +- _sass/font-awesome/_bordered-pulled.scss | 8 +- _sass/font-awesome/_core.scss | 7 +- _sass/font-awesome/_functions.scss | 4 +- _sass/font-awesome/_icons.scss | 5 +- _sass/font-awesome/_list.scss | 4 +- _sass/font-awesome/_mixins.scss | 9 +- _sass/font-awesome/_rotated-flipped.scss | 2 +- _sass/font-awesome/_shims.scss | 1861 +- _sass/font-awesome/_sizing.scss | 2 +- _sass/font-awesome/_variables.scss | 66 +- _sass/font-awesome/brands.scss | 22 +- _sass/font-awesome/fontawesome.scss | 26 +- _sass/font-awesome/regular.scss | 18 +- _sass/font-awesome/solid.scss | 18 +- _sass/font-awesome/v4-shims.scss | 6 +- assets/css/jekyll-pygments-themes-github.css | 269 +- assets/css/jekyll-pygments-themes-native.css | 301 +- assets/css/jupyter-grade3.css | 4178 +-- assets/css/jupyter-monokai.css | 4178 +-- assets/css/jupyter.css | 558 +- assets/js/bootstrap-toc.min.js | 95 +- assets/js/bootstrap.bundle.min.js | 3397 ++- assets/js/common.js | 32 +- assets/js/copy_code.js | 33 +- assets/js/distillpub/overrides.js | 52 +- assets/js/distillpub/template.v2.js | 7675 +++--- assets/js/distillpub/transforms.v2.js | 22800 ++++++++-------- assets/js/masonry.js | 10 +- assets/js/mdb.min.js | 7874 +++++- assets/js/no_defer.js | 19 +- assets/js/theme.js | 311 +- assets/js/zoom.js | 9 +- assets/json/resume.json | 42 +- assets/json/table_data.json | 254 +- docker-compose.yml | 22 +- package-lock.json | 94 + package.json | 6 + purgecss.config.js | 15 +- 152 files changed, 36727 insertions(+), 22585 deletions(-) create mode 100644 .prettierignore create mode 100644 .prettierrc create mode 100644 package-lock.json create mode 100644 package.json diff --git a/.all-contributorsrc b/.all-contributorsrc index cfa9c210cd12..99b43da46864 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1,7 +1,5 @@ { - "files": [ - "README.md" - ], + "files": ["README.md"], "imageSize": 100, "commit": false, "contributorsPerLine": 7, @@ -18,37 +16,28 @@ "name": "Maruan", "avatar_url": "https://avatars.githubusercontent.com/u/2126561?v=4", "profile": "http://maruan.alshedivat.com", - "contributions": [ - "design", - "code" - ] + "contributions": ["design", "code"] }, { "login": "rohandebsarkar", "name": "Rohan Deb Sarkar", "avatar_url": "https://avatars.githubusercontent.com/u/50144004?v=4", "profile": "http://rohandebsarkar.github.io", - "contributions": [ - "code" - ] + "contributions": ["code"] }, { "login": "pourmand1376", "name": "Amir Pourmand", "avatar_url": "https://avatars.githubusercontent.com/u/32064808?v=4", "profile": "https://amirpourmand.ir", - "contributions": [ - "code" - ] + "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" - ] + "contributions": ["code"] } ], "commitConvention": "angular" diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 511f585150ba..b21049ecaafa 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,13 +1,13 @@ --- name: Bug report about: Create a report to help us improve -title: '' +title: "" labels: bug -assignees: '' - +assignees: "" --- **Acknowledge the following** + - [ ] I carefully read and followed the [Getting Started](https://github.com/alshedivat/al-folio#getting-started) guide. - [ ] I read through [FAQ](https://github.com/alshedivat/al-folio#faq) and searched through the [past issues](https://github.com/alshedivat/al-folio/issues), none of which addressed my issue. - [ ] The issue I am raising is a potential bug in al-folio and not just a usage question.
[For usage questions, please post in the [Discussions](https://github.com/alshedivat/al-folio/discussions) instead of raising an issue.] @@ -17,6 +17,7 @@ A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' @@ -29,9 +30,10 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **System (please complete the following information):** - - OS: [e.g. iOS] - - Browser (and its version) [e.g. chrome, safari] - - Jekyll version [e.g. 3.8.7] + +- OS: [e.g. iOS] +- Browser (and its version) [e.g. chrome, safari] +- Jekyll version [e.g. 3.8.7] - Ruby version [e.g. 2.6.5] **Additional context** diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 11fc491ef1da..d883b8f2df94 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,10 +1,9 @@ --- name: Feature request about: Suggest an idea for this project -title: '' +title: "" labels: enhancement -assignees: '' - +assignees: "" --- **Is your feature request related to a problem? Please describe.** diff --git a/.github/workflows/deploy-docker-tag.yml b/.github/workflows/deploy-docker-tag.yml index db9f8fcc0bf0..188dc5272b5e 100644 --- a/.github/workflows/deploy-docker-tag.yml +++ b/.github/workflows/deploy-docker-tag.yml @@ -3,43 +3,39 @@ name: Docker Image CI (Upload Tag) on: push: tags: - - 'v*' + - "v*" jobs: - build: - runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Buildx - uses: docker/setup-buildx-action@v2 - - - - name: Docker meta - id: meta - uses: docker/metadata-action@v4 - with: - images: amirpourmand/al-folio - - - name: Login - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build and push - uses: docker/build-push-action@v3 - with: - context: . - platforms: linux/amd64,linux/arm64/v8 - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + - name: Buildx + uses: docker/setup-buildx-action@v2 + + - name: Docker meta + id: meta + uses: docker/metadata-action@v4 + with: + images: amirpourmand/al-folio + + - name: Login + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Build and push + uses: docker/build-push-action@v3 + with: + context: . + platforms: linux/amd64,linux/arm64/v8 + push: ${{ github.event_name != 'pull_request' }} + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.yml index 3582c4e84cd3..13dd3ffc13d2 100644 --- a/.github/workflows/deploy-image.yml +++ b/.github/workflows/deploy-image.yml @@ -2,35 +2,33 @@ name: Docker Image CI on: push: - branches: [ master ] - -jobs: + branches: [master] +jobs: build: - runs-on: ubuntu-latest if: github.repository_owner == 'alshedivat' steps: - - name: Checkout - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + - name: Buildx + uses: docker/setup-buildx-action@v2 - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Buildx - uses: docker/setup-buildx-action@v2 + - name: Login + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - - name: Login - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build and push - uses: docker/build-push-action@v4 - with: - context: . - push: true - platforms: linux/amd64,linux/arm64/v8 - tags: amirpourmand/al-folio + - name: Build and push + uses: docker/build-push-action@v4 + with: + context: . + push: true + platforms: linux/amd64,linux/arm64/v8 + tags: amirpourmand/al-folio diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ba61f8a84be2..9bae54864cc9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,31 +19,30 @@ jobs: # available images: https://github.com/actions/runner-images#available-images runs-on: ubuntu-latest steps: - - name: Checkout ๐Ÿ›Ž๏ธ - uses: actions/checkout@v3 - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.2.2' - bundler-cache: true - - name: Update _config.yml โš™๏ธ - uses: fjogeleit/yaml-update-action@v0.13.1 - with: - commitChange: false - valueFile: '_config.yml' - propertyPath: 'giscus.repo' - value: ${{ github.repository }} - - name: Install and Build ๐Ÿ”ง - run: | - pip3 install --upgrade jupyter - npm install -g mermaid.cli - npm install -g purgecss - export JEKYLL_ENV=production - bundle exec jekyll build --lsi - purgecss -c purgecss.config.js - - name: Deploy ๐Ÿš€ - if: github.event_name != 'pull_request' - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: _site - + - name: Checkout ๐Ÿ›Ž๏ธ + uses: actions/checkout@v3 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.2.2" + bundler-cache: true + - name: Update _config.yml โš™๏ธ + uses: fjogeleit/yaml-update-action@v0.13.1 + with: + commitChange: false + valueFile: "_config.yml" + propertyPath: "giscus.repo" + value: ${{ github.repository }} + - name: Install and Build ๐Ÿ”ง + run: | + pip3 install --upgrade jupyter + npm install -g mermaid.cli + npm install -g purgecss + export JEKYLL_ENV=production + bundle exec jekyll build --lsi + purgecss -c purgecss.config.js + - name: Deploy ๐Ÿš€ + if: github.event_name != 'pull_request' + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: _site diff --git a/.github/workflows/docker-slim.yml b/.github/workflows/docker-slim.yml index 54a3c19026d7..aafb5624d052 100644 --- a/.github/workflows/docker-slim.yml +++ b/.github/workflows/docker-slim.yml @@ -7,12 +7,12 @@ on: types: - completed -# on: +# on: # push: -# branches: +# branches: # - 'master' -jobs: +jobs: build: runs-on: ubuntu-latest if: github.repository_owner == 'alshedivat' @@ -22,30 +22,30 @@ jobs: working-directory: ${{ github.workspace }} steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Login - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: update docker-compose - shell: bash - run: | - sed -i "s|\.:|${{ github.workspace }}:|g" ${{ github.workspace }}/docker-compose.yml - cat ${{ github.workspace }}/docker-compose.yml - - - uses: kitabisa/docker-slim-action@v1.0.3 - env: - DSLIM_PULL: true - DSLIM_COMPOSE_FILE: ${{ github.workspace }}/docker-compose.yml - DSLIM_TARGET_COMPOSE_SVC: jekyll - DSLIM_CONTINUE_AFTER: signal - with: - target: amirpourmand/al-folio - tag: "slim" - - # Push to the registry - - run: docker image push amirpourmand/al-folio:slim + - name: Checkout + uses: actions/checkout@v3 + + - name: Login + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + - name: update docker-compose + shell: bash + run: | + sed -i "s|\.:|${{ github.workspace }}:|g" ${{ github.workspace }}/docker-compose.yml + cat ${{ github.workspace }}/docker-compose.yml + + - uses: kitabisa/docker-slim-action@v1.0.3 + env: + DSLIM_PULL: true + DSLIM_COMPOSE_FILE: ${{ github.workspace }}/docker-compose.yml + DSLIM_TARGET_COMPOSE_SVC: jekyll + DSLIM_CONTINUE_AFTER: signal + with: + target: amirpourmand/al-folio + tag: "slim" + + # Push to the registry + - run: docker image push amirpourmand/al-folio:slim diff --git a/.gitignore b/.gitignore index b97cf91da550..805ebc4e815d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,6 @@ _site .ruby-version .tweet-cache Gemfile.lock +node_modules/ vendor diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca7e46543084..d61cba840b0d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,10 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: -- repo: https://github.com/pre-commit/pre-commit-hooks + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - - id: check-added-large-files + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000000..589d264cd449 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,7 @@ +*.min.css +_includes/audio.html +_includes/figure.html +_includes/metadata.html +_includes/news.html +_includes/related_posts.html +assets/plotly/demo.html diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 000000000000..0163f1997d14 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,3 @@ +plugins: ["@shopify/prettier-plugin-liquid"] +printWidth: 150 +trailingComma: "es5" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 349456bf9032..52602003b4bb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,25 +1,26 @@ # Contributing to al-folio -Thank you for considering to contribute to al-folio! +Thank you for considering to contribute to al-folio! ## Pull Requests + We welcome your pull requests (PRs). For minor fixes (e.g., documentation improvements), feel free to submit a PR directly. If you would like to implement a new feature or a bug, please make sure you (or someone else) has opened an appropriate issue first; in your PR, please mention the issue it addresses. - ## Issues + We use GitHub issues to track bugs and feature requests. Before submitting an issue, please make sure: 1. You have read [the FAQ section](https://github.com/alshedivat/al-folio#faq) of the README and your question is NOT addressed there. 2. You have done your best to ensure that your issue is NOT a duplicate of one of [the previous issues](https://github.com/alshedivat/al-folio/issues). 3. Your issue is either a bug (unexpected/undesirable behavior) or a feature request. -If it is just a question, please ask it in the [Discussions](https://github.com/alshedivat/al-folio/discussions) forum. + If it is just a question, please ask it in the [Discussions](https://github.com/alshedivat/al-folio/discussions) forum. When submitting an issue, please make sure to use the appropriate template. - ## License + By contributing to al-folio, you agree that your contributions will be licensed under the LICENSE file in the root directory of the source tree. diff --git a/CUSTOMIZE.md b/CUSTOMIZE.md index 518ef0ae052e..a12533c01e2c 100644 --- a/CUSTOMIZE.md +++ b/CUSTOMIZE.md @@ -36,7 +36,7 @@ The project is structured as follows, focusing on the main components that you w ## Configuration -The configuration file [_config.yml](_config.yml) contains the main configuration of the website. Most of the settings is self-explanatory and we also tried to add as much comments as possible. If you have any questions, please check if it was not already answered in the [FAQ](FAQ.md). +The configuration file [\_config.yml](_config.yml) contains the main configuration of the website. Most of the settings is self-explanatory and we also tried to add as much comments as possible. If you have any questions, please check if it was not already answered in the [FAQ](FAQ.md). > Note that the `url` and `baseurl` settings are used to generate the links of the website, as explained in the [install instructions](INSTALL.md). @@ -44,47 +44,47 @@ All changes made to this file are only visible after you rebuild the website. Th ## Modifying the CV information -There are currently 2 different ways of generating the CV page content. The first one is by using a json file located in [assets/json/resume.json](assets/json/resume.json). It is a [known standard](https://jsonresume.org/) for creating a CV programmatically. The second one, currently used as a fallback when the json file is not found, is by using a yml file located in [_data/cv.yml](_data/cv.yml). This was the original way of creating the CV page content and since it is more human readable than a json file we decided to keep it as an option. +There are currently 2 different ways of generating the CV page content. The first one is by using a json file located in [assets/json/resume.json](assets/json/resume.json). It is a [known standard](https://jsonresume.org/) for creating a CV programmatically. The second one, currently used as a fallback when the json file is not found, is by using a yml file located in [\_data/cv.yml](_data/cv.yml). This was the original way of creating the CV page content and since it is more human readable than a json file we decided to keep it as an option. -What this means is, if there is no resume data defined in [_config.yml](_config.yml) and loaded via a json file, it will load the contents of [_data/cv.yml](_data/cv.yml). If you want to use the [_data/cv.yml](_data/cv.yml) file as the source of your CV, you must delete the [assets/json/resume.json](assets/json/resume.json) file. +What this means is, if there is no resume data defined in [\_config.yml](_config.yml) and loaded via a json file, it will load the contents of [\_data/cv.yml](_data/cv.yml). If you want to use the [\_data/cv.yml](_data/cv.yml) file as the source of your CV, you must delete the [assets/json/resume.json](assets/json/resume.json) file. ## Modifying the user and repository information -The user and repository information is defined in [_data/repositories.yml](_data/repositories.yml). You can add as many users and repositories as you want. Both informations are used in the `repositories` section. +The user and repository information is defined in [\_data/repositories.yml](_data/repositories.yml). You can add as many users and repositories as you want. Both informations are used in the `repositories` section. ## Creating new pages -You can create new pages by adding new Markdown files in the [_pages](_pages/) directory. The easiest way to do this is to copy an existing page and modify it. You can choose the layout of the page in the [frontmatter](https://jekyllrb.com/docs/front-matter/) of the Markdown file. You can also add new layouts in the [_layouts](_layouts/) directory if you feel the need for it. +You can create new pages by adding new Markdown files in the [\_pages](_pages/) directory. The easiest way to do this is to copy an existing page and modify it. You can choose the layout of the page in the [frontmatter](https://jekyllrb.com/docs/front-matter/) of the Markdown file. You can also add new layouts in the [\_layouts](_layouts/) directory if you feel the need for it. ## Creating new blog posts -To create a new blog post, you can add a new Markdown file in the [_posts](_posts/) directory. The name of the file must follow the format `YYYY-MM-DD-title.md`. The easiest way to do this is to copy an existing blog post and modify it. Note that some blog posts have optional fields in the [frontmatter](https://jekyllrb.com/docs/front-matter/) that are used to enable specific behaviors or functions. +To create a new blog post, you can add a new Markdown file in the [\_posts](_posts/) directory. The name of the file must follow the format `YYYY-MM-DD-title.md`. The easiest way to do this is to copy an existing blog post and modify it. Note that some blog posts have optional fields in the [frontmatter](https://jekyllrb.com/docs/front-matter/) that are used to enable specific behaviors or functions. -If you want to create blog posts that are not ready to be published, but you want to track it with git, you can create a [_drafts](https://jekyllrb.com/docs/posts/#drafts) directory and store them there. +If you want to create blog posts that are not ready to be published, but you want to track it with git, you can create a [\_drafts](https://jekyllrb.com/docs/posts/#drafts) directory and store them there. ## Creating new projects -You can create new projects by adding new Markdown files in the [_projects](_projects/) directory. The easiest way to do this is to copy an existing project and modify it. +You can create new projects by adding new Markdown files in the [\_projects](_projects/) directory. The easiest way to do this is to copy an existing project and modify it. ## Adding some news -You can add news in the about page by adding new Markdown files in the [_news](_news/) directory. There are currently two types of news: inline news and news with a link. News with a link take you to a new page while inline news are displayed directly in the about page. The easiest way to create yours is to copy an existing news and modify it. +You can add news in the about page by adding new Markdown files in the [\_news](_news/) directory. There are currently two types of news: inline news and news with a link. News with a link take you to a new page while inline news are displayed directly in the about page. The easiest way to create yours is to copy an existing news and modify it. ## Adding Collections This Jekyll theme implements `collections` to let you break up your work into categories. The theme comes with two default collections: `news` and `projects`. Items from the `news` collection are automatically displayed on the home page. Items from the `projects` collection are displayed on a responsive grid on projects page. -You can easily create your own collections, apps, short stories, courses, or whatever your creative work is. To do this, edit the collections in the [_config.yml](_config.yml) file, create a corresponding folder, and create a landing page for your collection, similar to [_pages/projects.md](_pages/projects.md). +You can easily create your own collections, apps, short stories, courses, or whatever your creative work is. To do this, edit the collections in the [\_config.yml](_config.yml) file, create a corresponding folder, and create a landing page for your collection, similar to [\_pages/projects.md](_pages/projects.md). ## Adding a new publication -To add publications create a new entry in the [_bibliography/papers.bib](_bibliography/papers.bib) file. You can find the BibTeX entry of a publication in Google Scholar by clicking on the quotation marks below the publication title, then clicking on "BibTeX", or also in the conference page itself. By default, the publications will be sorted by year and the most recent will be displayed first. You can change this behavior and more in the `Jekyll Scholar` section in [_config.yml](_config.yml) file. +To add publications create a new entry in the [\_bibliography/papers.bib](_bibliography/papers.bib) file. You can find the BibTeX entry of a publication in Google Scholar by clicking on the quotation marks below the publication title, then clicking on "BibTeX", or also in the conference page itself. By default, the publications will be sorted by year and the most recent will be displayed first. You can change this behavior and more in the `Jekyll Scholar` section in [\_config.yml](_config.yml) file. You can add extra information to a publication, like a PDF file in the `assets/pdfs/` directory and add the path to the PDF file in the BibTeX entry with the `pdf` field. Some of the supported fields are: `abstract`, `altmetric`, `arxiv`, `bibtex_show`, `blog`, `code`, `dimensions`, `doi`, `eprint`, `html`, `isbn`, `pdf`, `pmid`, `poster`, `slides`, `supp`, `video`, and `website`. ### Author annotation -In publications, the author entry for yourself is identified by string array `scholar:last_name` and string array `scholar:first_name` in [_config.yml](_config.yml). For example, if you have the following entry in your [_config.yml](_config.yml): +In publications, the author entry for yourself is identified by string array `scholar:last_name` and string array `scholar:first_name` in [\_config.yml](_config.yml). For example, if you have the following entry in your [\_config.yml](_config.yml): ```yaml scholar: @@ -92,7 +92,7 @@ scholar: first_name: [Albert, A.] ``` -If the entry matches one form of the last names and the first names, it will be underlined. Keep meta-information about your co-authors in [_data/coauthors.yml](_data/coauthors.yml) and Jekyll will insert links to their webpages automatically. The co-author data format is as follows, +If the entry matches one form of the last names and the first names, it will be underlined. Keep meta-information about your co-authors in [\_data/coauthors.yml](_data/coauthors.yml) and Jekyll will insert links to their webpages automatically. The co-author data format is as follows, ```yaml "Adams": @@ -121,7 +121,7 @@ If the entry matches one of the combinations of the last names and the first nam There are several custom bibtex keywords that you can use to affect how the entries are displayed on the webpage: -- `abbr`: Adds an abbreviation to the left of the entry. You can add links to these by creating a venue.yaml-file in the _data folder and adding entries that match. +- `abbr`: Adds an abbreviation to the left of the entry. You can add links to these by creating a venue.yaml-file in the \_data folder and adding entries that match. - `abstract`: Adds an "Abs" button that expands a hidden text field when clicked to show the abstract text - `altmetric`: Adds an [Altmetric](https://www.altmetric.com/) badge (Note: if DOI is provided just use `true`, otherwise only add the altmetric identifier here - the link is generated automatically) - `arxiv`: Adds a link to the Arxiv website (Note: only add the arxiv identifier here - the link is generated automatically) @@ -136,12 +136,12 @@ There are several custom bibtex keywords that you can use to affect how the entr - `supp`: Adds a "Supp" button to a specified file (if a full link is not specified, the file will be assumed to be placed in the /assets/pdf/ directory) - `website`: Adds a "Website" button redirecting to the specified link -You can implement your own buttons by editing the [_layouts/bib.html](_layouts/bib.html) file. +You can implement your own buttons by editing the [\_layouts/bib.html](_layouts/bib.html) file. ## Changing theme color -A variety of beautiful theme colors have been selected for you to choose from. The default is purple, but you can quickly change it by editing the `--global-theme-color` variable in the [_sass/_themes.scss](_sass/_themes.scss) file. Other color variables are listed there as well. The stock theme color options available can be found at [_sass/_variables.scss](_sass/_variables.scss). You can also add your own colors to this file assigning each a name for ease of use across the template. +A variety of beautiful theme colors have been selected for you to choose from. The default is purple, but you can quickly change it by editing the `--global-theme-color` variable in the [\_sass/\_themes.scss](_sass/_themes.scss) file. Other color variables are listed there as well. The stock theme color options available can be found at [\_sass/\_variables.scss](_sass/_variables.scss). You can also add your own colors to this file assigning each a name for ease of use across the template. ## Adding social media information -You can add your social media links by adding the specified information at the `Social integration` section in the [_config.yml](_config.yml) file. This information will appear at the bottom of the `About` page. +You can add your social media links by adding the specified information at the `Social integration` section in the [\_config.yml](_config.yml) file. This information will appear at the bottom of the `About` page. diff --git a/INSTALL.md b/INSTALL.md index 2a7d3eb58464..8a55a604301a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -55,13 +55,13 @@ $ docker compose up --build If you want to use a specific docker version, you can do so by changing `latest` tag to `your_version` in `docker-compose.yaml`. For example, you might have created your website on `v0.10.0` and you want to stick with that. - Beta -You can also change the docker image tag to slim! It is a slimmed docker image with a size of below 100MBs (same functionality). + You can also change the docker image tag to slim! It is a slimmed docker image with a size of below 100MBs (same functionality). ## Local Setup (Legacy) For a hands-on walkthrough of running al-folio locally without using Docker, check out [this cool blog post](https://george-gca.github.io/blog/2022/running-local-al-folio/) by one of the community members! -Assuming you have [Ruby](https://www.ruby-lang.org/en/downloads/) and [Bundler](https://bundler.io/) installed on your system (*hint: for ease of managing ruby gems, consider using [rbenv](https://github.com/rbenv/rbenv)*), and also [Python](https://www.python.org/) and [pip](https://pypi.org/project/pip/) (*hint: for ease of managing python packages, consider using a virtual environment, like [venv](https://docs.python.org/pt-br/3/library/venv.html) or [conda](https://docs.conda.io/en/latest/)*). +Assuming you have [Ruby](https://www.ruby-lang.org/en/downloads/) and [Bundler](https://bundler.io/) installed on your system (_hint: for ease of managing ruby gems, consider using [rbenv](https://github.com/rbenv/rbenv)_), and also [Python](https://www.python.org/) and [pip](https://pypi.org/project/pip/) (_hint: for ease of managing python packages, consider using a virtual environment, like [venv](https://docs.python.org/pt-br/3/library/venv.html) or [conda](https://docs.conda.io/en/latest/)_). ```bash $ bundle install @@ -170,9 +170,9 @@ Then go to Actions -> New workflow -> set up a workflow yourself, setup the foll ```yaml name: Sync from template on: - # cronjob trigger + # cronjob trigger schedule: - - cron: "0 0 1 * *" + - cron: "0 0 1 * *" # manual trigger workflow_dispatch: jobs: diff --git a/README.md b/README.md index 81b3217ac224..92f39bccb190 100644 --- a/README.md +++ b/README.md @@ -232,9 +232,9 @@ This template has a built-in light/dark mode. It detects the user preferred colo ### CV -There are currently 2 different ways of generating the CV page content. The first one is by using a json file located in [assets/json/resume.json](assets/json/resume.json). It is a [known standard](https://jsonresume.org/) for creating a CV programmatically. The second one, currently used as a fallback when the json file is not found, is by using a yml file located in [_data/cv.yml](_data/cv.yml). This was the original way of creating the CV page content and since it is more human readable than a json file we decided to keep it as an option. +There are currently 2 different ways of generating the CV page content. The first one is by using a json file located in [assets/json/resume.json](assets/json/resume.json). It is a [known standard](https://jsonresume.org/) for creating a CV programmatically. The second one, currently used as a fallback when the json file is not found, is by using a yml file located in [\_data/cv.yml](_data/cv.yml). This was the original way of creating the CV page content and since it is more human readable than a json file we decided to keep it as an option. -What this means is, if there is no resume data defined in [_config.yml](_config.yml) and loaded via a json file, it will load the contents of [_data/cv.yml](_data/cv.yml) as fallback. +What this means is, if there is no resume data defined in [\_config.yml](_config.yml) and loaded via a json file, it will load the contents of [\_data/cv.yml](_data/cv.yml) as fallback. [![CV Preview](assets/img/readme_preview/cv.png)](https://alshedivat.github.io/al-folio/cv/) @@ -250,7 +250,7 @@ You can create a people page if you want to feature more than one person. Each p ### Publications -Your publications' page is generated automatically from your BibTex bibliography. Simply edit [_bibliography/papers.bib](_bibliography/papers.bib). You can also add new `*.bib` files and customize the look of your publications however you like by editing [_pages/publications.md](_pages/publications.md). By default, the publications will be sorted by year and the most recent will be displayed first. You can change this behavior and more in the `Jekyll Scholar` section in [_config.yml](_config.yml) file. +Your publications' page is generated automatically from your BibTex bibliography. Simply edit [\_bibliography/papers.bib](_bibliography/papers.bib). You can also add new `*.bib` files and customize the look of your publications however you like by editing [\_pages/publications.md](_pages/publications.md). By default, the publications will be sorted by year and the most recent will be displayed first. You can change this behavior and more in the `Jekyll Scholar` section in [\_config.yml](_config.yml) file. You can add extra information to a publication, like a PDF file in the [assets/pdf/](assets/pdf/) directory and add the path to the PDF file in the BibTeX entry with the `pdf` field. Some of the supported fields are: `abstract`, `altmetric`, `arxiv`, `bibtex_show`, `blog`, `code`, `dimensions`, `doi`, `eprint`, `html`, `isbn`, `pdf`, `pmid`, `poster`, `slides`, `supp`, `video`, and `website`. @@ -264,7 +264,7 @@ This Jekyll theme implements `collections` to let you break up your work into ca [![Projects Preview](assets/img/readme_preview/projects.png)](https://alshedivat.github.io/al-folio/projects/) -You can easily create your own collections, apps, short stories, courses, or whatever your creative work is. To do this, edit the collections in the [_config.yml](_config.yml) file, create a corresponding folder, and create a landing page for your collection, similar to `_pages/projects.md`. +You can easily create your own collections, apps, short stories, courses, or whatever your creative work is. To do this, edit the collections in the [\_config.yml](_config.yml) file, create a corresponding folder, and create a landing page for your collection, similar to `_pages/projects.md`. --- @@ -317,30 +317,23 @@ You may also use the following codes for displaying this in any other pages. {% if site.data.repositories.github_users %}
- {% for user in site.data.repositories.github_users %} - {% include repository/repo_user.html username=user %} - {% endfor %} + {% for user in site.data.repositories.github_users %} {% include repository/repo_user.html username=user %} {% endfor %}
{% endif %} -{% if site.repo_trophies.enabled %} -{% for user in site.data.repositories.github_users %} - {% if site.data.repositories.github_users.size > 1 %} -

{{ user }}

- {% endif %} -
- {% include repository/repo_trophies.html username=user %} -
-{% endfor %} +{% if site.repo_trophies.enabled %} {% for user in site.data.repositories.github_users %} {% if site.data.repositories.github_users.size > 1 %} +

{{ user }}

{% endif %} +
+ {% include repository/repo_trophies.html username=user %} +
+{% endfor %} {% endif %} {% if site.data.repositories.github_repos %}
- {% for repo in site.data.repositories.github_repos %} - {% include repository/repo.html repository=repo %} - {% endfor %} + {% for repo in site.data.repositories.github_repos %} {% include repository/repo.html repository=repo %} {% endfor %}
{% endif %} ``` @@ -349,15 +342,15 @@ You may also use the following codes for displaying this in any other pages. #### Theming -A variety of beautiful theme colors have been selected for you to choose from. The default is purple, but you can quickly change it by editing the `--global-theme-color` variable in the `_sass/_themes.scss` file. Other color variables are listed there as well. The stock theme color options available can be found at [_sass/_variables.scss](_sass/_variables.scss). You can also add your own colors to this file assigning each a name for ease of use across the template. +A variety of beautiful theme colors have been selected for you to choose from. The default is purple, but you can quickly change it by editing the `--global-theme-color` variable in the `_sass/_themes.scss` file. Other color variables are listed there as well. The stock theme color options available can be found at [\_sass/\_variables.scss](_sass/_variables.scss). You can also add your own colors to this file assigning each a name for ease of use across the template. --- #### Social media previews -**al-folio** supports preview images on social media. To enable this functionality you will need to set `serve_og_meta` to `true` in your [_config.yml](_config.yml). Once you have done so, all your site's pages will include Open Graph data in the HTML head element. +**al-folio** supports preview images on social media. To enable this functionality you will need to set `serve_og_meta` to `true` in your [\_config.yml](_config.yml). Once you have done so, all your site's pages will include Open Graph data in the HTML head element. -You will then need to configure what image to display in your site's social media previews. This can be configured on a per-page basis, by setting the `og_image` page variable. If for an individual page this variable is not set, then the theme will fall back to a site-wide `og_image` variable, configurable in your [_config.yml](_config.yml). In both the page-specific and site-wide cases, the `og_image` variable needs to hold the URL for the image you wish to display in social media previews. +You will then need to configure what image to display in your site's social media previews. This can be configured on a per-page basis, by setting the `og_image` page variable. If for an individual page this variable is not set, then the theme will fall back to a site-wide `og_image` variable, configurable in your [\_config.yml](_config.yml). In both the page-specific and site-wide cases, the `og_image` variable needs to hold the URL for the image you wish to display in social media previews. --- @@ -369,7 +362,7 @@ It generates an Atom (RSS-like) feed of your posts, useful for Atom and RSS read #### Related posts -By default, there will be a related posts section on the bottom of the blog posts. These are generated by selecting the `max_related` most recent posts that share at least `min_common_tags` tags with the current post. If you do not want to display related posts on a specific post, simply add `related_posts: false` to the front matter of the post. If you want to disable it for all posts, simply set `enabled` to false in the `related_blog_posts` section in [_config.yml](_config.yml). +By default, there will be a related posts section on the bottom of the blog posts. These are generated by selecting the `max_related` most recent posts that share at least `min_common_tags` tags with the current post. If you do not want to display related posts on a specific post, simply add `related_posts: false` to the front matter of the post. If you want to disable it for all posts, simply set `enabled` to false in the `related_blog_posts` section in [\_config.yml](_config.yml). ## FAQ diff --git a/_config.yml b/_config.yml index 1b0a278481e3..1aa6280fb0c9 100644 --- a/_config.yml +++ b/_config.yml @@ -13,27 +13,26 @@ footer_text: > Powered by Jekyll with al-folio theme. Hosted by GitHub Pages. Photos from Unsplash. -keywords: jekyll, jekyll-theme, academic-website, portfolio-website # add your own keywords or leave empty - +keywords: jekyll, jekyll-theme, academic-website, portfolio-website # add your own keywords or leave empty lang: en # the language of your site (for example: en, fr, cn, ru, etc.) -icon: โš›๏ธ # the emoji used as the favicon (alternatively, provide image name in /assets/img/) +icon: โš›๏ธ # the emoji used as the favicon (alternatively, provide image name in /assets/img/) url: https://alshedivat.github.io # the base hostname & protocol for your site baseurl: /al-folio # the subpath of your site, e.g. /blog/. Leave blank for root last_updated: false # set to true if you want to display last updated in the footer -impressum_path: # set to path to include impressum link in the footer, use the same path as permalink in a page, helps to conform with EU GDPR +impressum_path: # set to path to include impressum link in the footer, use the same path as permalink in a page, helps to conform with EU GDPR # ----------------------------------------------------------------------------- # Theme # ----------------------------------------------------------------------------- # 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_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 + theme_light: flat # https://github.com/ryo-ma/github-profile-trophy + theme_dark: gitdimmed # https://github.com/ryo-ma/github-profile-trophy # ----------------------------------------------------------------------------- # RSS Feed @@ -113,12 +112,12 @@ contact_note: > # For Google Analytics, see https://support.google.com/analytics/answer/10447272?hl=en&ref_topic=14088998&sjid=5129943941510317771-SA#zippy=%2Cgoogle-sites # and follow the instructions for Google Sites. You will need to create a Google Analytics property and copy the Google tag ID. -google_analytics: # your Google Analytics measurement ID (format: G-XXXXXXXXXX) -cronitor_analytics: # cronitor RUM analytics site ID (format: XXXXXXXXX) +google_analytics: # your Google Analytics measurement ID (format: G-XXXXXXXXXX) +cronitor_analytics: # cronitor RUM analytics site ID (format: XXXXXXXXX) # For Google Search Console, see https://support.google.com/webmasters/answer/9008080?hl=en#meta_tag_verification&zippy=%2Chtml-tag -google_site_verification: # your google-site-verification ID (Google Search Console) -bing_site_verification: # out your bing-site-verification ID (Bing Webmaster) +google_site_verification: # your google-site-verification ID (Google Search Console) +bing_site_verification: # out your bing-site-verification ID (Bing Webmaster) # ----------------------------------------------------------------------------- # Blog @@ -139,15 +138,15 @@ related_blog_posts: # Giscus comments (RECOMMENDED) # Follow instructions on https://giscus.app/ to setup for your repo to fill out the information below. giscus: - repo: # / - repo_id: # leave empty or specify your repo_id (see https://giscus.app/) - category: Comments # name of the category under which discussions will be created - category_id: # leave empty or specify your category_id (see https://giscus.app/) - mapping: title # identify discussions by post title - strict: 1 # use strict identification mode - reactions_enabled: 1 # enable (1) or disable (0) emoji reactions - input_position: bottom # whether to display input form below (bottom) or above (top) the comments - theme: preferred_color_scheme # name of the color scheme (preferred works well with al-folio light/dark mode) + repo: # / + repo_id: # leave empty or specify your repo_id (see https://giscus.app/) + category: Comments # name of the category under which discussions will be created + category_id: # leave empty or specify your category_id (see https://giscus.app/) + mapping: title # identify discussions by post title + strict: 1 # use strict identification mode + reactions_enabled: 1 # enable (1) or disable (0) emoji reactions + input_position: bottom # whether to display input form below (bottom) or above (top) the comments + theme: preferred_color_scheme # name of the color scheme (preferred works well with al-folio light/dark mode) emit_metadata: 0 lang: en @@ -196,7 +195,7 @@ highlighter: rouge kramdown: input: GFM syntax_highlighter_opts: - css_class: 'highlight' + css_class: "highlight" span: line_numbers: false block: @@ -204,7 +203,7 @@ kramdown: start_line: 1 # Includes & excludes -include: ['_pages'] +include: ["_pages"] exclude: - bin - Gemfile @@ -247,7 +246,7 @@ sass: # ----------------------------------------------------------------------------- jekyll-minifier: - exclude: ['robots.txt'] + exclude: ["robots.txt"] uglifier_args: harmony: true @@ -262,19 +261,18 @@ jekyll-archives: tag: archive-tag category: archive-category permalinks: - year: '/blog/:year/' - tag: '/blog/tag/:name/' - category: '/blog/category/:name/' + year: "/blog/:year/" + tag: "/blog/tag/:name/" + category: "/blog/category/:name/" -display_tags: ['formatting', 'images', 'links', 'math', 'code'] # these tags will be displayed on the front page of your blog -display_categories: ['blockquotes'] # these categories will be displayed on the front page of your blog +display_tags: ["formatting", "images", "links", "math", "code"] # these tags will be displayed on the front page of your blog +display_categories: ["blockquotes"] # these categories will be displayed on the front page of your blog # ----------------------------------------------------------------------------- # Jekyll Scholar # ----------------------------------------------------------------------------- scholar: - last_name: [Einstein] first_name: [Albert, A.] @@ -306,11 +304,12 @@ enable_publication_badges: dimensions: true # Dimensions badge (https://badge.dimensions.ai/) # Filter out certain bibtex entry keywords used internally from the bib output -filtered_bibtex_keywords: [abbr, abstract, altmetric, arxiv, bibtex_show, blog, code, html, pdf, poster, preview, selected, slides, supp, video, website] +filtered_bibtex_keywords: + [abbr, abstract, altmetric, arxiv, bibtex_show, blog, code, html, pdf, poster, preview, selected, slides, supp, video, website] # Maximum number of authors to be shown for each publication (more authors are visible on click) -max_author_limit: 3 # leave blank to always show all authors -more_authors_animation_delay: 10 # more authors are revealed on click using animation; smaller delay means faster animation +max_author_limit: 3 # leave blank to always show all authors +more_authors_animation_delay: 10 # more authors are revealed on click using animation; smaller delay means faster animation # Enables publication thumbnails. If disabled, none of the publications will display thumbnails, even if specified in the bib entry. enable_publication_thumbnails: true @@ -326,7 +325,6 @@ external_links: target: _blank exclude: - # ----------------------------------------------------------------------------- # Responsive WebP Images # ----------------------------------------------------------------------------- @@ -350,23 +348,22 @@ imagemagick: output_formats: webp: "-quality 85" - # ----------------------------------------------------------------------------- # Optional Features # ----------------------------------------------------------------------------- -enable_google_analytics: false # enables google analytics -enable_cronitor_analytics: false # enables cronitor RUM analytics -enable_google_verification: false # enables google site verification -enable_bing_verification: false # enables bing site verification -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: false # enables displaying social links in the navbar on the about page -enable_project_categories: true # enables categorization of projects into multiple categories -enable_medium_zoom: true # enables image zoom feature (as on medium.com) -enable_progressbar: true # enables a horizontal progress bar linked to the vertical scroll position +enable_google_analytics: false # enables google analytics +enable_cronitor_analytics: false # enables cronitor RUM analytics +enable_google_verification: false # enables google site verification +enable_bing_verification: false # enables bing site verification +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: false # enables displaying social links in the navbar on the about page +enable_project_categories: true # enables categorization of projects into multiple categories +enable_medium_zoom: true # enables image zoom feature (as on medium.com) +enable_progressbar: true # enables a horizontal progress bar linked to the vertical scroll position # ----------------------------------------------------------------------------- # Library versions diff --git a/_data/coauthors.yml b/_data/coauthors.yml index 8ed521248d81..8ea7d279ff1b 100644 --- a/_data/coauthors.yml +++ b/_data/coauthors.yml @@ -10,7 +10,7 @@ - firstname: ["Nathan", "N."] url: https://en.wikipedia.org/wiki/Nathan_Rosen -"Bach": +"Bach": - firstname: ["Johann Sebastian", "J. S."] url: https://en.wikipedia.org/wiki/Johann_Sebastian_Bach diff --git a/_data/cv.yml b/_data/cv.yml index 5b1157240e07..5885b30b6304 100644 --- a/_data/cv.yml +++ b/_data/cv.yml @@ -72,18 +72,18 @@ type: time_table contents: - year: 1921 - items: - - Nobel Prize in Physics + items: + - Nobel Prize in Physics - Matteucci Medal - year: 2029 - items: + items: - Max Planck Medal - title: Academic Interests type: nested_list contents: - title: Topic 1. - items: + items: - Description 1. - Description 2. - title: Topic 2. diff --git a/_includes/audio.html b/_includes/audio.html index 277addc965c8..d56ac4637b7e 100644 --- a/_includes/audio.html +++ b/_includes/audio.html @@ -1,5 +1,4 @@
-
diff --git a/_includes/cv/list.html b/_includes/cv/list.html index 7562585916d3..0c81414552f8 100644 --- a/_includes/cv/list.html +++ b/_includes/cv/list.html @@ -1,5 +1,5 @@
    - {% for content in entry.contents %} -
  • {{ content }}
  • - {% endfor %} -
\ No newline at end of file + {% for content in entry.contents %} +
  • {{ content }}
  • + {% endfor %} + diff --git a/_includes/cv/map.html b/_includes/cv/map.html index 5f53a9062a15..7b8f43693c8c 100644 --- a/_includes/cv/map.html +++ b/_includes/cv/map.html @@ -1,27 +1,24 @@ - {% for content in entry.contents %} - - - {% if content.value %} - - {% endif %} - {% if content.links %} - - {% endif %} - - {% endfor %} + {% for content in entry.contents %} + + + {% if content.value %} + + {% endif %} {% if content.links %} + + {% endif %} + + {% endfor %}
    {{ content.name }}{{ content.value }} -
    - {% for item in content.links %} - {% if item.link %} - - {% endif %} - {% endfor %} -
    -
    {{ content.name }}{{ content.value }} +
    + {% for item in content.links %} {% if item.link %} + + {% endif %} {% endfor %} +
    +
    diff --git a/_includes/cv/nested_list.html b/_includes/cv/nested_list.html index 4778aca07ff1..bebf5519f068 100644 --- a/_includes/cv/nested_list.html +++ b/_includes/cv/nested_list.html @@ -1,14 +1,14 @@
      - {% for content in entry.contents %} -
    • -
      {{ content.title }}
      - {% if content.items %} -
        - {% for subitem in content.items %} -
      • {{ subitem }}
      • - {% endfor %} -
      - {% endif %} -
    • - {% endfor %} -
    \ No newline at end of file + {% for content in entry.contents %} +
  • +
    {{ content.title }}
    + {% if content.items %} +
      + {% for subitem in content.items %} +
    • {{ subitem }}
    • + {% endfor %} +
    + {% endif %} +
  • + {% endfor %} + diff --git a/_includes/cv/time_table.html b/_includes/cv/time_table.html index 86a9637ecfb8..6c8283997bb8 100644 --- a/_includes/cv/time_table.html +++ b/_includes/cv/time_table.html @@ -1,106 +1,104 @@
      - {% for content in entry.contents %} -
    • -
      - {% if content.year %} -
      - - - - - - {% if content.location %} - - - - {% endif %} - -
      - {{ content.year }} -
      -

      {{ content.location }}

      -
      - -
      - {% endif %} -
      - {% if content.title %} -
      {{content.title}}
      + {% for content in entry.contents %} +
    • +
      + {% if content.year %} +
      + + + + + + {% if content.location %} + + + {% endif %} - {% if content.department or content.institution %} -
      + {{ content.year }} +
      +

      + + {{ content.location }} +

      +
      - - {% if content.institution %} - - - - - {% endif %} - {% if content.department %} - - - - - {% endif %} - -
      {{content.institution}}
      {{content.department}}
      + + +
      + {% endif %} +
      + {% if content.title %} +
      {{content.title}}
      + {% endif %} {% if content.department or content.institution %} + + + {% if content.institution %} + + + + + {% endif %} {% if content.department %} + + + + {% endif %} - {% if content.maindescription %} -
      {{ content.maindescription }}
      - {% endif %} - {% if content.description %} -
        - {% for item in content.description %} -
      • - {% if item.contents %} - {{ item.title }} -
          - {% for subitem in item.contents %} -
        • {{ subitem }}
        • - {% endfor %} -
        - {% else %} - {{ item }} - {% endif %} -
      • - {% endfor %} -
      - {% endif %} - {% if content.items %} -
        - {% for item in content.items %} -
      • - {% if item.contents %} - {{ item.title }} -
          - {% for subitem in item.contents %} -
        • {{ subitem }}
        • - {% endfor %} -
        - {% else %} - {{ item }} - {% endif %} -
      • - {% endfor %} -
      + +
      + + {{content.institution}}
      + + {{content.department}}
      + {% endif %} {% if content.maindescription %} +
      {{ content.maindescription }}
      + {% endif %} {% if content.description %} +
        + {% for item in content.description %} +
      • + {% if item.contents %} + {{ item.title }} +
          + {% for subitem in item.contents %} +
        • {{ subitem }}
        • + {% endfor %} +
        + {% else %} + {{ item }} {% endif %} - {% if content.linkitems %} -
      • + {% endfor %} +
      + {% endif %} {% if content.items %} +
        + {% for item in content.items %} +
      • + {% if item.contents %} + {{ item.title }} +
          + {% for subitem in item.contents %} +
        • {{ subitem }}
        • {% endfor %} -
      +
    + {% else %} + {{ item }} + {% endif %} + + {% endfor %} + + {% endif %} {% if content.linkitems %} + - - {% endfor %} - \ No newline at end of file + {% endif %} + + + + {% endfor %} + diff --git a/_includes/disqus.html b/_includes/disqus.html index 73fe9538d0dc..6979a4eced2d 100644 --- a/_includes/disqus.html +++ b/_includes/disqus.html @@ -1,13 +1,13 @@
    - - + +
    diff --git a/_includes/figure.html b/_includes/figure.html index 5bf766a88ac9..8bf68eba9861 100644 --- a/_includes/figure.html +++ b/_includes/figure.html @@ -6,12 +6,12 @@ {% if site.imagemagick.enabled %} - + {% endif %} - {%- if include.caption -%}
    {{ include.caption }}
    {%- endif %} - + {%- if include.caption -%} +
    {{ include.caption }}
    + {%- endif %} diff --git a/_includes/footer.html b/_includes/footer.html index acc4688f7cff..2c8bf544efe1 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,25 +1,19 @@ - {% if site.footer_fixed %} -
    -
    - © Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}. {{ site.footer_text }} - {%- if site.impressum_path -%} - Impressum. - {%- endif -%} - {%- if site.last_updated -%} - Last updated: {{ "now" | date: '%B %d, %Y' }}. - {%- endif %} -
    -
    - {%- else -%} -
    -
    - © Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}. {{ site.footer_text }} - {%- if site.impressum_path -%} - Impressum. - {%- endif -%} - {%- if site.last_updated -%} - Last updated: {{ "now" | date: '%B %d, %Y' }}. - {%- endif %} -
    -
    - {%- endif %} \ No newline at end of file +{% if site.footer_fixed %} +
    +
    + © Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}. {{ site.footer_text }} {%- if + site.impressum_path -%} + Impressum. {%- endif -%} {%- if site.last_updated -%} Last updated: {{ + "now" | date: '%B %d, %Y' }}. {%- endif %} +
    +
    +{%- else -%} +
    +
    + © Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}. {{ site.footer_text }} {%- if + site.impressum_path -%} + Impressum. {%- endif -%} {%- if site.last_updated -%} Last updated: {{ + "now" | date: '%B %d, %Y' }}. {%- endif %} +
    +
    +{%- endif %} diff --git a/_includes/giscus.html b/_includes/giscus.html index ac6c95070bde..d32b5b730c35 100644 --- a/_includes/giscus.html +++ b/_includes/giscus.html @@ -3,34 +3,28 @@ - {%- else -%} - {% capture giscus_warning %} - > ##### giscus comments misconfigured - > Please follow instructions at [http://giscus.app](http://giscus.app) and update your giscus configuration. - {: .block-danger } - {% endcapture %} - {{ giscus_warning | markdownify }} + {%- else -%} {% capture giscus_warning %} > ##### giscus comments misconfigured > Please follow instructions at + [http://giscus.app](http://giscus.app) and update your giscus configuration. {: .block-danger } {% endcapture %} {{ giscus_warning | markdownify }} {%- endif -%} diff --git a/_includes/head.html b/_includes/head.html index 9108a1f4520b..a0aedb23a9ba 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,42 +1,62 @@ - - {% include metadata.html %} - - - - - - - - - - - - - - - - - {% if page.toc and page.toc.sidebar %} - - - {% endif %} - - {% if page.tikzjax %} - - - {% endif %} - - - {% if site.icon.size <= 4 %} - - {% elsif site.icon != blank %} - - {% endif %} - - - - - {% if site.enable_darkmode %} - - - {% endif %} + +{% include metadata.html %} + + + + + + + + + + + + + + + + +{% if page.toc and page.toc.sidebar %} + + +{% endif %} {% if page.tikzjax %} + + +{% endif %} + + +{% if site.icon.size <= 4 %} + +{% elsif site.icon != blank %} + +{% endif %} + + + + +{% if site.enable_darkmode %} + + +{% endif %} diff --git a/_includes/header.html b/_includes/header.html index 742c1cdb70ff..08ca72dce24b 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,120 +1,103 @@ +
    + + + {% if site.enable_progressbar %} + + +
    + +
    +
    + {%- endif %} +
    diff --git a/_includes/latest_posts.html b/_includes/latest_posts.html index 0d1a0be3afaa..be8dd775dafa 100644 --- a/_includes/latest_posts.html +++ b/_includes/latest_posts.html @@ -1,35 +1,38 @@ - -
    - {% if site.latest_posts != blank -%} - {%- assign latest_posts_size = site.posts | size -%} -
    3 %}style="max-height: 60vw"{% endif %}> - - {%- 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 %} - - - - - {%- endfor %} -
    {{ item.date | date: "%b %-d, %Y" }} - {% if item.redirect == blank %} - {{ item.title }} - {% elsif item.redirect contains '://' %} - {{ item.title }} - - - - {% else %} - {{ item.title }} - {% endif %} -
    -
    - {%- else -%} -

    No posts so far...

    - {%- endif %} -
    +
    + {% if site.latest_posts != blank -%} {%- assign latest_posts_size = site.posts | size -%} +
    + 3 %}style="max-height: 60vw"{% endif %}> + + {%- 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 %} + + + + + {%- endfor %} +
    {{ item.date | date: "%b %-d, %Y" }} + {% if item.redirect == blank %} + {{ item.title }} + {% elsif item.redirect contains '://' %} + {{ item.title }} + + + + {% else %} + {{ item.title }} + {% endif %} +
    +
    + {%- else -%} +

    No posts so far...

    + {%- endif %} +
    diff --git a/_includes/metadata.html b/_includes/metadata.html index 756e4f8370f6..d64fd6285ca8 100644 --- a/_includes/metadata.html +++ b/_includes/metadata.html @@ -1,239 +1,238 @@ {% if site.enable_google_verification or site.enable_bing_verification %} - - {% if site.enable_google_verification -%} - - {%- endif -%} - {% if site.enable_bing_verification -%} - - {%- endif -%} - - + +{% if site.enable_google_verification -%} + +{%- endif -%} +{% if site.enable_bing_verification -%} + +{%- endif -%} + + {%- endif %} - - - - - - {%- if site.title == "blank" -%} - {%- capture title -%}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{%- endcapture -%} - {%- else -%} - {%- capture title -%}{{ site.title }}{%- endcapture -%} - {%- endif -%} - {% if page.url == '/blog/index.html' %} - {{ page.title }} | {{ title }} - {%- elsif page.title != "blank" and page.url != "/" -%} - {%- if page.title == nil or page.title == "" -%} - {{ page.date | date: "%Y" }} | {{ title }} - {%- else -%} - {{ page.title }} | {{ title }} - {%- endif -%} +<!-- Standard metadata --> +<meta charset="utf-8" /> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> +<meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<title> + {%- if site.title == "blank" -%} + {%- capture title -%}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{%- endcapture -%} + {%- else -%} + {%- capture title -%}{{ site.title }}{%- endcapture -%} + {%- endif -%} + {% if page.url == '/blog/index.html' %} + {{ page.title }} | {{ title }} + {%- elsif page.title != "blank" and page.url != "/" -%} + {%- if page.title == nil or page.title == "" -%} + {{ page.date | date: "%Y" }} | {{ title }} {%- else -%} - {{ title }} - {%- endif -%} - - - + {{ page.title }} | {{ title }} + {%- endif -%} + {%- else -%} + {{ title }} + {%- endif -%} + + + {%- if page.keywords or site.keywords %} - + {%- endif %} {%- assign is_blog_post = false -%} {%- if page.url != '/blog/index.html' and page.url contains '/blog/' -%} - {%- unless page.url contains '/tag/' or page.url contains '/category/' -%} - {%- assign is_blog_post = true -%} - {%- endunless -%} + {%- unless page.url contains '/tag/' or page.url contains '/category/' -%} + {%- assign is_blog_post = true -%} + {%- endunless -%} {%- endif -%} {%- if site.serve_og_meta %} - - - - - - - {% if page.og_image or site.og_image -%} - - {%- endif %} - + + + + + + + {% if page.og_image or site.og_image -%} + + {%- endif %} + - - - - - {% if page.og_image or site.og_image -%} - - {%- endif %} - {% if site.x_username -%} - - - {%- endif %} + + + + + {% if page.og_image or site.og_image -%} + + {%- endif %} + {% if site.x_username -%} + + + {%- endif %} {%- endif %} {%- if site.serve_schema_org %} + + {%- comment -%} Social links generator for "sameAs schema" {%- endcomment %} + {% assign sameaslinks = "" | split: "," %} + {%- if site.orcid_id -%} + {%- capture link -%}https://orcid.org/{{ site.orcid_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.scholar_userid -%} + {%- capture link -%}https://scholar.google.com/citations?user={{ site.scholar_userid }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.semanticscholar_id -%} + {%- capture link -%}https://www.semanticscholar.org/author/{{ site.semanticscholar_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.publons_id -%} + {%- capture link -%}https://publons.com/a/{{ site.publons_id }}/{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.lattes_id -%} + {%- capture link -%}http://lattes.cnpq.br/{{ site.lattes_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.osf_id -%} + {%- capture link -%}https://osf.io/{{ site.osf_id }}/{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.research_gate_profile -%} + {%- 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 -%} + {%- endif -%} + {%- if site.telegram_username -%} + {%- capture link -%}https://telegram.me/{{ site.telegram_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.linkedin_username -%} + {%- capture link -%}https://www.linkedin.com/in/{{ site.linkedin_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.x_username -%} + {%- capture link -%}https://twitter.com/{{ site.x_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.mastodon_username -%} + {%- capture link -%}https://{{ site.mastodon_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.medium_username -%} + {%- capture link -%}https://medium.com/@{{ site.medium_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.quora_username -%} + {%- capture link -%}https://www.quora.com/profile/{{ site.quora_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.blogger_url -%} + {%- capture link -%}{{ site.blogger_url }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.work_url -%} + {%- capture link -%}{{ site.work_url }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.wikidata_id -%} + {%- 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 -%} + {%- endif -%} + {%- if site.keybase_username -%} + {%- capture link -%}https://keybase.io/{{ site.keybase_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.gitlab_username -%} + {%- capture link -%}https://gitlab.com/{{ site.gitlab_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.dblp_url -%} + {%- capture link -%}{{ site.dblp_url }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.stackoverflow_id -%} + {%- capture link -%}https://stackoverflow.com/users/{{ site.stackoverflow_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.kaggle_id -%} + {%- capture link -%}https://www.kaggle.com/{{ site.kaggle_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.lastfm_id -%} + {%- capture link -%}https://www.last.fm/user/{{ site.lastfm_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.spotify_id -%} + {%- capture link -%}https://open.spotify.com/user/{{ site.spotify_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.pinterest_id -%} + {%- capture link -%}https://www.pinterest.com/{{ site.pinterest_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.unsplash_id -%} + {%- capture link -%}https://unsplash.com/@{{ site.unsplash_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.instagram_id -%} + {%- capture link -%}https://instagram.com/{{ site.instagram_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.facebook_id -%} + {%- capture link -%}https://facebook.com/{{ site.facebook_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.youtube_id -%} + {%- capture link -%}https://youtube.com/@{{ site.youtube_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.discord_id -%} + {%- capture link -%}https://discord.com/users/{{ site.discord_id }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if site.zotero_username -%} + {%- capture link -%}https://www.zotero.org/{{ site.zotero_username }}{%- endcapture -%} + {%- assign sameaslinks = sameaslinks | push: link -%} + {%- endif -%} + {%- if sameaslinks != blank -%} + {%- assign sameaslinks = sameaslinks | split: "" -%} + {%- endif -%} - - {%- comment -%} Social links generator for "sameAs schema" {%- endcomment %} - {% assign sameaslinks = "" | split: "," %} - {%- if site.orcid_id -%} - {%- capture link -%}https://orcid.org/{{ site.orcid_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.scholar_userid -%} - {%- capture link -%}https://scholar.google.com/citations?user={{ site.scholar_userid }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.semanticscholar_id -%} - {%- capture link -%}https://www.semanticscholar.org/author/{{ site.semanticscholar_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.publons_id -%} - {%- capture link -%}https://publons.com/a/{{ site.publons_id }}/{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.lattes_id -%} - {%- capture link -%}http://lattes.cnpq.br/{{ site.lattes_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.osf_id -%} - {%- capture link -%}https://osf.io/{{ site.osf_id }}/{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.research_gate_profile -%} - {%- 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 -%} - {%- endif -%} - {%- if site.telegram_username -%} - {%- capture link -%}https://telegram.me/{{ site.telegram_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.linkedin_username -%} - {%- capture link -%}https://www.linkedin.com/in/{{ site.linkedin_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.x_username -%} - {%- capture link -%}https://twitter.com/{{ site.x_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.mastodon_username -%} - {%- capture link -%}https://{{ site.mastodon_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.medium_username -%} - {%- capture link -%}https://medium.com/@{{ site.medium_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.quora_username -%} - {%- capture link -%}https://www.quora.com/profile/{{ site.quora_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.blogger_url -%} - {%- capture link -%}{{ site.blogger_url }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.work_url -%} - {%- capture link -%}{{ site.work_url }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.wikidata_id -%} - {%- 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 -%} - {%- endif -%} - {%- if site.keybase_username -%} - {%- capture link -%}https://keybase.io/{{ site.keybase_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.gitlab_username -%} - {%- capture link -%}https://gitlab.com/{{ site.gitlab_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.dblp_url -%} - {%- capture link -%}{{ site.dblp_url }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.stackoverflow_id -%} - {%- capture link -%}https://stackoverflow.com/users/{{ site.stackoverflow_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.kaggle_id -%} - {%- capture link -%}https://www.kaggle.com/{{ site.kaggle_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.lastfm_id -%} - {%- capture link -%}https://www.last.fm/user/{{ site.lastfm_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.spotify_id -%} - {%- capture link -%}https://open.spotify.com/user/{{ site.spotify_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.pinterest_id -%} - {%- capture link -%}https://www.pinterest.com/{{ site.pinterest_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.unsplash_id -%} - {%- capture link -%}https://unsplash.com/@{{ site.unsplash_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.instagram_id -%} - {%- capture link -%}https://instagram.com/{{ site.instagram_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.facebook_id -%} - {%- capture link -%}https://facebook.com/{{ site.facebook_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.youtube_id -%} - {%- capture link -%}https://youtube.com/@{{ site.youtube_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.discord_id -%} - {%- capture link -%}https://discord.com/users/{{ site.discord_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.zotero_username -%} - {%- capture link -%}https://www.zotero.org/{{ site.zotero_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if sameaslinks != blank -%} - {%- assign sameaslinks = sameaslinks | split: "" -%} - {%- endif -%} - - + {%- endif %} diff --git a/_includes/news.html b/_includes/news.html index 401d9f6f4c20..f90589377304 100644 --- a/_includes/news.html +++ b/_includes/news.html @@ -1,29 +1,29 @@ -
    - {% if site.news != blank -%} - {%- assign news_size = site.news | size -%} -
    3 %}style="max-height: 60vw"{% endif %}> - - {%- assign news = site.news | reverse -%} - {% 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 %} - - - - - {%- endfor %} -
    {{ item.date | date: "%b %-d, %Y" }} - {% if item.inline -%} - {{ item.content | remove: '

    ' | remove: '

    ' | emojify }} - {%- else -%} - {{ item.title }} - {%- endif %} -
    -
    +
    + {% if site.news != blank -%} {%- assign news_size = site.news | size -%} +
    + 3 %}style="max-height: 60vw"{% endif %}> + + {%- assign news = site.news | reverse -%} + {% 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 %} + + + + + {%- endfor %} +
    {{ item.date | date: "%b %-d, %Y" }} + {% if item.inline -%} + {{ item.content | remove: '

    ' | remove: '

    ' | emojify }} {%- else -%} -

    No news so far...

    + {{ item.title }} {%- endif %} - \ No newline at end of file +
    +
    + {%- else -%} +

    No news so far...

    + {%- endif %} +
    diff --git a/_includes/pagination.html b/_includes/pagination.html index 4b8d27e3aee1..9d0ab44b158e 100644 --- a/_includes/pagination.html +++ b/_includes/pagination.html @@ -2,13 +2,15 @@
    - {% endfor %} - \ No newline at end of file + {% assign certificates = data[1] | sort: 'date' | reverse %} {% for content in certificates %} +
    + + + + {% if content.icon %} + + {% else %} + + {% endif %} + + {% assign i = 1 %} {% for item in content.items %} {% assign i = i | plus:1 %} {% endfor %} + + + + + + + + +
    + + + {{ content.name }} +
    {{ content.issuer }}{{ content.date }}
    +
    + {% endfor %} + diff --git a/_includes/resume/education.html b/_includes/resume/education.html index a63b6ec380ef..b37ab84eb139 100644 --- a/_includes/resume/education.html +++ b/_includes/resume/education.html @@ -1,32 +1,27 @@
      - {% assign education = data[1] | sort: 'startDate' | reverse %} - {% for content in education %} + {% assign education = data[1] | sort: 'startDate' | reverse %} {% for content in education %}
    • -
      - {% if content.startDate and content.startDate!="" %} - {% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %} - {% assign endDate = content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %} - {% assign date = startDate | append: " - "%} - {% assign date = date | append: endDate %} - {% else %} - {% assign date = null %} - {% endif %} +
      + {% if content.startDate and content.startDate!="" %} {% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %} {% + assign endDate = content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %} {% assign date = startDate | append: " - "%} {% + assign date = date | append: endDate %} {% else %} {% assign date = null %} {% endif %} {% if content.location %} {% endif %} @@ -34,9 +29,11 @@
      {% if date %} - - {{date}} - + {{date}} {% endif %}
      -

      {{ content.location }}

      +

      + + {{ content.location }} +

      -
      {{content.studyType}}
      -
      {{content.institution}}
      -
      {{content.area}}
      +
      + {{content.studyType}} +
      +
      {{content.institution}}
      +
      {{content.area}}
        {% for item in content.courses %}
      • diff --git a/_includes/resume/interests.html b/_includes/resume/interests.html index 3519179962d5..ad2f144b9504 100644 --- a/_includes/resume/interests.html +++ b/_includes/resume/interests.html @@ -1,29 +1,28 @@
        - {% for content in data[1] %} -
        - - - - {% if content.icon %} - - {% else %} - - {% endif %} - - {% assign i = 1 %} - {% for item in content.items %} - {% assign i = i | plus:1 %} - {% endfor %} - - - {% for item in content.keywords %} - - - - - {% endfor %} - -
        {{ content.name }}
        {{ item }}
        -
        - {% endfor %} -
        \ No newline at end of file + {% for content in data[1] %} +
        + + + + {% if content.icon %} + + {% else %} + + {% endif %} + + {% assign i = 1 %} {% for item in content.items %} {% assign i = i | plus:1 %} {% endfor %} + + + {% for item in content.keywords %} + + + + + {% endfor %} + +
        + + {{ content.name }}
        {{ item }}
        +
        + {% endfor %} +
      diff --git a/_includes/resume/languages.html b/_includes/resume/languages.html index 8b0fd2b018d1..39e457eb0099 100644 --- a/_includes/resume/languages.html +++ b/_includes/resume/languages.html @@ -1,27 +1,28 @@
      - {% for content in data[1] %} -
      - - - - {% if content.icon %} - - {% else %} - - {% endif %} - - {% assign i = 1 %} - {% for item in content.items %} - {% assign i = i | plus:1 %} - {% endfor %} - - - - - - - -
      {{ content.language }}
      {{ content.fluency }}
      -
      - {% endfor %} -
      \ No newline at end of file + {% for content in data[1] %} +
      + + + + {% if content.icon %} + + {% else %} + + {% endif %} + + {% assign i = 1 %} {% for item in content.items %} {% assign i = i | plus:1 %} {% endfor %} + + + + + + + +
      + + {{ content.language }}
      + {{ content.fluency }} +
      +
      + {% endfor %} +
      diff --git a/_includes/resume/projects.html b/_includes/resume/projects.html index 0436c80717e3..9d7d01600c13 100644 --- a/_includes/resume/projects.html +++ b/_includes/resume/projects.html @@ -2,22 +2,17 @@ {% for content in data[1] %}
    • -
      - {% if content.startDate %} - {% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %} - {% assign endDate = content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %} - {% assign date = startDate | append: " - "%} - {% assign date = date | append: endDate %} - {% else %} - {% assign date = "" %} - {% endif %} - - {{ date }} - +
      + {% if content.startDate %} {% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %} {% assign endDate = + content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %} {% assign date = startDate | append: " - "%} {% assign date = + date | append: endDate %} {% else %} {% assign date = "" %} {% endif %} + {{ date }}
      -
      {{content.name}}
      -
      {{content.summary}}
      +
      + {{content.name}} +
      +
      {{content.summary}}
        {% for item in content.highlights %}
      • @@ -29,4 +24,4 @@
        {{conte
    • {% endfor %} -
    \ No newline at end of file + diff --git a/_includes/resume/publications.html b/_includes/resume/publications.html index d77d715fce04..17c705d9e0d1 100644 --- a/_includes/resume/publications.html +++ b/_includes/resume/publications.html @@ -1,30 +1,27 @@
      - {% assign publications = data[1] | sort: 'releaseDate' | reverse %} - {% for content in publications %} -
    • -
      -
      - {% if content.releaseDate %} - {% assign date = content.releaseDate | split: "-" | join: "." %} - {% else %} - {% assign date = "" %} - {% endif %} - - - - - - -
      - {{date}} -
      -
      -
      -
      {{content.name}}
      -
      {{content.publisher}}
      -
      {{content.summary}}
      -
      + {% assign publications = data[1] | sort: 'releaseDate' | reverse %} {% for content in publications %} +
    • +
      +
      + {% if content.releaseDate %} {% assign date = content.releaseDate | split: "-" | join: "." %} {% else %} {% assign date = "" %} {% endif %} + + + + + + +
      + {{date}} +
      -
    • - {% endfor %} -
    \ No newline at end of file +
    +
    + {{content.name}} +
    +
    {{content.publisher}}
    +
    {{content.summary}}
    +
    + + + {% endfor %} + diff --git a/_includes/resume/references.html b/_includes/resume/references.html index fef4d28db78f..cea850feac8c 100644 --- a/_includes/resume/references.html +++ b/_includes/resume/references.html @@ -1,27 +1,28 @@
    - {% for content in data[1] %} -
    - - - - {% if content.icon %} - - {% else %} - - {% endif %} - - {% assign i = 1 %} - {% for item in content.items %} - {% assign i = i | plus:1 %} - {% endfor %} - - - - - - - -
    {{ content.name }}
    {{ content.reference }}
    -
    - {% endfor %} -
    \ No newline at end of file + {% for content in data[1] %} +
    + + + + {% if content.icon %} + + {% else %} + + {% endif %} + + {% assign i = 1 %} {% for item in content.items %} {% assign i = i | plus:1 %} {% endfor %} + + + + + + + +
    + + {{ content.name }}
    + {{ content.reference }} +
    +
    + {% endfor %} + diff --git a/_includes/resume/skills.html b/_includes/resume/skills.html index 69bb4e317831..3cfc49a308ff 100644 --- a/_includes/resume/skills.html +++ b/_includes/resume/skills.html @@ -1,29 +1,28 @@
    - {% for content in data[1] %} -
    - - - - {% if content.icon %} - - {% else %} - - {% endif %} - - {% assign i = 1 %} - {% for item in content.items %} - {% assign i = i | plus:1 %} - {% endfor %} - - - {% for item in content.keywords %} - - - - - {% endfor %} - -
    {{ content.name }}
    {{ item }}
    -
    - {% endfor %} -
    \ No newline at end of file + {% for content in data[1] %} +
    + + + + {% if content.icon %} + + {% else %} + + {% endif %} + + {% assign i = 1 %} {% for item in content.items %} {% assign i = i | plus:1 %} {% endfor %} + + + {% for item in content.keywords %} + + + + + {% endfor %} + +
    + + {{ content.name }}
    {{ item }}
    +
    + {% endfor %} + diff --git a/_includes/resume/volunteer.html b/_includes/resume/volunteer.html index fb68f7afc3c5..0f78a7fe818a 100644 --- a/_includes/resume/volunteer.html +++ b/_includes/resume/volunteer.html @@ -1,25 +1,19 @@
      - {% assign volunteer = data[1] | sort: 'startDate' | reverse %} - {% for content in volunteer %} + {% assign volunteer = data[1] | sort: 'startDate' | reverse %} {% for content in volunteer %}
    • -
      - {% if content.startDate %} - {% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %} - {% assign endDate = content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %} - {% assign date = startDate | append: " - "%} - {% assign date = date | append: endDate %} - {% else %} - {% assign date = "" %} - {% endif %} - - {{ date }} - +
      + {% if content.startDate %} {% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %} {% assign endDate = + content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %} {% assign date = startDate | append: " - "%} {% assign date = + date | append: endDate %} {% else %} {% assign date = "" %} {% endif %} + {{ date }}
      -
      {{content.position}}
      -
      {{content.organization}}
      -
      {{content.summary}}
      +
      + {{content.position}} +
      +
      {{content.organization}}
      +
      {{content.summary}}
        {% for item in content.highlights %}
      • @@ -31,4 +25,4 @@
        {{conte
    • {% endfor %} -
    \ No newline at end of file + diff --git a/_includes/resume/work.html b/_includes/resume/work.html index 9f8e1852a226..c45f67c01305 100644 --- a/_includes/resume/work.html +++ b/_includes/resume/work.html @@ -1,25 +1,19 @@
      - {% assign work = data[1] | sort: 'startDate' | reverse %} - {% for content in work %} + {% assign work = data[1] | sort: 'startDate' | reverse %} {% for content in work %}
    • -
      - {% if content.startDate %} - {% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %} - {% assign endDate = content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %} - {% assign date = startDate | append: " - "%} - {% assign date = date | append: endDate %} - {% else %} - {% assign date = "" %} - {% endif %} - - {{ date }} - +
      + {% if content.startDate %} {% assign startDate = content.startDate | split: "-" | slice: 0,2 | join: "." %} {% assign endDate = + content.endDate | split: "-" | slice: 0,2 | join: "." | default: "Present" %} {% assign date = startDate | append: " - "%} {% assign date = + date | append: endDate %} {% else %} {% assign date = "" %} {% endif %} + {{ date }}
      -
      {{content.position}}
      -
      {{content.name}}
      -
      {{content.summary}}
      +
      + {{content.position}} +
      +
      {{content.name}}
      +
      {{content.summary}}
        {% for item in content.highlights %}
      • @@ -31,4 +25,4 @@
        {{conte
    • {% endfor %} -
    \ No newline at end of file + diff --git a/_includes/scripts/analytics.html b/_includes/scripts/analytics.html index 119617a5fe49..77e9370b2b23 100644 --- a/_includes/scripts/analytics.html +++ b/_includes/scripts/analytics.html @@ -1,18 +1,23 @@ {%- if site.enable_google_analytics -%} - - - -{%- endif -%} -{%- if site.enable_cronitor_analytics -%} - - - + + + +{%- endif -%} {%- if site.enable_cronitor_analytics -%} + + + {%- endif -%} diff --git a/_includes/scripts/badges.html b/_includes/scripts/badges.html index 5e8a79fae1b9..371708d3e1de 100644 --- a/_includes/scripts/badges.html +++ b/_includes/scripts/badges.html @@ -1,6 +1,5 @@ {%- if site.enable_publication_badges.altmetric %} - -{%- endif %} -{%- if site.enable_publication_badges.dimensions %} - + +{%- endif %} {%- if site.enable_publication_badges.dimensions %} + {%- endif %} diff --git a/_includes/scripts/bootstrap.html b/_includes/scripts/bootstrap.html index e2ae85dd1775..647aaf1a0d52 100644 --- a/_includes/scripts/bootstrap.html +++ b/_includes/scripts/bootstrap.html @@ -1,4 +1,8 @@ - - - + + + diff --git a/_includes/scripts/jquery.html b/_includes/scripts/jquery.html index f84a2f22d5b6..628f8730112e 100644 --- a/_includes/scripts/jquery.html +++ b/_includes/scripts/jquery.html @@ -1,2 +1,6 @@ - + diff --git a/_includes/scripts/masonry.html b/_includes/scripts/masonry.html index 804389d31ad3..6b6cacece1d9 100644 --- a/_includes/scripts/masonry.html +++ b/_includes/scripts/masonry.html @@ -1,6 +1,11 @@ - {%- if site.enable_masonry -%} - - - - - {%- endif -%} +{%- if site.enable_masonry -%} + + + + +{%- endif -%} diff --git a/_includes/scripts/mathjax.html b/_includes/scripts/mathjax.html index c55ec056d26b..eac27663964c 100644 --- a/_includes/scripts/mathjax.html +++ b/_includes/scripts/mathjax.html @@ -1,12 +1,17 @@ - {%- if site.enable_math -%} - - - - - {%- endif %} +{%- if site.enable_math -%} + + + + +{%- endif %} diff --git a/_includes/scripts/mermaid.html b/_includes/scripts/mermaid.html index 995aa1c0448e..281d9e7685e2 100644 --- a/_includes/scripts/mermaid.html +++ b/_includes/scripts/mermaid.html @@ -1,41 +1,41 @@ - {% if page.mermaid and page.mermaid.enabled %} - - {% if page.mermaid.zoomable %} - - {% endif %} - +{% if page.mermaid.zoomable %} + +{% endif %} + - {% endif %} + }); + } + +{% endif %} diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html index 4efbb151dd70..0caf2d0e5348 100644 --- a/_includes/scripts/misc.html +++ b/_includes/scripts/misc.html @@ -1,25 +1,28 @@ {% if site.enable_tooltips %} - - -{%- endif %} - -{%- if site.enable_medium_zoom %} - - - -{%- endif -%} - -{% if page.toc and page.toc.sidebar %} - - + + +{%- endif %} {%- if site.enable_medium_zoom %} + + + +{%- endif -%} {% if page.toc and page.toc.sidebar %} + + {% endif %} - - + + - - - - + + + + diff --git a/_includes/scripts/progressBar.html b/_includes/scripts/progressBar.html index 88bb73cd35e4..8ebe3c406d86 100644 --- a/_includes/scripts/progressBar.html +++ b/_includes/scripts/progressBar.html @@ -3,10 +3,10 @@ -{% endif %} \ No newline at end of file +{% endif %} diff --git a/_includes/selected_papers.html b/_includes/selected_papers.html index 97fbf1061a18..8f0efab68c53 100644 --- a/_includes/selected_papers.html +++ b/_includes/selected_papers.html @@ -1,4 +1 @@ - -
    - {% bibliography -f {{ site.scholar.bibliography }} --group_by none --query @*[selected=true]* %} -
    +
    {% bibliography -f {{ site.scholar.bibliography }} --group_by none --query @*[selected=true]* %}
    diff --git a/_includes/social.html b/_includes/social.html index b9d01aa9246f..2e697010757a 100644 --- a/_includes/social.html +++ b/_includes/social.html @@ -1,118 +1,80 @@ - {%- if site.email -%} - - {% endif %} - {%- if site.telegram_username -%} - - {% endif %} - {%- if site.whatsapp_number -%} - - {% endif %} - {%- if site.orcid_id -%} - - {% endif %} - {%- if site.scholar_userid -%} - - {% endif %} - {%- if site.semanticscholar_id -%} - - {% endif %} - {%- if site.publons_id -%} - - {% endif %} - {%- if site.lattes_id -%} - - {% endif %} - {%- if site.osf_id -%} - - {% endif %} - {%- if site.research_gate_profile -%} - - {% endif %} - {%- if site.scopus_id -%} - - {% endif %} - {%- if site.github_username -%} - - {% endif %} - {%- if site.linkedin_username -%} - - {% endif %} - {%- if site.x_username -%} - - {% endif %} - {%- if site.mastodon_username -%} - - {% endif %} - {%- if site.medium_username -%} - - {% endif %} - {%- if site.quora_username -%} - - {% endif %} - {%- if site.blogger_url -%} - - {% endif %} - {%- if site.work_url -%} - - {% endif %} - {%- if site.wikidata_id -%} - - {% endif %} - {%- if site.wikipedia_id -%} - - {% endif %} - {%- if site.strava_userid -%} - - {% endif %} - {%- if site.keybase_username -%} - - {% endif %} - {%- if site.gitlab_username -%} - - {% endif %} - {%- if site.dblp_url -%} - - {% endif %} - {%- if site.stackoverflow_id -%} - - {% endif %} - {%- if site.kaggle_id -%} - - {% endif %} - {%- if site.lastfm_id -%} - - {% endif %} - {%- if site.spotify_id -%} - - {% endif %} - {%- if site.pinterest_id -%} - - {% endif %} - {%- if site.unsplash_id -%} - - {% endif %} - {%- if site.instagram_id -%} - - {% endif %} - {%- if site.facebook_id -%} - - {% endif %} - {%- if site.youtube_id -%} - - {% endif %} - {%- if site.discord_id -%} - - {% endif %} - {%- if site.zotero_username -%} - - {% endif %} - {%- if site.rss_icon -%} - - {% endif %} - {%- if site.wechat_qr -%} - -
    - WeChat QR -
    - {% include scripts/wechatModal.html %} - {% endif %} +{%- if site.email -%} + +{% endif %} {%- if site.telegram_username -%} + +{% endif %} {%- if site.whatsapp_number -%} + +{% endif %} {%- if site.orcid_id -%} + +{% endif %} {%- if site.scholar_userid -%} + +{% endif %} {%- if site.semanticscholar_id -%} + +{% endif %} {%- if site.publons_id -%} + +{% endif %} {%- if site.lattes_id -%} + +{% endif %} {%- if site.osf_id -%} + +{% endif %} {%- if site.research_gate_profile -%} + +{% endif %} {%- if site.scopus_id -%} + +{% endif %} {%- if site.github_username -%} + +{% endif %} {%- if site.linkedin_username -%} + +{% endif %} {%- if site.x_username -%} + +{% endif %} {%- if site.mastodon_username -%} + +{% endif %} {%- if site.medium_username -%} + +{% endif %} {%- if site.quora_username -%} + +{% endif %} {%- if site.blogger_url -%} + +{% endif %} {%- if site.work_url -%} + +{% endif %} {%- if site.wikidata_id -%} + +{% endif %} {%- if site.wikipedia_id -%} + +{% endif %} {%- if site.strava_userid -%} + +{% endif %} {%- if site.keybase_username -%} + +{% endif %} {%- if site.gitlab_username -%} + +{% endif %} {%- if site.dblp_url -%} + +{% endif %} {%- if site.stackoverflow_id -%} + +{% endif %} {%- if site.kaggle_id -%} + +{% endif %} {%- if site.lastfm_id -%} + +{% endif %} {%- if site.spotify_id -%} + +{% endif %} {%- if site.pinterest_id -%} + +{% endif %} {%- if site.unsplash_id -%} + +{% endif %} {%- if site.instagram_id -%} + +{% endif %} {%- if site.facebook_id -%} + +{% endif %} {%- if site.youtube_id -%} + +{% endif %} {%- if site.discord_id -%} + +{% endif %} {%- if site.zotero_username -%} + +{% endif %} {%- if site.rss_icon -%} + +{% endif %} {%- if site.wechat_qr -%} + +
    + WeChat QR +
    +{% include scripts/wechatModal.html %} {% endif %} diff --git a/_includes/video.html b/_includes/video.html index 8e889cd376ce..ee4aa6d2ddf6 100644 --- a/_includes/video.html +++ b/_includes/video.html @@ -1,47 +1,191 @@ {% assign extension = include.path | split:'.' | last %}
    - {% if extension == "mp4" or extension == "webm" or extension == "ogg" %}