Skip to content

Commit

Permalink
Merge pull request #19 from alexhernandezgarcia/improve-code-org
Browse files Browse the repository at this point in the history
Improve code organisation
  • Loading branch information
alexhernandezgarcia authored Nov 19, 2024
2 parents 970d559 + f4842b6 commit 02da407
Show file tree
Hide file tree
Showing 14 changed files with 100 additions and 106 deletions.
4 changes: 0 additions & 4 deletions _includes/contact.md

This file was deleted.

32 changes: 14 additions & 18 deletions _includes/project-img-left.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
<article class="media">
<div class="media-content">
<div class="columns is-7 is-variable">
<div class="column">
<figure class="image is-3by2">
<img src="/assets/images/{{ project.image }}">
</figure>
</div>
<div class="column is-three-fifths content">
<div class="content">
<p>
<b>{{ project.title }}</b>
{{ project.excerpt }}
<a href="{{ project.url }}"><em>Read more</em></a>
</p>
</div>
</div>
<div class="columns is-7 is-variable">
<div class="column">
<figure class="image is-3by2">
<img src="/assets/images/{{ project.image }}">
</figure>
</div>
<div class="column is-three-fifths content">
<div class="content">
<p>
<b>{{ project.title }}</b>
{{ project.excerpt }}
<a href="{{ project.url }}"><em>Read more</em></a>
</p>
</div>
</div>
</article>
</div>
32 changes: 14 additions & 18 deletions _includes/project-img-right.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
<article class="media">
<div class="media-content">
<div class="columns is-7 is-variable">
<div class="column is-three-fifths content">
<div class="content">
<p>
<b>{{ project.title }}</b>
{{ project.excerpt }}
<a href="{{ project.url }}"><em>Read more</em></a>
</p>
</div>
</div>
<div class="column">
<figure class="image is-3by2">
<img src="/assets/images/{{ project.image }}">
</figure>
</div>
<div class="columns is-7 is-variable">
<div class="column is-three-fifths content">
<div class="content">
<p>
<b>{{ project.title }}</b>
{{ project.excerpt }}
<a href="{{ project.url }}"><em>Read more</em></a>
</p>
</div>
</div>
</article>
<div class="column">
<figure class="image is-3by2">
<img src="/assets/images/{{ project.image }}">
</figure>
</div>
</div>
30 changes: 30 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: main
---
<div class="columns is-vcentered">
<div class="column is-one-fifth content">
<figure class="image">
<img src="{{ page.image }}">
</figure>
</div>
<div class="column content">
<h1>{{ site.title }}</h1>
{{ content }}
</div>
{% if page.show_news %}
<div class="column is-one-fifth content">
<div class="has-text-centered content">
<h2>News</h2>
</div>
{% assign news = site.news | sort: 'date' | reverse %}
{% for entry in news limit:3 %}
<div class="has-text-centered content">
<h4><a href="{{ entry.url }}">{{ entry.date | date_to_string }} - {{ entry.title }}</a></h4>
</div>
<div class="has-text-left content">
<p>{{ entry.excerpt | markdownify }}</p>
</div>
{% endfor %}
</div>
{% endif %}
</div>
7 changes: 0 additions & 7 deletions _pages/404.html

This file was deleted.

8 changes: 8 additions & 0 deletions _pages/404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: page
title: 404
permalink: /404
---
**Page not found :(**

The requested page could not be found.
10 changes: 0 additions & 10 deletions _pages/about.html

This file was deleted.

5 changes: 5 additions & 0 deletions _includes/about.md → _pages/about.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
layout: page
title: About me
permalink: /about
---
### Bio
I was born in [Soria](https://en.wikipedia.org/wiki/Soria), a small city in central Spain, and grew up near Madrid. In 2009 I started my bachelor degree on Audiovisual Systems Engineering at the [University Carlos III of Madrid](https://www.uc3m.es/Home), during which I had the chance to study one year as an Erasmus fellow at the [University of Stuttgart](https://www.uni-stuttgart.de/en/), Germany. In 2013 I obtained a research fellowship to complete my bachelor thesis at the [Group of Multimedia Processing (GPM)](http://gpm.webs.tsc.uc3m.es/) with [Fernando Fernández Martínez](https://www.researchgate.net/profile/Fernando_Fernandez-Martinez) and [Fernando Díaz de María](https://www.uc3m.es/ss/Satellite/UC3MInstitucional/en/Detalle/Organismo_C/1371211308508/1371211309638/Fernando_Diaz_de_Maria). At the GPM I worked as a research and teaching assistant during my master studies, working on projects related to image processing and computer vision. The main topic of my research was the automatic recognition of aesthetics and elicited affect of natural videos.

Expand Down
24 changes: 0 additions & 24 deletions _pages/blog.html

This file was deleted.

11 changes: 11 additions & 0 deletions _pages/blog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: Blog
permalink: /blog
---
## Latest Posts

{% for post in site.posts %}
- ### [{{ post.title }}]({{ post.url }})
{{ post.excerpt }}
{% endfor %}
6 changes: 3 additions & 3 deletions _pages/projects.html → _pages/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
---
{% assign projects = site.projects | sort: 'order' | reverse %}
{% for project in projects %}
{% assign side = forloop.index0 | modulo: 2 %}
{% assign side = forloop.index0 | modulo: 2 %}
{% if side == 0 %}
{% include project-img-right.html %}
{% include project-img-right.html %}
{% else %}
{% include project-img-left.html %}
{% include project-img-left.html %}
{% endif %}
{% endfor %}

6 changes: 4 additions & 2 deletions _pages/publications.html → _pages/publications.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
{% for item in site.data.publications %}
{% include publication-item.html %}
{% endfor %}
<h2>Talks</h2>

## Talks
{% assign talks = site.data.talks | sort: 'year' | reverse %}
{% for item in talks %}
{% include talk-item.html %}
{% endfor %}
<h2>In the media</h2>

## In the media
{% assign media = site.data.media | sort: 'date' | reverse %}
{% for item in media %}
{% include media-item.html %}
Expand Down
20 changes: 0 additions & 20 deletions index.html

This file was deleted.

11 changes: 11 additions & 0 deletions _includes/description.md → index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
layout: home
title: Home
image: /assets/images/alex-photo-filters-bnw.png
show_news: false
---
I use the [pronouns](https://pronoun.is/#Pronoun-Usage-and-Social-Impact) [_he/él/il_](http://pronoun.is/he).

#### Brief academic bio
Expand All @@ -13,3 +19,8 @@ Besides developing potentially impactful machine learning applications, I am als

#### My vision of science
Besides my research, I am a strong proponent of open science in the broadest sense, and I try to contribute to it with my actions and by getting involved in discussions about how to make science more inclusive, equitable, open, reproducible, transparent and environmentally conscious. At Mila, I am a member of the Equity, Diversity and Inclusion Committee and a member of the Sustainability Committee. In 2021/2022, I was the elected postdoctoral Lab Representative. At NeurIPS 2021, I co-organised a [workshop on pre-registration in machine learning](https://preregister.science/).

#### Contact
If you are looking for graduate or postdoc positions to work on machine learning for science to have an impact on tackling climate change and health challenges, I'd love to hear from you!

alex.hernandez-garcia _at_ mila.quebec · alexhg _at_ [e.email](https://e.foundation/)

0 comments on commit 02da407

Please sign in to comment.