Skip to content

Commit

Permalink
mv blog page
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Calcote <[email protected]>
  • Loading branch information
leecalcote committed Dec 12, 2023
1 parent 8bee131 commit 23a67fe
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
1 change: 0 additions & 1 deletion blog/index.html → blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
category: meshery
sort_field: 'date'
sort_reverse: true
permalink: /blog
---
<div class="text-container">
<div class="section-bar"><h1>Blog</h1></div>
Expand Down
40 changes: 40 additions & 0 deletions blog/asdf.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: Blog
description: Keep up with the latest news.
pagination:
enabled: true
category: meshery
sort_field: 'date'
sort_reverse: true
---
<div class="text-container">
<div class="section-bar"><h1>Blog</h1></div>
<ul class="blog-posts">
{% include list-posts.html posts=paginator.posts %}
</ul>

{% if paginator.total_pages > 1 %}
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a
href="{% include relative-src.html src=paginator.previous_page_path %}"
class="previous btn"
>&larr; Newer posts</a
>
{% endif %}

<span class="page_number"
>{{ paginator.page }} of {{ paginator.total_pages }}</span
>

{% if paginator.next_page %}
<a
href="{% include relative-src.html src=paginator.next_page_path %}"
class="next btn"
>Older posts &rarr;</a
>
{% endif %}
</div>
{% endif %}
</div>

0 comments on commit 23a67fe

Please sign in to comment.