Skip to content

Commit

Permalink
{% for post in paginator.posts %}
Browse files Browse the repository at this point in the history
  {% include featured-post.html %}
{% endfor %}

<!-- Pagination links -->
<div class="pagination">
  {% if paginator.next_page %}
    <a class="pagination-button pagination-active next" href="{{ site.github.url }}{{ paginator.next_page_path }}">{{ site.data.settings.pagination.previous_page }}</a>
  {% else %}
    <span class="pagination-button">{{ site.data.settings.pagination.previous_page }}</span>
  {% endif %}
  {% if paginator.previous_page %}
    <a class="pagination-button pagination-active" href="{{ site.baseurl }}{{ paginator.previous_page_path }}">{{ site.data.settings.pagination.next_page }}</a>
  {% else %}
    <span class="pagination-button">{{ site.data.settings.pagination.next_page }}</span>
  {% endif %}
</div>
  • Loading branch information
ricoThaka authored Nov 6, 2024
1 parent 8ba7cb7 commit 7edb362
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,23 @@ A new composite image built from 15 satellite passes shows the Arctic and northe




{% include featured-post.html %}
{% for post in paginator.posts %}
{% include featured-post.html %}
{% endfor %}

<!-- Pagination links -->
<div class="pagination">
{% if paginator.next_page %}
<a class="pagination-button pagination-active next" href="{{ site.github.url }}{{ paginator.next_page_path }}">{{ site.data.settings.pagination.previous_page }}</a>
{% else %}
<span class="pagination-button">{{ site.data.settings.pagination.previous_page }}</span>
{% endif %}
{% if paginator.previous_page %}
<a class="pagination-button pagination-active" href="{{ site.baseurl }}{{ paginator.previous_page_path }}">{{ site.data.settings.pagination.next_page }}</a>
{% else %}
<span class="pagination-button">{{ site.data.settings.pagination.next_page }}</span>
{% endif %}
</div>


# GitHub Branching
Expand Down

0 comments on commit 7edb362

Please sign in to comment.