Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions _includes/date-format.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{%- assign date_format = include.format | default: "%B %-d, %Y" -%}
<time datetime="{{ include.date | date_to_xmlschema }}">
{{ include.date | date: date_format }}
</time>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body>
<body{% if page.layout == 'home' %} class="home"{% endif %}>
{{ content }}
</body>
</html>
53 changes: 25 additions & 28 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body class="home">
<div class="home-intro">
<div class="home-intro-bio">
<div class="home-intro-bio-desc">
<div>
<h1>Adrián Mato</h1>
<h2>Design Director at GitHub Copilot <span class="ampersand">&amp;</span> startup investor.</h2>
<p>
For the last 18+ years, I've designed digital products between Madrid, London and now, from
San Francisco. I also co-founded and later sold my company Erasmusu.
</p>
<p>
My career started as a Software Developer, but it soon became clear that my true passion was Design.
I love combining both skillsets to create products that fulfill a clear purpose.
</p>
</div>
---
layout: default
---
<div class="home-intro">
<div class="home-intro-bio">
<div class="home-intro-bio-desc">
<div>
<h1>Adrián Mato</h1>
<h2>Design Director at GitHub Copilot <span class="ampersand">&amp;</span> startup investor.</h2>
<p>
For the last 18+ years, I've designed digital products between Madrid, London and now, from
San Francisco. I also co-founded and later sold my company Erasmusu.
</p>
<p>
My career started as a Software Developer, but it soon became clear that my true passion was Design.
I love combining both skillsets to create products that fulfill a clear purpose.
</p>
</div>
</div>
<svg class="home-intro-scroll" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">
<path d="M12 18.23l5.584-5.584 1.365 1.365-8.041 8.04-7.857-7.856 1.377-1.376L10 18.391V1h2v17.23z" fill-rule="evenodd"/>
</svg>
</div>
{% include home-navigation.html %}
{% include home-work.html %}
<svg class="home-intro-scroll" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">
<path d="M12 18.23l5.584-5.584 1.365 1.365-8.041 8.04-7.857-7.856 1.377-1.376L10 18.391V1h2v17.23z" fill-rule="evenodd"/>
</svg>
</div>
{% include home-navigation.html %}
{% include home-work.html %}

<script type="text/javascript" src="/assets/js/ios.js"></script>
<script type="text/javascript" src="/assets/js/s.js"></script>
</body>
</html>
<script type="text/javascript" src="/assets/js/ios.js"></script>
<script type="text/javascript" src="/assets/js/s.js"></script>
5 changes: 1 addition & 4 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
<article>
<header>
<div class="post-meta">
<time datetime="{{ page.date | date_to_xmlschema }}">
{%- assign date_format = date_format | default: "%B %-d, %Y" -%}
{{ page.date | date: date_format }}
</time>
{% include date-format.html date=page.date %}
</div>

{% if page.title %}
Expand Down
5 changes: 1 addition & 4 deletions blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
<li class='blog-list-item'>
<a href="{{ post.url }}">
<span class='blog-list-item-date'>
<time datetime="{{ post.date | date_to_xmlschema }}">
{%- assign date_format = date_format | default: "%b %-d %Y" -%}
{{ post.date | date: date_format }}
</time>
{% include date-format.html date=post.date format="%b %-d %Y" %}
</span>
<span class='blog-list-item-title'>{{ post.title }}</span>
</a>
Expand Down