From f92d60f61cdbd4e22a5fca8e043e6a8189bf39ba Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Fri, 1 Dec 2023 11:20:13 -0300 Subject: [PATCH 01/95] Fixes #1584 (#1971) Removed link to blog when showing years in news Signed-off-by: George Araujo --- _layouts/post.html | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index d86e3bbb84ad..98b5797892d9 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -13,27 +13,40 @@ {% endif %} +{% assign url_beginning = page.url | slice: 0, 6 %} +

{{ page.title }}

From 6130018c96f721c1783e6e0b9f8da7b4325dbeb6 Mon Sep 17 00:00:00 2001 From: civita <14911217+civita@users.noreply.github.com> Date: Tue, 5 Dec 2023 23:57:38 +0800 Subject: [PATCH 02/95] Update cv.md (#1973) Fix path typo in description --- _pages/cv.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pages/cv.md b/_pages/cv.md index 9c0953fb9198..1f7e8a1f7214 100644 --- a/_pages/cv.md +++ b/_pages/cv.md @@ -5,7 +5,7 @@ title: cv nav: true nav_order: 4 cv_pdf: example_pdf.pdf -description: This is a description of the page. You can modify it in 'pages/_cv.md'. You can also change or remove the top pdf download button. +description: This is a description of the page. You can modify it in '_pages/cv.md'. You can also change or remove the top pdf download button. toc: sidebar: left --- From 199718610ef31bdf8efef4d09a8316b4da3df859 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Tue, 12 Dec 2023 22:56:14 -0300 Subject: [PATCH 03/95] Implemented support for tikzjax (#1990) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implemented #1976. Signed-off-by: George Araújo --- _includes/head.html | 5 +++++ _posts/2023-12-12-tikzjax.md | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 _posts/2023-12-12-tikzjax.md diff --git a/_includes/head.html b/_includes/head.html index 3ec9b1b718bd..558b6d73ecf1 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -21,6 +21,11 @@ {% endif %} + {% if page.tikzjax %} + + + {% endif %} + {% if site.icon.size <= 4 %} diff --git a/_posts/2023-12-12-tikzjax.md b/_posts/2023-12-12-tikzjax.md new file mode 100644 index 000000000000..3401c069e3f3 --- /dev/null +++ b/_posts/2023-12-12-tikzjax.md @@ -0,0 +1,18 @@ +--- +layout: post +title: a post with TikZJax +date: 2023-12-12 22:25:00 +description: this is what included TikZ code could look like +tags: formatting diagrams +categories: sample-posts +tikzjax: true +--- +This is an example post with TikZ code. TikZJax converts script tags (containing TikZ code) into SVGs. + + \ No newline at end of file From f9b8d450813cc36bf783860b806e3edcb27a4418 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:47:28 -0300 Subject: [PATCH 04/95] Fixed redirect post access from blog archive (#1994) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1831 Signed-off-by: George Araújo --- _layouts/archive-category.html | 8 +++++++- _layouts/archive-tag.html | 8 +++++++- _layouts/archive-year.html | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/_layouts/archive-category.html b/_layouts/archive-category.html index 1a477a6fcc7a..68ab2118bdc5 100644 --- a/_layouts/archive-category.html +++ b/_layouts/archive-category.html @@ -16,7 +16,13 @@

{{ page.title }} < {{ post.date | date: "%b %-d, %Y" }} - {{ post.title }} + {% if post.redirect == blank %} + {{ post.title }} + {% elsif post.redirect contains '://' %} + {{ post.title }} + {% else %} + {{ post.title }} + {% endif %} {% endfor %} diff --git a/_layouts/archive-tag.html b/_layouts/archive-tag.html index 7d1caf74cf7b..acef07f36074 100644 --- a/_layouts/archive-tag.html +++ b/_layouts/archive-tag.html @@ -16,7 +16,13 @@

{{ page.title {{ post.date | date: "%b %-d, %Y" }} - {{ post.title }} + {% if post.redirect == blank %} + {{ post.title }} + {% elsif post.redirect contains '://' %} + {{ post.title }} + {% else %} + {{ post.title }} + {% endif %} {% endfor %} diff --git a/_layouts/archive-year.html b/_layouts/archive-year.html index 125e9b085e15..55154bcceec9 100644 --- a/_layouts/archive-year.html +++ b/_layouts/archive-year.html @@ -16,7 +16,13 @@

{{ page.date {{ post.date | date: "%b %-d, %Y" }} - {{ post.title }} + {% if post.redirect == blank %} + {{ post.title }} + {% elsif post.redirect contains '://' %} + {{ post.title }} + {% else %} + {{ post.title }} + {% endif %} {% endfor %} From 36e6ff87055af44265bc4a4853093aacf920857f Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Fri, 15 Dec 2023 11:39:11 -0300 Subject: [PATCH 05/95] Ensure the zoomed image is in front of toc sidebar (#1998) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1888 Signed-off-by: George Araújo --- _sass/_base.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/_sass/_base.scss b/_sass/_base.scss index 095d68c8862e..e83d94b1e585 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -1058,3 +1058,12 @@ nav[data-toggle="toc"] { padding-top: 0.5rem; } } + +.medium-zoom-overlay, +.medium-zoom-image--opened { + z-index: 999; +} + +#toc-sidebar { + z-index: 1; +} From 1fa3febcc70d983a033121f23b995a3a0ea53fd4 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Mon, 18 Dec 2023 10:59:08 -0300 Subject: [PATCH 06/95] Updated README to explictly tell how to proceed on fresh install (#1993) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated README to explicitly tell how to proceed on creating your own version based on this template. Also removed the video tutorial since it was for an older version, recommending to fork the repo and it was missing the `--lsi` parameter from jekyll command. Also was not using docker, the current recommended way. --------- Signed-off-by: George Araújo --- README.md | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index aab580f1830b..ad624d8f824f 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Feel free to add your own page(s) by sending a PR. Academics - + @@ -175,6 +175,7 @@ Workshop on Diffusion Models (NeurIPS: /`. If you plan to upload your site to `.github.io`, -note that the name of your repository must be `.github.io` or `.github.io`, as stated in the [GitHub pages docs](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites). -For more information on how to deploy your site, check the [Deployment](#deployment) section below. After you created your new repository, just download it to your machine: +1. Create a new repository using this template. For this, click on `Use this template -> Create a new repository` above the file list. If you plan to upload your site to `.github.io`, note that the name of your repository MUST BE `.github.io` or `.github.io`, as stated in the [GitHub pages docs](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites). +2. In this new repository, go to `Settings -> Actions -> General -> Workflow permissions` and give `Read and write permissions` to GitHub Actions. +3. Open file `_config.yml`, set `url` to `https://.github.io` and leave `baseurl` **empty**. +4. Finally, in the repository page go to `Settings -> Pages -> Build and deployment`, make sure that `Source` is set to `Deploy from a branch` and set the branch to `gh-pages` (NOT to master). +5. Wait until the GitHub actions finish, then simply navigate to `https://.github.io` in your browser. At this point you should see a copy of the theme's demo website. + +After everything is set up, you can download the repository to your machine and start customizing it. To do so, run the following commands: ```bash $ git clone git@github.com:/.git -$ cd ``` --- #### Local setup using Docker (Recommended) + Using Docker to install Jekyll and Ruby dependencies is the easiest way. You need to take the following steps to get `al-folio` up and running on your local machine: @@ -237,7 +242,7 @@ $ docker compose pull $ docker compose up ``` -Note that when you run it for the first time, it will download a docker image of size 400MB or so. +Note that when you run it for the first time, it will download a docker image of size 400MB or so. To see the template running, open your browser and go to `http://localhost:8888`. You should see a copy of the theme's demo website. Now, feel free to customize the theme however you like (don't forget to change the name!). After you are done, you can use the same command (`docker compose up`) to render the webpage with all you changes. Also, make sure to commit your final changes. @@ -255,7 +260,7 @@ $ docker compose up --build > If you want to update jekyll, install new ruby packages, etc., all you have to do is build the image again using `--force-recreate` argument at the end of the previous command! It will download Ruby and Jekyll and install all Ruby packages again from scratch. -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. +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). @@ -266,6 +271,8 @@ You can also change the docker image tag to slim! It is a slimmed docker image w #### 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/). If you will use only `jupyter`, you can use [pipx](https://pypa.github.io/pipx/)*). ```bash @@ -275,8 +282,7 @@ $ pip install jupyter $ bundle exec jekyll serve --lsi ``` -Now, feel free to customize the theme however you like (don't forget to change the name!). -After you are done, **commit** your final changes. +To see the template running, open your browser and go to `http://localhost:4000`. You should see a copy of the theme's demo website. Now, feel free to customize the theme however you like. After you are done, remember to **commit** your final changes. --- @@ -303,7 +309,7 @@ Starting version [v0.3.5](https://github.com/alshedivat/al-folio/releases/tag/v0 **To enable automatic deployment:** 1. Click on **Actions** tab and **Enable GitHub Actions**; do not worry about creating any workflows as everything has already been set for you. -2. Go to Settings -> Actions -> General -> Workflow permissions, and give **Read and write permissions** to GitHub Actions +2. Go to `Settings -> Actions -> General -> Workflow permissions`, and give `Read and write permissions` to GitHub Actions 3. Make any other changes to your webpage, commit, and push. This will automatically trigger the **Deploy** action. 4. Wait for a few minutes and let the action complete. You can see the progress in the **Actions** tab. If completed successfully, in addition to the `master` branch, your repository should now have a newly built `gh-pages` branch. 5. Finally, in the **Settings** of your repository, in the Pages section, set the branch to `gh-pages` (**NOT** to `master`). For more details, see [Configuring a publishing source for your GitHub Pages site](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#choosing-a-publishing-source). @@ -474,12 +480,18 @@ If you have a different question, please ask using [Discussions](https://github. [specific characters](https://github.com/jekyll/classifier-reborn/issues/194) you used in your posts. Also, the calculus for similar posts are made for every `post`, which means every page that uses `layout: post`, including the announcements. To change this behavior, simply add `related_posts: false` to the front matter of the page you don't want to display related posts on. - + 7. **Q:** When trying to deploy, it's asking for github login credentials, which github disabled password authentication and it exits with an error. How to fix?
**A:** Open .git/config file using your preferred editor. Change the `https` portion of the `url` variable to `ssh`. Try deploying again. ## Features +### 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`. 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`. 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` and loaded via a json file, it will load the contents of `_data/cv.yml` as fallback. + ### Publications Your publications' page is generated automatically from your BibTex bibliography. From a1a9250b93ba0c44e0f96bbf5fe3560ca4938609 Mon Sep 17 00:00:00 2001 From: Tianmaru Date: Mon, 25 Dec 2023 02:01:38 +0100 Subject: [PATCH 07/95] check for active children in submenus (#1869) This patch checks, if the title of the current page matches with the title of a submenu child. If so, it sets the submenu and the corresponding child as active, highlighting it in the header. --- _includes/header.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index bd5987085187..7765c1798a8b 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -67,9 +67,15 @@ {%- for p in sorted_pages -%} {%- if p.nav and p.autogen == nil -%} {%- if p.dropdown %} -

From 6119d0657c11701d09d66ee0ad2860f0283228b1 Mon Sep 17 00:00:00 2001 From: Dinesh Natesan Date: Sun, 24 Dec 2023 18:46:14 -0800 Subject: [PATCH 08/95] added ability to switch off pagination on the blog page (#1909) --- blog/index.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/blog/index.html b/blog/index.html index e608968f7d87..b4b064c7cade 100644 --- a/blog/index.html +++ b/blog/index.html @@ -95,7 +95,14 @@

{{ post.title }}

{% endif %} - {% include pagination.html %} + {%- if page.pagination.enabled -%} + {%- include pagination.html -%} + {%- endif -%} From 0795059a4b7735aa61200022b1a2bf434230e556 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Mon, 25 Dec 2023 14:41:27 -0300 Subject: [PATCH 09/95] Now blog can be reorganized in header (#1996) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1559 #1795 Signed-off-by: George Araújo --- _config.yml | 3 +-- _includes/header.html | 21 ++++++++------------- _includes/metadata.html | 2 +- blog/index.html => _pages/blog.md | 3 +++ _pages/cv.md | 2 +- _pages/dropdown.md | 5 ++++- _pages/profiles.md | 2 +- _pages/projects.md | 2 +- _pages/publications.md | 2 +- _pages/repositories.md | 2 +- _pages/teaching.md | 2 +- 11 files changed, 23 insertions(+), 23 deletions(-) rename blog/index.html => _pages/blog.md (99%) diff --git a/_config.yml b/_config.yml index 9a2e739f6e6d..907d7411d812 100644 --- a/_config.yml +++ b/_config.yml @@ -19,7 +19,7 @@ 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/) url: https://alshedivat.github.io # the base hostname & protocol for your site -baseurl: /al-folio # the subpath of your site, e.g. /blog/ +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 @@ -121,7 +121,6 @@ bing_site_verification: # out your bing-site-verification ID (Bing Webmaster) # ----------------------------------------------------------------------------- blog_name: al-folio # blog_name will be displayed in your blog page -blog_nav_title: blog # your blog must have a title for it to be displayed in the nav bar blog_description: a simple whitespace theme for academics permalink: /blog/:year/:title/ diff --git a/_includes/header.html b/_includes/header.html index 7765c1798a8b..742c1cdb70ff 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -51,16 +51,6 @@ {%- endif -%} - {% if site.blog_nav_title %} - - - {%- endif %} {%- assign sorted_pages = site.pages | sort: "nav_order" -%} @@ -90,9 +80,14 @@ {%- else %} - + {% endfor %} + diff --git a/_includes/cv/time_table.html b/_includes/cv/time_table.html deleted file mode 100644 index 86a9637ecfb8..000000000000 --- a/_includes/cv/time_table.html +++ /dev/null @@ -1,106 +0,0 @@ -
    - {% for content in entry.contents %} -
  • -
    - {% if content.year %} -
    - - - - - - {% if content.location %} - - - - {% endif %} - -
    - {{ content.year }} -
    -

    {{ content.location }}

    -
    - -
    - {% endif %} -
    - {% if content.title %} -
    {{content.title}}
    - {% endif %} - {% if content.department or content.institution %} - - - {% if content.institution %} - - - - - {% endif %} - {% if content.department %} - - - - - {% endif %} - -
    {{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 %} -
    • - {% 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 %} - - {% endif %} -
    -
    -
  • - {% endfor %} -
\ No newline at end of file diff --git a/_includes/cv/time_table.liquid b/_includes/cv/time_table.liquid new file mode 100644 index 000000000000..beb1c52e0014 --- /dev/null +++ b/_includes/cv/time_table.liquid @@ -0,0 +1,118 @@ +
    + {% for content in entry.contents %} +
  • +
    + {% if content.year %} +
    + + + + + + {% if content.location %} + + + + {% endif %} + +
    + + {{- content.year -}} + +
    +

    + + {{ content.location }} +

    +
    +
    + {% endif %} +
    + {% if content.title %} +
    {{ content.title }}
    + {% endif %} + {% if content.department or content.institution %} + + + {% if content.institution %} + + + + + {% endif %} + {% if content.department %} + + + + + {% endif %} + +
    + + {{ 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 %} +
    • + {% 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 %} + + {% endif %} +
    +
    +
  • + {% endfor %} +
diff --git a/_includes/disqus.html b/_includes/disqus.html deleted file mode 100644 index 73fe9538d0dc..000000000000 --- a/_includes/disqus.html +++ /dev/null @@ -1,13 +0,0 @@ -
- - -
diff --git a/_includes/disqus.liquid b/_includes/disqus.liquid new file mode 100644 index 000000000000..6979a4eced2d --- /dev/null +++ b/_includes/disqus.liquid @@ -0,0 +1,13 @@ +
+ + +
diff --git a/_includes/figure.html b/_includes/figure.html deleted file mode 100644 index 5bf766a88ac9..000000000000 --- a/_includes/figure.html +++ /dev/null @@ -1,34 +0,0 @@ -{%- assign img_path = include.path | remove: ".jpg" | remove: ".jpeg" | remove: ".png" | remove: ".tiff" | remove: ".gif" -%} - -
- - - - {% if site.imagemagick.enabled %} - - {% endif %} - - - - {%- if include.caption -%}
{{ include.caption }}
{%- endif %} - -
diff --git a/_includes/figure.liquid b/_includes/figure.liquid new file mode 100644 index 000000000000..78ce4623602a --- /dev/null +++ b/_includes/figure.liquid @@ -0,0 +1,65 @@ +{% assign img_path = include.path | remove: '.jpg' | remove: '.jpeg' | remove: '.png' | remove: '.tiff' | remove: '.gif' %} + +
+ + + + {% if site.imagemagick.enabled %} + + {% endif %} + {{ include.alt }} + + + {% if include.caption %} +
{{ include.caption }}
+ {% endif %} +
diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index acc4688f7cff..000000000000 --- a/_includes/footer.html +++ /dev/null @@ -1,25 +0,0 @@ - {% 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 diff --git a/_includes/footer.liquid b/_includes/footer.liquid new file mode 100644 index 000000000000..c6e0234c7f5b --- /dev/null +++ b/_includes/footer.liquid @@ -0,0 +1,31 @@ +{% 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 deleted file mode 100644 index ac6c95070bde..000000000000 --- a/_includes/giscus.html +++ /dev/null @@ -1,36 +0,0 @@ -
- {%- if site.giscus.repo -%} - - - {%- 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/giscus.liquid b/_includes/giscus.liquid new file mode 100644 index 000000000000..10a5d5d813b8 --- /dev/null +++ b/_includes/giscus.liquid @@ -0,0 +1,32 @@ +
+ {% if site.giscus.repo %} + + + {% 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 deleted file mode 100644 index 9108a1f4520b..000000000000 --- a/_includes/head.html +++ /dev/null @@ -1,42 +0,0 @@ - - {% 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/head.liquid b/_includes/head.liquid new file mode 100644 index 000000000000..8e42e9df9134 --- /dev/null +++ b/_includes/head.liquid @@ -0,0 +1,63 @@ + +{% include metadata.liquid %} + + + + + + + + + + + + + + + + +{% 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 deleted file mode 100644 index 742c1cdb70ff..000000000000 --- a/_includes/header.html +++ /dev/null @@ -1,120 +0,0 @@ - -
- - - -{% if site.enable_progressbar %} - - -
- -
-
-{%- endif %} -
diff --git a/_includes/header.liquid b/_includes/header.liquid new file mode 100644 index 000000000000..13ee0bc9de7a --- /dev/null +++ b/_includes/header.liquid @@ -0,0 +1,133 @@ +
+ + + {% if site.enable_progressbar %} + + +
+ +
+
+ {% endif %} +
diff --git a/_includes/latest_posts.html b/_includes/latest_posts.html deleted file mode 100644 index 0d1a0be3afaa..000000000000 --- a/_includes/latest_posts.html +++ /dev/null @@ -1,35 +0,0 @@ - -
- {% 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/latest_posts.liquid b/_includes/latest_posts.liquid new file mode 100644 index 000000000000..e710727a605e --- /dev/null +++ b/_includes/latest_posts.liquid @@ -0,0 +1,48 @@ +
+ {% 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 deleted file mode 100644 index 756e4f8370f6..000000000000 --- a/_includes/metadata.html +++ /dev/null @@ -1,239 +0,0 @@ -{% if site.enable_google_verification or site.enable_bing_verification %} - - {% 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 -%} - {%- 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 -%} -{%- 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 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 -%} - - -{%- endif %} diff --git a/_includes/metadata.liquid b/_includes/metadata.liquid new file mode 100644 index 000000000000..b1c7ccb77aae --- /dev/null +++ b/_includes/metadata.liquid @@ -0,0 +1,239 @@ +{% if site.enable_google_verification or site.enable_bing_verification %} + + {% 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 == null or page.title == '' %} + {{ page.date | date: '%Y' }} | {{ title }} + {% else %} + {{ 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 %} +{% 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 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 %} + + +{% endif %} diff --git a/_includes/news.html b/_includes/news.html deleted file mode 100644 index 401d9f6f4c20..000000000000 --- a/_includes/news.html +++ /dev/null @@ -1,29 +0,0 @@ -
- {% 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 %} -
-
- {%- else -%} -

No news so far...

- {%- endif %} -
\ No newline at end of file diff --git a/_includes/news.liquid b/_includes/news.liquid new file mode 100644 index 000000000000..547ccf1a9b0d --- /dev/null +++ b/_includes/news.liquid @@ -0,0 +1,34 @@ +
+ {% 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 %} +
+
+ {% else %} +

No news so far...

+ {% endif %} +
diff --git a/_includes/pagination.html b/_includes/pagination.html deleted file mode 100644 index 4b8d27e3aee1..000000000000 --- a/_includes/pagination.html +++ /dev/null @@ -1,17 +0,0 @@ -{%- if paginator.total_pages > 1 -%} - -{%- endif -%} diff --git a/_includes/pagination.liquid b/_includes/pagination.liquid new file mode 100644 index 000000000000..7d504b1d1f70 --- /dev/null +++ b/_includes/pagination.liquid @@ -0,0 +1,21 @@ +{% if paginator.total_pages > 1 %} + +{% endif %} diff --git a/_includes/projects.html b/_includes/projects.html deleted file mode 100644 index 67c22b0ab24a..000000000000 --- a/_includes/projects.html +++ /dev/null @@ -1,37 +0,0 @@ - -
- \ No newline at end of file diff --git a/_includes/projects.liquid b/_includes/projects.liquid new file mode 100644 index 000000000000..e8ceda734057 --- /dev/null +++ b/_includes/projects.liquid @@ -0,0 +1,35 @@ + +
+ diff --git a/_includes/projects_horizontal.html b/_includes/projects_horizontal.html deleted file mode 100644 index 5df1ca90b1c4..000000000000 --- a/_includes/projects_horizontal.html +++ /dev/null @@ -1,40 +0,0 @@ -
- {%- if project.redirect -%} - - {%- else -%} - - {%- endif -%} - diff --git a/_includes/projects_horizontal.liquid b/_includes/projects_horizontal.liquid new file mode 100644 index 000000000000..276a4ead4652 --- /dev/null +++ b/_includes/projects_horizontal.liquid @@ -0,0 +1,34 @@ + diff --git a/_includes/related_posts.html b/_includes/related_posts.liquid similarity index 99% rename from _includes/related_posts.html rename to _includes/related_posts.liquid index df6b3e5d84b5..4cf4ffbd7a26 100644 --- a/_includes/related_posts.html +++ b/_includes/related_posts.liquid @@ -1,5 +1,4 @@ {% assign have_related_posts = false %} - {% for post in site.related_posts | limit: site.related_blog_posts.max_related %} {% unless have_related_posts %} {% assign have_related_posts = true %} diff --git a/_includes/repository/repo.html b/_includes/repository/repo.html deleted file mode 100644 index a0881c0b022f..000000000000 --- a/_includes/repository/repo.html +++ /dev/null @@ -1,14 +0,0 @@ -{% assign repo_url = include.repository | split: '/' %} - -{% if site.data.repositories.github_users contains repo_url.first %} - {% assign show_owner = false %} -{% else %} - {% assign show_owner = true %} -{% endif %} - - diff --git a/_includes/repository/repo.liquid b/_includes/repository/repo.liquid new file mode 100644 index 000000000000..86aecc50705c --- /dev/null +++ b/_includes/repository/repo.liquid @@ -0,0 +1,21 @@ +{% assign repo_url = include.repository | split: '/' %} +{% if site.data.repositories.github_users contains repo_url.first %} + {% assign show_owner = false %} +{% else %} + {% assign show_owner = true %} +{% endif %} + + diff --git a/_includes/repository/repo_trophies.html b/_includes/repository/repo_trophies.html deleted file mode 100644 index d04da082f6ae..000000000000 --- a/_includes/repository/repo_trophies.html +++ /dev/null @@ -1,18 +0,0 @@ - diff --git a/_includes/repository/repo_trophies.liquid b/_includes/repository/repo_trophies.liquid new file mode 100644 index 000000000000..07a8d42d0462 --- /dev/null +++ b/_includes/repository/repo_trophies.liquid @@ -0,0 +1,42 @@ + diff --git a/_includes/repository/repo_user.html b/_includes/repository/repo_user.html deleted file mode 100644 index ae06a058fccc..000000000000 --- a/_includes/repository/repo_user.html +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/_includes/repository/repo_user.liquid b/_includes/repository/repo_user.liquid new file mode 100644 index 000000000000..35c301dde8e2 --- /dev/null +++ b/_includes/repository/repo_user.liquid @@ -0,0 +1,14 @@ + diff --git a/_includes/resume/awards.html b/_includes/resume/awards.html deleted file mode 100644 index 2bd912c93136..000000000000 --- a/_includes/resume/awards.html +++ /dev/null @@ -1,23 +0,0 @@ -
    - {% for content in data[1] %} -
  • -
    -
    - {% if content.date %} - {% assign date = content.date | split: "-" | join: "." %} - {% else %} - {% assign date = "" %} - {% endif %} - - {{ date }} - -
    -
    -
    {{content.title}}
    -
    {{content.awarder}}
    -
    {{content.summary}}
    -
    -
    -
  • - {% endfor %} -
\ No newline at end of file diff --git a/_includes/resume/awards.liquid b/_includes/resume/awards.liquid new file mode 100644 index 000000000000..13bd9b3f683f --- /dev/null +++ b/_includes/resume/awards.liquid @@ -0,0 +1,19 @@ +
    + {% for content in data[1] %} +
  • +
    +
    + {% if content.date %} {% assign date = content.date | split: '-' | join: '.' %} {% else %} {% assign date = '' %} {% endif %} + {{ date }} +
    +
    +
    + {{ content.title }} +
    +
    {{ content.awarder }}
    +
    {{ content.summary }}
    +
    +
    +
  • + {% endfor %} +
diff --git a/_includes/resume/basics.html b/_includes/resume/basics.html deleted file mode 100644 index 875af11df100..000000000000 --- a/_includes/resume/basics.html +++ /dev/null @@ -1,23 +0,0 @@ - - {% assign skip_basics = "image,profiles,location" | split:"," %} - {% for content in data[1] %} - {% if (content[1] == "") or (skip_basics contains content[0]) %} - {% continue %} - {% endif %} - - - - - - {% endfor %} -
{{ content[0] | capitalize }} - {% if content[0] == "url" %} - {{ content[1] }} - {% elsif content[0] == "email" %} - {{ content[1] }} - {% elsif content[0] == "phone" %} - {{ content[1] }} - {% else %} - {{ content[1] }} - {% endif %} -
diff --git a/_includes/resume/basics.liquid b/_includes/resume/basics.liquid new file mode 100644 index 000000000000..3f8d5bfd2f92 --- /dev/null +++ b/_includes/resume/basics.liquid @@ -0,0 +1,28 @@ + + {% assign skip_basics = 'image,profiles,location' | split: ',' %} + {% for content in data[1] %} + {% + if (content[1] == "") or (skip_basics contains + content[0]) + %} + {% continue %} + {% endif %} + + + + + + {% endfor %} +
+ {{ content[0] | capitalize }} + + {% if content[0] == 'url' %} + {{ content[1] }} + {% elsif content[0] == 'email' %} + {{ content[1] }} + {% elsif content[0] == 'phone' %} + {{ content[1] }} + {% else %} + {{ content[1] }} + {% endif %} +
diff --git a/_includes/resume/certificates.html b/_includes/resume/certificates.liquid similarity index 55% rename from _includes/resume/certificates.html rename to _includes/resume/certificates.liquid index cdd797894056..70ec00ac2113 100644 --- a/_includes/resume/certificates.html +++ b/_includes/resume/certificates.liquid @@ -1,31 +1,35 @@
- {% assign certificates = data[1] | sort: 'date' | reverse %} - {% for content in certificates %} + {% 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 %} + {% assign i = i | plus: 1 %} {% endfor %} - +
+ + - {{ content.name }} + {{ content.name }}
{{ content.issuer }} + {{ content.issuer }} + {{ content.date }}
- {% endfor %} -
\ No newline at end of file + {% endfor %} +
diff --git a/_includes/resume/education.html b/_includes/resume/education.html deleted file mode 100644 index a63b6ec380ef..000000000000 --- a/_includes/resume/education.html +++ /dev/null @@ -1,51 +0,0 @@ -
    - {% 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.location %} - - - - {% endif %} - -
    - {% if date %} - - {{date}} - - {% endif %} -
    -

    {{ content.location }}

    -
    -
    -
    -
    {{content.studyType}}
    -
    {{content.institution}}
    -
    {{content.area}}
    -
      - {% for item in content.courses %} -
    • - {{ item }} -
    • - {% endfor %} -
    -
    -
    -
  • - {% endfor %} -
diff --git a/_includes/resume/education.liquid b/_includes/resume/education.liquid new file mode 100644 index 000000000000..a570605d99da --- /dev/null +++ b/_includes/resume/education.liquid @@ -0,0 +1,54 @@ +
    + {% 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.location %} + + + + {% endif %} + +
    + {% if date %} + {{ date }} + {% endif %} +
    +

    + + {{ content.location }} +

    +
    +
    +
    +
    + {{ content.studyType }} +
    +
    {{ content.institution }}
    +
    {{ content.area }}
    +
      + {% for item in content.courses %} +
    • + {{ item }} +
    • + {% endfor %} +
    +
    +
    +
  • + {% endfor %} +
diff --git a/_includes/resume/interests.html b/_includes/resume/interests.liquid similarity index 58% rename from _includes/resume/interests.html rename to _includes/resume/interests.liquid index 3519179962d5..b3b72dec5f6b 100644 --- a/_includes/resume/interests.html +++ b/_includes/resume/interests.liquid @@ -1,29 +1,33 @@
- {% for content in data[1] %} + {% for content in data[1] %}
{% if content.icon %} - + {% else %} - + {% endif %} {% assign i = 1 %} {% for item in content.items %} - {% assign i = i | plus:1 %} + {% assign i = i | plus: 1 %} {% endfor %} {% for item in content.keywords %} - - - - + + + + {% endfor %}
+ + {{ content.name }}
{{ item }}
+ {{ item }} +
- {% endfor %} -
\ No newline at end of file + {% endfor %} + diff --git a/_includes/resume/languages.html b/_includes/resume/languages.liquid similarity index 60% rename from _includes/resume/languages.html rename to _includes/resume/languages.liquid index 8b0fd2b018d1..36d7875a6b40 100644 --- a/_includes/resume/languages.html +++ b/_includes/resume/languages.liquid @@ -1,27 +1,31 @@
- {% for content in data[1] %} + {% for content in data[1] %}
{% if content.icon %} - + {% else %} - + {% endif %} {% assign i = 1 %} {% for item in content.items %} - {% assign i = i | plus:1 %} + {% assign i = i | plus: 1 %} {% endfor %} - +
+ + {{ content.language }}
{{ content.fluency }} + {{ content.fluency }} +
- {% endfor %} -
\ No newline at end of file + {% endfor %} + diff --git a/_includes/resume/projects.html b/_includes/resume/projects.html deleted file mode 100644 index 0436c80717e3..000000000000 --- a/_includes/resume/projects.html +++ /dev/null @@ -1,32 +0,0 @@ -
    - {% 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 }} - -
    -
    -
    {{content.name}}
    -
    {{content.summary}}
    -
      - {% for item in content.highlights %} -
    • - {{ item }} -
    • - {% endfor %} -
    -
    -
    -
  • - {% endfor %} -
\ No newline at end of file diff --git a/_includes/resume/projects.liquid b/_includes/resume/projects.liquid new file mode 100644 index 000000000000..5f47ea8b461f --- /dev/null +++ b/_includes/resume/projects.liquid @@ -0,0 +1,32 @@ +
    + {% 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 }} +
    +
    +
    + {{ content.name }} +
    +
    {{ content.summary }}
    +
      + {% for item in content.highlights %} +
    • + {{ item }} +
    • + {% endfor %} +
    +
    +
    +
  • + {% endfor %} +
diff --git a/_includes/resume/publications.html b/_includes/resume/publications.html deleted file mode 100644 index d77d715fce04..000000000000 --- a/_includes/resume/publications.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - {% 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}}
    -
    -
    -
  • - {% endfor %} -
\ No newline at end of file diff --git a/_includes/resume/publications.liquid b/_includes/resume/publications.liquid new file mode 100644 index 000000000000..ef234139c611 --- /dev/null +++ b/_includes/resume/publications.liquid @@ -0,0 +1,28 @@ +
    + {% 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 }}
    +
    +
    +
  • + {% endfor %} +
diff --git a/_includes/resume/references.html b/_includes/resume/references.liquid similarity index 60% rename from _includes/resume/references.html rename to _includes/resume/references.liquid index fef4d28db78f..22365685b766 100644 --- a/_includes/resume/references.html +++ b/_includes/resume/references.liquid @@ -1,27 +1,31 @@
- {% for content in data[1] %} + {% for content in data[1] %}
{% if content.icon %} - + {% else %} - + {% endif %} {% assign i = 1 %} {% for item in content.items %} - {% assign i = i | plus:1 %} + {% assign i = i | plus: 1 %} {% endfor %} - +
+ + {{ content.name }}
{{ content.reference }} + {{ content.reference }} +
- {% endfor %} -
\ No newline at end of file + {% endfor %} + diff --git a/_includes/resume/skills.html b/_includes/resume/skills.liquid similarity index 59% rename from _includes/resume/skills.html rename to _includes/resume/skills.liquid index 69bb4e317831..672fd0564a9a 100644 --- a/_includes/resume/skills.html +++ b/_includes/resume/skills.liquid @@ -1,29 +1,33 @@
- {% for content in data[1] %} + {% for content in data[1] %}
{% if content.icon %} - + {% else %} - + {% endif %} {% assign i = 1 %} {% for item in content.items %} - {% assign i = i | plus:1 %} + {% assign i = i | plus: 1 %} {% endfor %} {% for item in content.keywords %} - - - - + + + + {% endfor %}
+ + {{ content.name }}
{{ item }}
+ {{ item }} +
- {% endfor %} -
\ No newline at end of file + {% endfor %} + diff --git a/_includes/resume/volunteer.html b/_includes/resume/volunteer.html deleted file mode 100644 index fb68f7afc3c5..000000000000 --- a/_includes/resume/volunteer.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - {% 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 }} - -
    -
    -
    {{content.position}}
    -
    {{content.organization}}
    -
    {{content.summary}}
    -
      - {% for item in content.highlights %} -
    • - {{ item }} -
    • - {% endfor %} -
    -
    -
    -
  • - {% endfor %} -
\ No newline at end of file diff --git a/_includes/resume/volunteer.liquid b/_includes/resume/volunteer.liquid new file mode 100644 index 000000000000..c0b41f7df044 --- /dev/null +++ b/_includes/resume/volunteer.liquid @@ -0,0 +1,34 @@ +
    + {% 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 }} +
    +
    +
    + {{ content.position }} +
    +
    {{ content.organization }}
    +
    {{ content.summary }}
    +
      + {% for item in content.highlights %} +
    • + {{ item }} +
    • + {% endfor %} +
    +
    +
    +
  • + {% endfor %} +
diff --git a/_includes/resume/work.html b/_includes/resume/work.html deleted file mode 100644 index 9f8e1852a226..000000000000 --- a/_includes/resume/work.html +++ /dev/null @@ -1,34 +0,0 @@ -
    - {% 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 }} - -
    -
    -
    {{content.position}}
    -
    {{content.name}}
    -
    {{content.summary}}
    -
      - {% for item in content.highlights %} -
    • - {{ item }} -
    • - {% endfor %} -
    -
    -
    -
  • - {% endfor %} -
\ No newline at end of file diff --git a/_includes/resume/work.liquid b/_includes/resume/work.liquid new file mode 100644 index 000000000000..50b107442da3 --- /dev/null +++ b/_includes/resume/work.liquid @@ -0,0 +1,34 @@ +
    + {% 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 }} +
    +
    +
    + {{ content.position }} +
    +
    {{ content.name }}
    +
    {{ content.summary }}
    +
      + {% for item in content.highlights %} +
    • + {{ item }} +
    • + {% endfor %} +
    +
    +
    +
  • + {% endfor %} +
diff --git a/_includes/scripts/analytics.html b/_includes/scripts/analytics.liquid similarity index 60% rename from _includes/scripts/analytics.html rename to _includes/scripts/analytics.liquid index 119617a5fe49..886cfd3aa465 100644 --- a/_includes/scripts/analytics.html +++ b/_includes/scripts/analytics.liquid @@ -1,18 +1,24 @@ -{%- if site.enable_google_analytics -%} +{% if site.enable_google_analytics %} -{%- endif -%} -{%- if site.enable_cronitor_analytics -%} +{% endif %} +{% if site.enable_cronitor_analytics %} -{%- endif -%} +{% endif %} diff --git a/_includes/scripts/badges.html b/_includes/scripts/badges.liquid similarity index 54% rename from _includes/scripts/badges.html rename to _includes/scripts/badges.liquid index 5e8a79fae1b9..72706905136d 100644 --- a/_includes/scripts/badges.html +++ b/_includes/scripts/badges.liquid @@ -1,6 +1,6 @@ -{%- if site.enable_publication_badges.altmetric %} +{% if site.enable_publication_badges.altmetric %} -{%- endif %} -{%- if site.enable_publication_badges.dimensions %} +{% endif %} +{% if site.enable_publication_badges.dimensions %} -{%- endif %} +{% endif %} diff --git a/_includes/scripts/bootstrap.html b/_includes/scripts/bootstrap.html deleted file mode 100644 index e2ae85dd1775..000000000000 --- a/_includes/scripts/bootstrap.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/_includes/scripts/bootstrap.liquid b/_includes/scripts/bootstrap.liquid new file mode 100644 index 000000000000..647aaf1a0d52 --- /dev/null +++ b/_includes/scripts/bootstrap.liquid @@ -0,0 +1,8 @@ + + + + diff --git a/_includes/scripts/jquery.html b/_includes/scripts/jquery.html deleted file mode 100644 index f84a2f22d5b6..000000000000 --- a/_includes/scripts/jquery.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/_includes/scripts/jquery.liquid b/_includes/scripts/jquery.liquid new file mode 100644 index 000000000000..628f8730112e --- /dev/null +++ b/_includes/scripts/jquery.liquid @@ -0,0 +1,6 @@ + + diff --git a/_includes/scripts/masonry.html b/_includes/scripts/masonry.html deleted file mode 100644 index 804389d31ad3..000000000000 --- a/_includes/scripts/masonry.html +++ /dev/null @@ -1,6 +0,0 @@ - {%- if site.enable_masonry -%} - - - - - {%- endif -%} diff --git a/_includes/scripts/masonry.liquid b/_includes/scripts/masonry.liquid new file mode 100644 index 000000000000..c82f774b9a4b --- /dev/null +++ b/_includes/scripts/masonry.liquid @@ -0,0 +1,11 @@ +{% if site.enable_masonry %} + + + + +{% endif %} diff --git a/_includes/scripts/mathjax.html b/_includes/scripts/mathjax.html deleted file mode 100644 index c55ec056d26b..000000000000 --- a/_includes/scripts/mathjax.html +++ /dev/null @@ -1,12 +0,0 @@ - {%- if site.enable_math -%} - - - - - {%- endif %} diff --git a/_includes/scripts/mathjax.liquid b/_includes/scripts/mathjax.liquid new file mode 100644 index 000000000000..cf5b3a39d3bf --- /dev/null +++ b/_includes/scripts/mathjax.liquid @@ -0,0 +1,17 @@ +{% if site.enable_math %} + + + + +{% endif %} diff --git a/_includes/scripts/mermaid.html b/_includes/scripts/mermaid.liquid similarity index 70% rename from _includes/scripts/mermaid.html rename to _includes/scripts/mermaid.liquid index 995aa1c0448e..acd72753afa2 100644 --- a/_includes/scripts/mermaid.html +++ b/_includes/scripts/mermaid.liquid @@ -1,10 +1,10 @@ - {% if page.mermaid and page.mermaid.enabled %} +{% if page.mermaid and page.mermaid.enabled %} {% if page.mermaid.zoomable %} - + {% endif %} - {% endif %} +{% endif %} diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html deleted file mode 100644 index 4efbb151dd70..000000000000 --- a/_includes/scripts/misc.html +++ /dev/null @@ -1,25 +0,0 @@ -{% if site.enable_tooltips %} - - -{%- endif %} - -{%- if site.enable_medium_zoom %} - - - -{%- endif -%} - -{% if page.toc and page.toc.sidebar %} - - -{% endif %} - - - - - - - - diff --git a/_includes/scripts/misc.liquid b/_includes/scripts/misc.liquid new file mode 100644 index 000000000000..8baf2b17cddd --- /dev/null +++ b/_includes/scripts/misc.liquid @@ -0,0 +1,30 @@ +{% if site.enable_tooltips %} + + +{% 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 deleted file mode 100644 index 88bb73cd35e4..000000000000 --- a/_includes/scripts/progressBar.html +++ /dev/null @@ -1,80 +0,0 @@ -{% if site.enable_progressbar %} - - - - -{%- endif %} diff --git a/_includes/scripts/progressBar.liquid b/_includes/scripts/progressBar.liquid new file mode 100644 index 000000000000..08d191558473 --- /dev/null +++ b/_includes/scripts/progressBar.liquid @@ -0,0 +1,78 @@ +{% if site.enable_progressbar %} + + +{% endif %} diff --git a/_includes/scripts/wechatModal.html b/_includes/scripts/wechatModal.html deleted file mode 100644 index 23d81d16e35c..000000000000 --- a/_includes/scripts/wechatModal.html +++ /dev/null @@ -1,20 +0,0 @@ -{% if site.wechat_qr %} - - - - - -{% endif %} \ No newline at end of file diff --git a/_includes/scripts/wechatModal.liquid b/_includes/scripts/wechatModal.liquid new file mode 100644 index 000000000000..17285b3032cb --- /dev/null +++ b/_includes/scripts/wechatModal.liquid @@ -0,0 +1,18 @@ +{% if site.wechat_qr %} + + + +{% endif %} diff --git a/_includes/selected_papers.html b/_includes/selected_papers.html deleted file mode 100644 index 37c4dbac8d54..000000000000 --- a/_includes/selected_papers.html +++ /dev/null @@ -1,4 +0,0 @@ - -
- {% bibliography --group_by none --query @*[selected=true]* %} -
diff --git a/_includes/selected_papers.liquid b/_includes/selected_papers.liquid new file mode 100644 index 000000000000..e9bf0935dd14 --- /dev/null +++ b/_includes/selected_papers.liquid @@ -0,0 +1,3 @@ +
+ {% bibliography --group_by none --query @*[selected=true]* %} +
diff --git a/_includes/social.html b/_includes/social.html deleted file mode 100644 index b9d01aa9246f..000000000000 --- a/_includes/social.html +++ /dev/null @@ -1,118 +0,0 @@ - {%- 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/social.liquid b/_includes/social.liquid new file mode 100644 index 000000000000..8d3a783969b6 --- /dev/null +++ b/_includes/social.liquid @@ -0,0 +1,118 @@ +{% 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.liquid %} +{% endif %} diff --git a/_includes/video.html b/_includes/video.html deleted file mode 100644 index 8e889cd376ce..000000000000 --- a/_includes/video.html +++ /dev/null @@ -1,47 +0,0 @@ -{% assign extension = include.path | split:'.' | last %} - -
- - {% if extension == "mp4" or extension == "webm" or extension == "ogg" %} - -