diff --git a/.github/workflows/broken-links.yml b/.github/workflows/broken-links.yml index d630300..36d1d6e 100644 --- a/.github/workflows/broken-links.yml +++ b/.github/workflows/broken-links.yml @@ -49,4 +49,4 @@ jobs: with: fail: true # removed md files that include liquid tags - args: --exclude-path README.md --exclude-path CUSTOMIZE.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _pages/about.md --exclude-path _posts/2018-12-22-distill.md --verbose --no-progress './**/*.md' './**/*.html' + args: --exclude-path README.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _posts/2018-12-22-distill.md --verbose --no-progress './**/*.md' './**/*.html' diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 0000000..60446c8 --- /dev/null +++ b/.github/workflows/prettier.yml @@ -0,0 +1,48 @@ +name: Prettier code formatter + +on: + pull_request: + branches: + - master + - main + push: + branches: + - master + - main + +jobs: + check: + # available images: https://github.com/actions/runner-images#available-images + runs-on: ubuntu-latest + steps: + - name: Checkout πŸ›ŽοΈ + uses: actions/checkout@v4 + - name: Setup Node.js βš™οΈ + uses: actions/setup-node@v4 + - name: Install Prettier πŸ’Ύ + run: npm install --save-dev --save-exact prettier @shopify/prettier-plugin-liquid + - name: Prettier Check πŸ”Ž + id: prettier + run: npx prettier . --check + - name: Create diff πŸ“ + # https://docs.github.com/en/actions/learn-github-actions/expressions#failure + if: ${{ failure() }} + run: | + npx prettier . --write + git diff -- . ':(exclude)package-lock.json' ':(exclude)package.json' > diff.txt + npm install -g diff2html-cli + diff2html -i file -s side -F diff.html -- diff.txt + - name: Upload html diff ⬆️ + id: artifact-upload + if: ${{ failure() && steps.prettier.conclusion == 'failure' }} + uses: actions/upload-artifact@v4 + with: + name: HTML Diff + path: diff.html + retention-days: 7 + - name: Dispatch information to repository πŸ—£οΈ + if: ${{ failure() && steps.prettier.conclusion == 'failure' && github.event_name == 'pull_request' }} + uses: peter-evans/repository-dispatch@v2 + with: + event-type: prettier-failed-on-pr + client-payload: '{"pr_number": "${{ github.event.number }}", "artifact_url": "${{ steps.artifact-upload.outputs.artifact-url }}", "run_id": "${{ github.run_id }}"}' diff --git a/CUSTOMIZE.md b/CUSTOMIZE.md index 0bf9e69..ffe37f0 100644 --- a/CUSTOMIZE.md +++ b/CUSTOMIZE.md @@ -1,6 +1,6 @@ # Customize -Here we will give you some tips on how to customize the website. +Here we will give you some tips on how to customize the website. One important thing to note is that **ALL** the changes you make should be done on the **main** branch of your repository. The `gh-pages` branch is automatically overwritten every time you make a change to the main branch. ## Project structure diff --git a/FAQ.md b/FAQ.md index 78ea13f..694e422 100644 --- a/FAQ.md +++ b/FAQ.md @@ -38,7 +38,7 @@ Make sure to correctly specify the `url` and `baseurl` paths in `_config.yml`. R #### My site doesn't work when I enable `related_blog_posts`. Why? -This is probably due to the [classifier reborn](https://github.com/jekyll/classifier-reborn) plugin, which is used to calculate related posts. If the error states `Liquid Exception: Zero vectors can not be normalized...`, it means that it could not calculate related posts for a specific post. This is usually caused by [empty or minimal blog posts](https://github.com/jekyll/classifier-reborn/issues/64) without meaningful words (i.e. only [stop words](https://en.wikipedia.org/wiki/Stop_words)) or even [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. +This is probably due to the [classifier reborn](https://github.com/jekyll/classifier-reborn) plugin, which is used to calculate related posts. If the error states `Liquid Exception: Zero vectors can not be normalized...`, it means that it could not calculate related posts for a specific post. This is usually caused by [empty or minimal blog posts](https://github.com/jekyll/classifier-reborn/issues/64) without meaningful words (i.e. only [stop words](https://en.wikipedia.org/wiki/Stop_words)) or even [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. Another solution is to disable the lsi (latent semantic indexing) entirely by removing the `--lsi` flag in the code. Related issue: [#1828](https://github.com/alshedivat/al-folio/issues/1828). #### 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? diff --git a/INSTALL.md b/INSTALL.md index fc50d44..754e5e1 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -23,9 +23,10 @@ The recommended approach for using **al-folio** is to first create your own site 1. Create a new repository using this template. For this, click on [Use this template -> Create a new repository](https://github.com/new?template_name=al-folio&template_owner=alshedivat) above the file list. If you plan to upload your site to `.github.io`, note that the name of your repository :warning: **MUST BE** :warning: `.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](https://alshedivat.github.io/al-folio/). +3. Open file `_config.yml`, set `url` to `https://.github.io` and leave `baseurl` **empty** (do NOT delete it). +4. Wait until the GitHub actions finish (check your repository **Actions** tab). Now, in addition to the master branch, your repository has a newly built gh-pages branch. +5. 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). +6. Wait until the GitHub actions finish (check your repository **Actions** tab), then simply navigate to `https://.github.io` in your browser. At this point you should see a copy of the theme's [demo website](https://alshedivat.github.io/al-folio/). After everything is set up, you can download the repository to your machine and start customizing it. To do so, run the following commands: @@ -91,29 +92,29 @@ To see the template running, open your browser and go to `http://localhost:4000` ## Deployment Deploying your website to [GitHub Pages](https://pages.github.com/) is the most popular option. -Starting version [v0.3.5](https://github.com/alshedivat/al-folio/releases/tag/v0.3.5), **al-folio** will automatically re-deploy your webpage each time you push new changes to your repository! :sparkles: +Starting version [v0.3.5](https://github.com/alshedivat/al-folio/releases/tag/v0.3.5), **al-folio** will automatically re-deploy your webpage each time you push new changes to your repository **main branch**! :sparkles: ### For personal and organization webpages 1. The name of your repository **MUST BE** `.github.io` or `.github.io`. 2. In `_config.yml`, set `url` to `https://.github.io` and leave `baseurl` empty. 3. Set up automatic deployment of your webpage (see instructions below). -4. Make changes, commit, and push! +4. Make changes to your main branch, commit, and push! 5. After deployment, the webpage will become available at `.github.io`. ### For project pages 1. In `_config.yml`, set `url` to `https://.github.io` and `baseurl` to `//`. 2. Set up automatic deployment of your webpage (see instructions below). -3. Make changes, commit, and push! +3. Make changes to your main branch, commit, and push! 4. After deployment, the webpage will become available at `.github.io//`. ### Enabling 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 -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. +3. Make any other changes to your webpage, commit, and push to your main branch. 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. **Do NOT touch this 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). If you keep your site on another branch, open `.github/workflows/deploy.yml` **on the branch you keep your website on** and change `on->push->branches` and `on->pull\_request->branches` to the branch you keep your website on. This will trigger the action on pulls/pushes on that branch. The action will then deploy the website on the branch it was triggered from. @@ -141,7 +142,7 @@ $ purgecss -c purgecss.config.js which will replace the css files in the `_site/assets/css/` folder with the purged css files. -**Note:** Make sure to correctly set the `url` and `baseurl` fields in `_config.yml` before building the webpage. If you are deploying your webpage to `your-domain.com/your-project/`, you must set `url: your-domain.com` and `baseurl: /your-project/`. If you are deploying directly to `your-domain.com`, leave `baseurl` blank. +**Note:** Make sure to correctly set the `url` and `baseurl` fields in `_config.yml` before building the webpage. If you are deploying your webpage to `your-domain.com/your-project/`, you must set `url: your-domain.com` and `baseurl: /your-project/`. If you are deploying directly to `your-domain.com`, leave `baseurl` blank, **do not delete it**. ### Deployment to a separate repository (advanced users only) diff --git a/README.md b/README.md index 3169b9b..24a267c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
-[![Preview](assets/img/readme_preview/al-folio-preview.png)](https://alshedivat.github.io/al-folio/) +[![Preview](readme_preview/al-folio-preview.png)](https://alshedivat.github.io/al-folio/) **A simple, clean, and responsive [Jekyll](https://jekyllrb.com/) theme for academics.** @@ -134,6 +134,8 @@ Feel free to add your own page(s) by sending a PR. β˜… β˜… β˜… +β˜… +β˜… @@ -152,11 +154,11 @@ Feel free to add your own page(s) by sending a PR. Courses CMU PGM (S-19)
-CMU DeepRL (F-19, S-20, F-20, S-21, F-21, S-22)
+CMU DeepRL (S-21, F-21, S-22, F-22, S-23, F-23)
CMU MMML (F-20, F-22)
CMU AMMML (S-22, S-23)
CMU ASI (S-23)
-CMU Distributed Systems (S-21) +CMU Distributed Systems (S-24) @@ -244,8 +246,8 @@ For customization details please refer to [CUSTOMIZE.md](CUSTOMIZE.md). This template has a built-in light/dark mode. It detects the user preferred color scheme and automatically switches to it. You can also manually switch between light and dark mode by clicking on the sun/moon icon in the top right corner of the page.

- - + +

--- @@ -256,7 +258,7 @@ There are currently 2 different ways of generating the CV page content. The firs 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/) +[![CV Preview](readme_preview/cv.png)](https://alshedivat.github.io/al-folio/cv/) --- @@ -264,7 +266,7 @@ What this means is, if there is no resume data defined in [\_config.yml](_config You can create a people page if you want to feature more than one person. Each person can have its own short bio, profile picture, and you can also set if every person will appear at the same or opposite sides. -[![People Preview](assets/img/readme_preview/people.png)](https://alshedivat.github.io/al-folio/people/) +[![People Preview](readme_preview/people.png)](https://alshedivat.github.io/al-folio/people/) --- @@ -274,7 +276,7 @@ Your publications' page is generated automatically from your BibTex bibliography 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`. -[![Publications Preview](assets/img/readme_preview/publications.png)](https://alshedivat.github.io/al-folio/publications/) +[![Publications Preview](readme_preview/publications.png)](https://alshedivat.github.io/al-folio/publications/) --- @@ -282,7 +284,7 @@ You can add extra information to a publication, like a PDF file in the [assets/p 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. -[![Projects Preview](assets/img/readme_preview/projects.png)](https://alshedivat.github.io/al-folio/projects/) +[![Projects Preview](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`. @@ -296,7 +298,7 @@ You can easily create your own collections, apps, short stories, courses, or wha The theme allows you to create blog posts in the [distill.pub](https://distill.pub/) style: -[![Distill Preview](assets/img/readme_preview/distill.png)](https://alshedivat.github.io/al-folio/blog/2021/distill/) +[![Distill Preview](readme_preview/distill.png)](https://alshedivat.github.io/al-folio/blog/2021/distill/) For more details on how to create distill-styled posts using `` tags, please refer to [the example](https://alshedivat.github.io/al-folio/blog/2021/distill/). @@ -305,8 +307,8 @@ For more details on how to create distill-styled posts using `` tags, pleas **al-folio** supports fast math typesetting through [MathJax](https://www.mathjax.org/) and code syntax highlighting using [GitHub style](https://github.com/jwarby/jekyll-pygments-themes). Also supports [chartjs charts](https://www.chartjs.org/), [mermaid diagrams](https://mermaid-js.github.io/mermaid/#/), and [TikZ figures](https://tikzjax.com/).

- - + +

#### Photos, Audio, Video and more @@ -315,7 +317,7 @@ Photo formatting is made simple using [Bootstrap's grid system](https://getboots

- +

@@ -327,7 +329,7 @@ Photo formatting is made simple using [Bootstrap's grid system](https://getboots **al-folio** uses [github-readme-stats](https://github.com/anuraghazra/github-readme-stats) and [github-profile-trophy](https://github.com/ryo-ma/github-profile-trophy) to display GitHub repositories and user stats on the `/repositories/` page. -[![Repositories Preview](assets/img/readme_preview/repositories.png)](https://alshedivat.github.io/al-folio/repositories/) +[![Repositories Preview](readme_preview/repositories.png)](https://alshedivat.github.io/al-folio/repositories/) Edit the `_data/repositories.yml` and change the `github_users` and `github_repos` lists to include your own GitHub profile and repositories to the `/repositories/` page. diff --git a/_bibliography/papers.bib b/_bibliography/papers.bib index a3ed375..f6d8b6b 100644 --- a/_bibliography/papers.bib +++ b/_bibliography/papers.bib @@ -3,6 +3,14 @@ @string{aps = {American Physical Society,}} +@book{einstein1920relativity, + title={Relativity: the Special and General Theory}, + author={Einstein, Albert}, + year={1920}, + publisher={Methuen & Co Ltd}, + html={relativity.html} +} + @book{einstein1956investigations, bibtex_show={true}, title={Investigations on the Theory of the Brownian Movement}, diff --git a/_config.yml b/_config.yml index 022f8b7..36788af 100644 --- a/_config.yml +++ b/_config.yml @@ -3,22 +3,24 @@ # ----------------------------------------------------------------------------- title: blank # the website title (if blank, full name will be used instead) -first_name: RegTech4AI -middle_name: "@" -last_name: Maastricht Law&Tech Lab -email: regtech4ai@maastrichtlawtech.eu +first_name: You +middle_name: R. +last_name: Name +email: you@example.com description: > # the ">" symbol means to ignore newlines until "footer_text:" - An NWO-funded project with a 2.1 million Euro budget that combines technical and legal methods to translate AI regulation – like the EU GDPR and AI Act – into practice. + A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design. footer_text: > - Part of Maastricht University. -keywords: Regulatory Technologies, GDPR, AI Act # add your own keywords or leave empty + 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 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://regtech4ai.maastrichtlawtech.eu # the base hostname & protocol for your site -#baseurl: / # the subpath of your site, e.g. /blog/. Leave blank for root +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: https://www.maastrichtuniversity.nl/ # 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 @@ -28,7 +30,7 @@ last_updated: false # set to true if you want to display last updated in the foo 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: false + enabled: true theme_light: flat # https://github.com/ryo-ma/github-profile-trophy theme_dark: gitdimmed # https://github.com/ryo-ma/github-profile-trophy @@ -38,14 +40,14 @@ repo_trophies: # will use title and url fields # Take a look to https://github.com/jekyll/jekyll-feed for more customization -rss_icon: false +rss_icon: true # ----------------------------------------------------------------------------- # Layout # ----------------------------------------------------------------------------- navbar_fixed: true -footer_fixed: false +footer_fixed: true # Dimensions max_width: 800px @@ -57,17 +59,17 @@ max_width: 800px # ----------------------------------------------------------------------------- # Display links to the page with a preview object on social media. # see https://schema.org/docs/faq.html for more information -serve_og_meta: true # Include Open Graph meta tags in the HTML head -serve_schema_org: true # Include Schema.org in the HTML head +serve_og_meta: false # Include Open Graph meta tags in the HTML head +serve_schema_org: false # Include Schema.org in the HTML head og_image: # The site-wide (default for all links) Open Graph preview image # ----------------------------------------------------------------------------- # Social integration # ----------------------------------------------------------------------------- -github_username: maastrichtlawtech # your GitHub user name +github_username: # your GitHub user name gitlab_username: # your GitLab user name -x_username: maaslawtech # your X handle +x_username: # your X handle mastodon_username: # your mastodon instance+username in the format instance.tld/@username linkedin_username: # your LinkedIn user name telegram_username: # your Telegram user name @@ -82,6 +84,7 @@ lattes_id: # your ID on Lattes (Brazilian Lattes CV) osf_id: # your OSF ID research_gate_profile: # your profile on ResearchGate scopus_id: # your profile on Scopus +flickr_id: # your flickr id blogger_url: # your blogger URL work_url: # work page URL keybase_username: # your keybase user name @@ -101,8 +104,8 @@ discord_id: # your discord id (18-digit unique numerical identifier) zotero_username: # your zotero username wechat_qr: # filename of your wechat qr-code saved as an image (e.g., wechat-qr.png if saved to assets/img/wechat-qr.png) -#contact_note: > -# You can even add a little note about which of these is the best way to reach you. +contact_note: > + You can even add a little note about which of these is the best way to reach you. # ----------------------------------------------------------------------------- # Analytics and search engine verification @@ -121,8 +124,8 @@ bing_site_verification: # out your bing-site-verification ID (Bing Webmaster) # Blog # ----------------------------------------------------------------------------- -blog_name: RegTech4AI # blog_name will be displayed in your blog page -blog_description: Latest developments in the project +blog_name: al-folio # blog_name will be displayed in your blog page +blog_description: a simple whitespace theme for academics permalink: /blog/:year/:title/ # Pagination @@ -135,29 +138,29 @@ 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) -# emit_metadata: 0 -# lang: en +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) + emit_metadata: 0 + lang: en # Disqus comments (DEPRECATED) -#disqus_shortname: al-folio # put your disqus shortname +disqus_shortname: al-folio # put your disqus shortname # https://help.disqus.com/en/articles/1717111-what-s-a-shortname # External sources. # If you have blog posts published on medium.com or other external sources, # you can display them in your blog by adding a link to the RSS feed. -#external_sources: -# - name: medium.com -# rss_url: https://medium.com/@al-folio/feed +external_sources: + - name: medium.com + rss_url: https://medium.com/@al-folio/feed # ----------------------------------------------------------------------------- # Collections @@ -179,7 +182,7 @@ announcements: limit: 5 # leave blank to include all the news in the `_news` folder latest_posts: - enabled: false + enabled: true scrollable: true # adds a vertical scroll bar if there are more than 3 new posts items limit: 3 # leave blank to include all the blog posts @@ -203,20 +206,24 @@ kramdown: # Includes & excludes include: ["_pages"] exclude: - - bin + - bin/ - CONTRIBUTING.md - CUSTOMIZE.md - - docker-compose.yml - Dockerfile + - docker-compose.yml + - docker-compose-slim.yml - FAQ.md - Gemfile - Gemfile.lock - INSTALL.md - LICENSE + - lighthouse_results/ - package.json - package-lock.json + - _pages/about_einstein.md - purgecss.config.js - README.md + - readme_preview/ - vendor keep_files: - CNAME diff --git a/_includes/giscus.liquid b/_includes/giscus.liquid index 10a5d5d..8ac16ee 100644 --- a/_includes/giscus.liquid +++ b/_includes/giscus.liquid @@ -1,7 +1,7 @@
{% if site.giscus.repo %} {% if site.enable_darkmode %} - + {% endif %} diff --git a/_includes/header.liquid b/_includes/header.liquid index e4e25b5..6a5829e 100644 --- a/_includes/header.liquid +++ b/_includes/header.liquid @@ -111,8 +111,9 @@
  • {% endif %} diff --git a/_includes/scripts/diff2html.liquid b/_includes/scripts/diff2html.liquid index e3add88..1e3ddd5 100644 --- a/_includes/scripts/diff2html.liquid +++ b/_includes/scripts/diff2html.liquid @@ -7,7 +7,7 @@ crossorigin="anonymous" > {% endif %} - + {% endif %} diff --git a/_includes/scripts/mermaid.liquid b/_includes/scripts/mermaid.liquid index e4f1839..2bfd3ed 100644 --- a/_includes/scripts/mermaid.liquid +++ b/_includes/scripts/mermaid.liquid @@ -14,7 +14,7 @@ > {% endif %}