Skip to content

Commit

Permalink
Initial version of the website
Browse files Browse the repository at this point in the history
  • Loading branch information
FF93 committed Aug 5, 2024
1 parent 204ef89 commit 010d368
Show file tree
Hide file tree
Showing 77 changed files with 430 additions and 775 deletions.
1 change: 1 addition & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ Currently we have the following workflows:
- `lighthouse-badger.yml`: runs a [lighthouse](https://github.com/GoogleChrome/lighthouse) test for your site with the [lighthouse-badger-action](https://github.com/MyActionWay/lighthouse-badger-action), saving the results in the repository for easy inspecting, as can be seen [here](https://github.com/alshedivat/al-folio?tab=readme-ov-file#lighthouse-pagespeed-insights). For more information on how to enable this workflow, check our [FAQ question about it](https://github.com/alshedivat/al-folio/blob/master/FAQ.md#when-i-manually-run-the-lighthouse-badger-workflow-it-fails-with-error-input-required-and-not-supplied-token-how-do-i-fix-that)
- `prettier-comment-on-pr.yml`: not working. For now, this action is disabled. It was supposed to run prettier on the PRs and comment on them with the changes needed. For more information, check [issue 2115](https://github.com/alshedivat/al-folio/issues/2115)
- `prettier.yml`: runs [prettier](https://prettier.io/) on the code to ensure it is well formatted. For more information, check our [FAQ question about it](https://github.com/alshedivat/al-folio/blob/master/FAQ.md#my-code-runs-fine-locally-but-when-i-create-a-commit-and-submit-it-it-fails-with-prettier-code-formatter-workflow-run-failed-for-master-branch-how-do-i-fix-that)
335 changes: 247 additions & 88 deletions _bibliography/papers.bib

Large diffs are not rendered by default.

34 changes: 16 additions & 18 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ title: blank # the website title (if blank, full name will be used instead)
first_name: Francesco
middle_name:
last_name: Faccio
email: you@example.com
email: francesco.faccio.93@gmail.com
description: > # the ">" symbol means to ignore newlines until "footer_text:"
A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design.
footer_text: >
Powered by <a href="https://jekyllrb.com/" target="_blank">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio">al-folio</a> theme.
Hosted by <a href="https://pages.github.com/" target="_blank">GitHub Pages</a>.
Photos from <a href="https://unsplash.com" target="_blank">Unsplash</a>.
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/)
Expand Down Expand Up @@ -41,16 +39,16 @@ repo_trophies:
# will use title and url fields
# Take a look to https://github.com/jekyll/jekyll-feed for more customization

rss_icon: true
rss_icon: false

# -----------------------------------------------------------------------------
# Layout
# -----------------------------------------------------------------------------

navbar_fixed: true
footer_fixed: true
search_enabled: true
socials_in_search: true
search_enabled: false
socials_in_search: false
bib_search: true

# Dimensions
Expand Down Expand Up @@ -78,15 +76,15 @@ dblp_url: # your DBLP profile url
discord_id: # your discord id (18-digit unique numerical identifier)
facebook_id: # your facebook id
flickr_id: # your flickr id
github_username: # your GitHub user name
github_username: FF93 # your GitHub user name
gitlab_username: # your GitLab user name
ieee_id: # your ieeexplore.ieee.org/author/id
instagram_id: # your instagram id
kaggle_id: # your kaggle id
keybase_username: # your keybase user name
lastfm_id: # your lastfm id
lattes_id: # your ID on Lattes (Brazilian Lattes CV)
linkedin_username: # your LinkedIn user name
linkedin_username: facciofrancesco # your LinkedIn user name
mastodon_username: # your mastodon instance+username in the format instance.tld/@username
medium_username: # your Medium username
orcid_id: # your ORCID ID
Expand All @@ -95,24 +93,24 @@ pinterest_id: # your pinterest id
publons_id: # your ID on Publons
quora_username: # your Quora username
research_gate_profile: # your profile on ResearchGate
scholar_userid: qc6CJjYAAAAJ # your Google Scholar ID
scholar_userid: 0z3DkrkAAAAJ # your Google Scholar ID
scopus_id: # your profile on Scopus
semanticscholar_id: # your Semantic Scholar ID
spotify_id: # your spotify id
stackoverflow_id: # your stackoverflow id
telegram_username: # your Telegram user name
unsplash_id: # your unsplash id
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)
wechat_qr: wechat_qr.png # filename of your wechat qr-code saved as an image (e.g., wechat-qr.png if saved to assets/img/wechat-qr.png)
whatsapp_number: # your WhatsApp number (full phone number in international format. Omit any zeroes, brackets, or dashes when adding the phone number in international format.)
wikidata_id: # your wikidata id
wikipedia_id: # your wikipedia id (Case sensitive)
work_url: # work page URL
x_username: # your X handle
x_username: FaccioAI # your X handle
youtube_id: # your youtube channel id (youtube.com/@<youtube_id>)
zotero_username: # your zotero username

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
Expand Down Expand Up @@ -201,7 +199,7 @@ collections:
announcements:
enabled: true
scrollable: true # adds a vertical scroll bar if there are more than 3 news items
limit: 5 # leave blank to include all the news in the `_news` folder
limit: # leave blank to include all the news in the `_news` folder

latest_posts:
enabled: true
Expand Down Expand Up @@ -312,8 +310,8 @@ display_categories: ["external-services"] # these categories will be displayed o
# -----------------------------------------------------------------------------

scholar:
last_name: [Einstein]
first_name: [Albert, A.]
last_name: [Faccio]
first_name: [Francesco]

style: apa
locale: en
Expand Down Expand Up @@ -369,7 +367,7 @@ filtered_bibtex_keywords:
]

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

# Enables publication thumbnails. If disabled, none of the publications will display thumbnails, even if specified in the bib entry.
Expand Down Expand Up @@ -421,7 +419,7 @@ lazy_loading_images: true # enables lazy loading of images (recommended)
# Optional Features
# -----------------------------------------------------------------------------

enable_google_analytics: false # enables google analytics
enable_google_analytics: true # enables google analytics
enable_cronitor_analytics: false # enables cronitor RUM analytics
enable_pirsch_analytics: false # enables Pirsch analytics (https://pirsch.io/)
enable_google_verification: false # enables google site verification
Expand Down
97 changes: 0 additions & 97 deletions _data/cv.yml
Original file line number Diff line number Diff line change
@@ -1,97 +0,0 @@
- title: General Information
type: map
contents:
- name: Full Name
value: Albert Einstein
- name: Date of Birth
value: 14th March 1879
- name: Languages
value: English, German

- title: Education
type: time_table
contents:
- title: PhD
institution: University of Zurich, Zurich, Switzerland
year: 1905
description:
- Description 1.
- Description 2.
- title: Description 3.
contents:
- Sub-description 1.
- Sub-description 2.
- title: Federal teaching diploma
institution: Eidgenössische Technische Hochschule, Zurich, Switzerland
year: 1900
description:
- Description 1.
- Description 2.

- title: Experience
type: time_table
contents:
- title: Professor of Theoretical Physics
institution: Institute for Advanced Study, Princeton University
year: 1933 - 1955
description:
- Description 1.
- Description 2.
- title: Description 3.
contents:
- Sub-description 1.
- Sub-description 2.
- title: Visiting Professor
institution: California Institute of Technology, Pasadena, California, US
year: 1933
description:
- Description 1.
- Description 2.

- title: Director
institution: Kaiser Wilhelm Institute for Physics, Berlin, Germany.
year: 1917-1933

- title: Professor of Theoretical Physics
institution: Karl-Ferdinand University, Prague, Czechoslovakia
year: 1911 - 1917
description:

- title: Associate Professor of Theoretical Physics
institution: University of Zurich, Zurich, Switzerland
year: 1909 - 1911

- title: Open Source Projects
type: time_table
contents:
- title: <a href="https://github.com/alshedivat/al-folio">al-folio</a>
year: 2015-now
description: A beautiful, simple, clean, and responsive Jekyll theme for academics.

- title: Honors and Awards
type: time_table
contents:
- year: 1921
items:
- Nobel Prize in Physics
- Matteucci Medal
- year: 2029
items:
- Max Planck Medal

- title: Academic Interests
type: nested_list
contents:
- title: Topic 1.
items:
- Description 1.
- Description 2.
- title: Topic 2.
items:
- Description 1.
- Description 2.

- title: Other Interests
type: list
contents:
- <u>Hobbies:</u> Hobby 1, Hobby 2, etc.
14 changes: 6 additions & 8 deletions _includes/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,12 @@
{% endif %}
{% endif %}
{% endfor %}
{% if site.search_enabled %}
<!-- Search -->
<li class="nav-item">
<button id="search-toggle" title="Search" onclick="openSearchModal()">
<span class="nav-link">ctrl k <i class="ti ti-search"></i></span>
</button>
</li>
{% endif %}

<!-- Add the CV link -->
<li class="nav-item {% if page.title == 'CV' %}active{% endif %}">
<a class="nav-link" href="{{ '/assets/pdf/CV_public.pdf' | relative_url }}" target="_blank">CV</a>
</li>

{% if site.enable_darkmode %}
<!-- Toogle theme mode -->
<li class="toggle-container">
Expand Down
35 changes: 23 additions & 12 deletions _includes/news.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,38 @@
<div
class="table-responsive"
{% if include.limit and site.announcements.scrollable and news_size > 3 %}
style="max-height: 60vw"
style="max-height: 60vw;"
{% endif %}
>
<style>
.date-cell {
width: 15%; /* Reduced from 20% to 15% */
padding-right: 2px; /* Reduced padding on the right */
}
.text-cell {
padding-left: 2px; /* Reduced padding on the left */
}
</style>
<table class="table table-sm table-borderless">
{% assign news = site.news | reverse %}
{% assign news = site.news | sort: 'priority' %}
{% 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 %}
<tr>
<th scope="row" style="width: 20%">{{ item.date | date: '%b %d, %Y' }}</th>
<td>
{% if item.inline %}
{{ item.content | remove: '<p>' | remove: '</p>' | emojify }}
{% else %}
<a class="news-title" href="{{ item.url | relative_url }}">{{ item.title }}</a>
{% endif %}
</td>
</tr>
{% if item.enabled != false %} <!-- Check the 'enabled' field -->
<tr>
<th scope="row" class="date-cell">{{ item.date | date: '%b %Y' }}</th>
<td class="text-cell">
{% if item.inline %}
{{ item.content | remove: '<p>' | remove: '</p>' | emojify }}
{% else %}
<a class="news-title" href="{{ item.url | relative_url }}">{{ item.title }}</a>
{% endif %}
</td>
</tr>
{% endif %}
{% endfor %}
</table>
</div>
Expand Down
8 changes: 8 additions & 0 deletions _includes/projects_awarded.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- Projects Awarded Section -->
<div class="projects-awarded">
{% for page in site.pages %}
{% if page.path == "_pages/projects_awarded.md" %}
{{ page.content | markdownify }}
{% endif %}
{% endfor %}
</div>
11 changes: 4 additions & 7 deletions _layouts/about.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,15 @@ layout: default
{% include news.liquid limit=true %}
{% endif %}

<!-- Latest posts -->
{% if site.latest_posts.enabled %}
<h2>
<a href="{{ '/blog/' | relative_url }}" style="color: inherit">latest posts</a>
</h2>
{% include latest_posts.liquid %}
<!-- Projects awarded -->
{% if page.projects_awarded %}
{% include projects_awarded.liquid limit=true %}
{% endif %}

<!-- Selected papers -->
{% if page.selected_papers %}
<h2>
<a href="{{ '/publications/' | relative_url }}" style="color: inherit">selected publications</a>
<a href="{{ '/publications/' | relative_url }}" style="color: inherit">Selected publications</a>
</h2>
{% include selected_papers.liquid %}
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/bib.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
include figure.liquid
loading="eager"
path=entry_path
sizes = "200px"
sizes = "600px"
class="preview z-depth-1 rounded"
zoomable=true
alt=entry.preview
Expand Down
Loading

0 comments on commit 010d368

Please sign in to comment.