Skip to content

Commit 3342ea5

Browse files
NinaWiethoklei
andauthored
format with prettier (#12)
* format with prettier * run prettier --------- Co-authored-by: Thomas Klein <t.klein@uni-tuebingen.de>
1 parent 66daf81 commit 3342ea5

50 files changed

Lines changed: 471 additions & 470 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

INSTALL.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
- [Deployment to another hosting server (non GitHub Pages)](#deployment-to-another-hosting-server-non-github-pages)
1919
- [Deployment to a separate repository (advanced users only)](#deployment-to-a-separate-repository-advanced-users-only)
2020
- [Upgrading from a previous version](#upgrading-from-a-previous-version)
21-
>>>>>>> original/main
22-
- [Deployment to another hosting server (non GitHub Pages)](#deployment-to-another-hosting-server-non-github-pages)
23-
- [Deployment to a separate repository (advanced users only)](#deployment-to-a-separate-repository-advanced-users-only)
24-
- [Upgrading from a previous version](#upgrading-from-a-previous-version)
2521

2622
# Installing and Deploying
2723

README.md

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 2023 IICCSSS Website
2-
The original [al-folio](https://github.com/alshedivat/al-folio) README continues below.
32

3+
The original [al-folio](https://github.com/alshedivat/al-folio) README continues below.
44

55
<details>
66
<summary>al-folio</summary>
@@ -243,7 +243,7 @@ $ docker-compose -f docker-local.yml up
243243

244244
#### Local Setup (Standard)
245245

246-
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)*).
246+
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)_).
247247

248248
```bash
249249
$ bundle install
@@ -283,7 +283,6 @@ Starting version [v0.3.5](https://github.com/alshedivat/al-folio/releases/tag/v0
283283
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.
284284
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).
285285

286-
287286
<details><summary>(click to expand) <strong>Manual deployment to GitHub Pages:</strong></summary>
288287

289288
If you need to manually re-deploy your website to GitHub pages, go to Actions, click "Deploy" in the left sidebar, then "Run workflow."
@@ -348,9 +347,9 @@ If you installed **al-folio** as described above, you can configure a [GitHub ac
348347
```yaml
349348
name: Sync from template
350349
on:
351-
# cronjob trigger
350+
# cronjob trigger
352351
schedule:
353-
- cron: "0 0 1 * *"
352+
- cron: "0 0 1 * *"
354353
# manual trigger
355354
workflow_dispatch:
356355
jobs:
@@ -406,8 +405,8 @@ If you have a different question, please ask using [Discussions](https://github.
406405
(Relevant issue: [130](https://github.com/alshedivat/al-folio/issues/130).)
407406

408407
3. **Q:** My webpage works locally.
409-
But after deploying, it is not displayed correctly (CSS and JS is not loaded properly).
410-
How do I fix that? <br>
408+
But after deploying, it is not displayed correctly (CSS and JS is not loaded properly).
409+
How do I fix that? <br>
411410
**A:** Make sure to correctly specify the `url` and `baseurl` paths in `_config.yml`.
412411
Set `url` to `https://<your-github-username>.github.io` or to `https://<your.custom.domain>` if you are using a custom domain.
413412
If you are deploying a personal or organization website, leave `baseurl` blank.
@@ -416,8 +415,8 @@ If you have a different question, please ask using [Discussions](https://github.
416415
4. **Q:** Atom feed doesn't work. Why?
417416
<br>
418417
**A:** Make sure to correctly specify the `url` and `baseurl` paths in `_config.yml`.
419-
RSS Feed plugin works with these correctly set up fields: `title`, `url`, `description` and `author`.
420-
Make sure to fill them in an appropriate way and try again.
418+
RSS Feed plugin works with these correctly set up fields: `title`, `url`, `description` and `author`.
419+
Make sure to fill them in an appropriate way and try again.
421420

422421
5. **Q:** My site doesn't work when I enable `related_blog_posts`. Why? <br>
423422
**A:** This is probably due to the [classifier reborn](https://github.com/jekyll/classifier-reborn) plugin, which is used to calculate
@@ -481,7 +480,7 @@ If the entry matches one of the combinations of the last names and the first nam
481480

482481
There are several custom bibtex keywords that you can use to affect how the entries are displayed on the webpage:
483482

484-
- `abbr`: Adds an abbreviation to the left of the entry. You can add links to these by creating a venue.yaml-file in the _data folder and adding entries that match.
483+
- `abbr`: Adds an abbreviation to the left of the entry. You can add links to these by creating a venue.yaml-file in the \_data folder and adding entries that match.
485484
- `abstract`: Adds an "Abs" button that expands a hidden text field when clicked to show the abstract text
486485
- `arxiv`: Adds a link to the Arxiv website (Note: only add the arxiv identifier here - the link is generated automatically)
487486
- `bibtex_show`: Adds a "Bib" button that expands a hidden text field with the full bibliography entry
@@ -498,15 +497,16 @@ There are several custom bibtex keywords that you can use to affect how the entr
498497

499498
You can implement your own buttons by editing the bib.html file.
500499

501-
</details>
502-
=======
500+
# </details>
501+
503502
- [Code quality checks](#code-quality-checks)
504-
- [FAQ](#faq)
505-
- [Contributing](#contributing)
506-
- [Maintainers](#maintainers)
507-
- [All Contributors](#all-contributors)
508-
- [Star History](#star-history)
509-
- [License](#license)
503+
504+
- [FAQ](#faq)
505+
- [Contributing](#contributing)
506+
- [Maintainers](#maintainers)
507+
- [All Contributors](#all-contributors)
508+
- [Star History](#star-history)
509+
- [License](#license)
510510

511511
## Getting started
512512

@@ -558,7 +558,8 @@ Your publications' page is generated automatically from your BibTex bibliography
558558
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`.
559559

560560
[![Publications Preview](readme_preview/publications.png)](https://alshedivat.github.io/al-folio/publications/)
561-
>>>>>>> original/main
561+
562+
> > > > > > > original/main
562563

563564
---
564565

@@ -625,30 +626,23 @@ You may also use the following codes for displaying this in any other pages.
625626
<!-- code for GitHub users -->
626627
{% if site.data.repositories.github_users %}
627628
<div class="repositories d-flex flex-wrap flex-md-row flex-column justify-content-between align-items-center">
628-
{% for user in site.data.repositories.github_users %}
629-
{% include repository/repo_user.html username=user %}
630-
{% endfor %}
629+
{% for user in site.data.repositories.github_users %} {% include repository/repo_user.html username=user %} {% endfor %}
631630
</div>
632631
{% endif %}
633632
634633
<!-- code for GitHub trophies -->
635-
{% if site.repo_trophies.enabled %}
636-
{% for user in site.data.repositories.github_users %}
637-
{% if site.data.repositories.github_users.size > 1 %}
638-
<h4>{{ user }}</h4>
639-
{% endif %}
640-
<div class="repositories d-flex flex-wrap flex-md-row flex-column justify-content-between align-items-center">
641-
{% include repository/repo_trophies.html username=user %}
642-
</div>
643-
{% endfor %}
634+
{% if site.repo_trophies.enabled %} {% for user in site.data.repositories.github_users %} {% if site.data.repositories.github_users.size > 1 %}
635+
<h4>{{ user }}</h4>
644636
{% endif %}
637+
<div class="repositories d-flex flex-wrap flex-md-row flex-column justify-content-between align-items-center">
638+
{% include repository/repo_trophies.html username=user %}
639+
</div>
640+
{% endfor %} {% endif %}
645641
646642
<!-- code for GitHub repositories -->
647643
{% if site.data.repositories.github_repos %}
648644
<div class="repositories d-flex flex-wrap flex-md-row flex-column justify-content-between align-items-center">
649-
{% for repo in site.data.repositories.github_repos %}
650-
{% include repository/repo.html repository=repo %}
651-
{% endfor %}
645+
{% for repo in site.data.repositories.github_repos %} {% include repository/repo.html repository=repo %} {% endfor %}
652646
</div>
653647
{% endif %}
654648
```

_config.yml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ description: > # the ">" symbol means to ignore newlines until "footer_text:"
1111
International Interdisciplinary Computational Cognitive Science Summer School
1212
footer_text: >
1313
Powered by <a href="https://jekyllrb.com/" target="_blank">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio">al-folio</a> theme.
14-
keywords: cognitive-science, summer-school # add your own keywords or leave empty
15-
14+
keywords: cognitive-science, summer-school # add your own keywords or leave empty
1615
lang: en # the language of your site (for example: en, fr, cn, ru, etc.)
1716
icon: 🧠 # the emoji used as the favicon (alternatively, provide image name in /assets/img/)
1817

1918
url: https://www.iiccsss.org # the base hostname & protocol for your site
2019
baseurl: # the subpath of your site, e.g. /blog/
2120
last_updated: true # set to true if you want to display last updated in the footer
22-
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
21+
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
2322
back_to_top: false # set to false to disable the back to top button
2423
# -----------------------------------------------------------------------------
2524
# Theme
@@ -301,9 +300,8 @@ badges: # Display different badges for your publications
301300
filtered_bibtex_keywords: [abbr, abstract, arxiv, bibtex_show, html, pdf, selected, supp, blog, code, poster, slides, website, preview, altmetric]
302301

303302
# Maximum number of authors to be shown for each publication (more authors are visible on click)
304-
max_author_limit: 3 # leave blank to always show all authors
305-
more_authors_animation_delay: 10 # more authors are revealed on click using animation; smaller delay means faster animation
306-
303+
max_author_limit: 3 # leave blank to always show all authors
304+
more_authors_animation_delay: 10 # more authors are revealed on click using animation; smaller delay means faster animation
307305

308306
# -----------------------------------------------------------------------------
309307
# Jekyll Link Attributes
@@ -351,21 +349,24 @@ lazy_loading_images: true # enables lazy loading of images (recommended)
351349
# Optional Features
352350
# -----------------------------------------------------------------------------
353351

354-
enable_google_analytics: false # enables google analytics
355-
enable_panelbear_analytics: false # enables panelbear analytics
356-
enable_google_verification: false # enables google site verification
357-
enable_bing_verification: false # enables bing site verification
358-
enable_masonry: true # enables automatic project cards arrangement
359-
enable_math: true # enables math typesetting (uses MathJax)
360-
enable_tooltips: false # enables automatic tooltip links generated
361-
# for each section titles on pages and posts
362-
enable_darkmode: true # enables switching between light/dark modes
363-
enable_navbar_social: false # enables displaying social links in the
364-
# navbar on the about page
365-
enable_speaker_categories: true # enables categorization of speakers into
366-
# multiple categories
367-
enable_medium_zoom: true # enables image zoom feature (as on medium.com)
368-
enable_progressbar: true # enables a horizontal progress bar linked to the vertical scroll position
352+
enable_google_analytics: false # enables google analytics
353+
enable_panelbear_analytics: false # enables panelbear analytics
354+
enable_google_verification: false # enables google site verification
355+
enable_bing_verification: false # enables bing site verification
356+
enable_masonry: true # enables automatic project cards arrangement
357+
enable_math: true # enables math typesetting (uses MathJax)
358+
enable_tooltips:
359+
false # enables automatic tooltip links generated
360+
# for each section titles on pages and posts
361+
enable_darkmode: true # enables switching between light/dark modes
362+
enable_navbar_social:
363+
false # enables displaying social links in the
364+
# navbar on the about page
365+
enable_speaker_categories:
366+
true # enables categorization of speakers into
367+
# multiple categories
368+
enable_medium_zoom: true # enables image zoom feature (as on medium.com)
369+
enable_progressbar: true # enables a horizontal progress bar linked to the vertical scroll position
369370

370371
# -----------------------------------------------------------------------------
371372
# Library versions

_includes/cv/list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ul class="card-text font-weight-light list-group list-group-flush">
2-
{% for content in entry.contents %}
3-
<li class="list-group-item">{{ content }}</li>
4-
{% endfor %}
5-
</ul>
2+
{% for content in entry.contents %}
3+
<li class="list-group-item">{{ content }}</li>
4+
{% endfor %}
5+
</ul>

_includes/cv/map.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<table class="table table-sm table-borderless table-responsive">
2-
{% for content in entry.contents %}
3-
<tr>
4-
<td class="p-1 pr-2 font-weight-bold"><b>{{ content.name }}</b></td>
5-
<td class="p-1 pl-2 font-weight-light text">{{ content.value }}</td>
6-
</tr>
7-
{% endfor %}
8-
</table>
2+
{% for content in entry.contents %}
3+
<tr>
4+
<td class="p-1 pr-2 font-weight-bold"><b>{{ content.name }}</b></td>
5+
<td class="p-1 pl-2 font-weight-light text">{{ content.value }}</td>
6+
</tr>
7+
{% endfor %}
8+
</table>

_includes/cv/nested_list.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<ul class="card-text font-weight-light list-group list-group-flush">
2-
{% for content in entry.contents %}
3-
<li class="list-group-item">
4-
<h5 class="font-italic">{{ content.title }}</h5>
5-
{% if content.items %}
6-
<ul class="subitems">
7-
{% for subitem in content.items %}
8-
<li><span class="subitem">{{ subitem }}</span></li>
9-
{% endfor %}
10-
</ul>
11-
{% endif %}
12-
</li>
13-
{% endfor %}
14-
</ul>
2+
{% for content in entry.contents %}
3+
<li class="list-group-item">
4+
<h5 class="font-italic">{{ content.title }}</h5>
5+
{% if content.items %}
6+
<ul class="subitems">
7+
{% for subitem in content.items %}
8+
<li><span class="subitem">{{ subitem }}</span></li>
9+
{% endfor %}
10+
</ul>
11+
{% endif %}
12+
</li>
13+
{% endfor %}
14+
</ul>

_includes/cv/time_table.html

Lines changed: 51 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,54 @@
11
<ul class="card-text font-weight-light list-group list-group-flush">
2-
{% for content in entry.contents %}
3-
<li class="list-group-item">
4-
<div class="row">
5-
{% if content.year %}
6-
<div class="col-xs-2 cl-sm-2 col-md-2 text-center" style="width: 75px;">
7-
<span class="badge font-weight-bold danger-color-dark text-uppercase align-middle" style="min-width: 75px;">
8-
{{ content.year }}
9-
</span>
10-
</div>
11-
{% endif %}
12-
<div class="col-xs-10 cl-sm-10 col-md-10 mt-2 mt-md-0">
13-
{% if content.title %}
14-
<h6 class="title font-weight-bold ml-1 ml-md-4">{{content.title}}</h6>
2+
{% for content in entry.contents %}
3+
<li class="list-group-item">
4+
<div class="row">
5+
{% if content.year %}
6+
<div class="col-xs-2 cl-sm-2 col-md-2 text-center" style="width: 75px">
7+
<span class="badge font-weight-bold danger-color-dark text-uppercase align-middle" style="min-width: 75px"> {{ content.year }} </span>
8+
</div>
9+
{% endif %}
10+
<div class="col-xs-10 cl-sm-10 col-md-10 mt-2 mt-md-0">
11+
{% if content.title %}
12+
<h6 class="title font-weight-bold ml-1 ml-md-4">{{content.title}}</h6>
13+
{% endif %} {% if content.institution %}
14+
<h6 class="ml-1 ml-md-4" style="font-size: 0.95rem">{{content.institution}}</h6>
15+
{% endif %} {% if content.description %}
16+
<ul class="items">
17+
{% for item in content.description %}
18+
<li>
19+
{% if item.contents %}
20+
<span class="item-title">{{ item.title }}</span>
21+
<ul class="subitems">
22+
{% for subitem in item.contents %}
23+
<li><span class="subitem">{{ subitem }}</span></li>
24+
{% endfor %}
25+
</ul>
26+
{% else %}
27+
<span class="item">{{ item }}</span>
1528
{% endif %}
16-
{% if content.institution %}
17-
<h6 class="ml-1 ml-md-4" style="font-size: 0.95rem;">{{content.institution}}</h6>
29+
</li>
30+
{% endfor %}
31+
</ul>
32+
{% endif %} {% if content.items %}
33+
<ul class="items">
34+
{% for item in content.items %}
35+
<li>
36+
{% if item.contents %}
37+
<span class="item-title">{{ item.title }}</span>
38+
<ul class="subitems">
39+
{% for subitem in item.contents %}
40+
<li><span class="subitem">{{ subitem }}</span></li>
41+
{% endfor %}
42+
</ul>
43+
{% else %}
44+
<span class="item">{{ item }}</span>
1845
{% endif %}
19-
{% if content.description %}
20-
<ul class="items">
21-
{% for item in content.description %}
22-
<li>
23-
{% if item.contents %}
24-
<span class="item-title">{{ item.title }}</span>
25-
<ul class="subitems">
26-
{% for subitem in item.contents %}
27-
<li><span class="subitem">{{ subitem }}</span></li>
28-
{% endfor %}
29-
</ul>
30-
{% else %}
31-
<span class="item">{{ item }}</span>
32-
{% endif %}
33-
</li>
34-
{% endfor %}
35-
</ul>
36-
{% endif %}
37-
{% if content.items %}
38-
<ul class="items">
39-
{% for item in content.items %}
40-
<li>
41-
{% if item.contents %}
42-
<span class="item-title">{{ item.title }}</span>
43-
<ul class="subitems">
44-
{% for subitem in item.contents %}
45-
<li><span class="subitem">{{ subitem }}</span></li>
46-
{% endfor %}
47-
</ul>
48-
{% else %}
49-
<span class="item">{{ item }}</span>
50-
{% endif %}
51-
</li>
52-
{% endfor %}
53-
</ul>
54-
{% endif %}
55-
</div>
56-
</div>
57-
</li>
58-
{% endfor %}
59-
</ul>
46+
</li>
47+
{% endfor %}
48+
</ul>
49+
{% endif %}
50+
</div>
51+
</div>
52+
</li>
53+
{% endfor %}
54+
</ul>

0 commit comments

Comments
 (0)