-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from alexhernandezgarcia/improve-code-org
Improve code organisation
- Loading branch information
Showing
14 changed files
with
100 additions
and
106 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters