mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-12-24 22:59:32 -05:00
add recent page
This commit is contained in:
parent
289d555bd7
commit
b2f8601dd0
@ -4,8 +4,10 @@ main:
|
||||
url: "/about/"
|
||||
- title: "Introduction"
|
||||
url: /introduction/
|
||||
- title: "Recent"
|
||||
- title: "New"
|
||||
url: "/posts/"
|
||||
- title: "Updated"
|
||||
url: "/recent/"
|
||||
- title: "Categories"
|
||||
url: "/categories/"
|
||||
- title: "Aim"
|
||||
|
24
_pages/recent.md
Normal file
24
_pages/recent.md
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: archive
|
||||
title: Recently Updated Content
|
||||
author_profile: false
|
||||
sidebar:
|
||||
- title: "Identity Decentralized"
|
||||
image: "/images/the-world-map-from-a-binary-code.webp"
|
||||
image_alt: "Binary Globe Image by GDj"
|
||||
nav: "didnav"
|
||||
share: true
|
||||
classes: wide
|
||||
name: recent
|
||||
permalink: recent/
|
||||
toc: false
|
||||
---
|
||||
|
||||
{%assign count = 0%}
|
||||
{% assign modified = site.posts | sort: 'last_modified_at' | reverse %}
|
||||
{% for post in modified %}
|
||||
{% unless forloop.index0 >= 40 %}
|
||||
{% assign count = count | plus: 1 %}
|
||||
{% include archive-single.html type='list' %}
|
||||
{% endunless %}
|
||||
{% endfor %}
|
Loading…
Reference in New Issue
Block a user