Skip to content

Commit

Permalink
Resolve conflict in index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhernandezgarcia committed Nov 19, 2024
1 parent 35dc590 commit f4842b6
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@
<h1>{{ site.title }}</h1>
{{ content }}
</div>
<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 %}
{% if page.show_news %}
<div class="column is-one-fifth content">
<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>
<h2>News</h2>
</div>
{% endfor %}
</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>

0 comments on commit f4842b6

Please sign in to comment.