Skip to content

Commit ec98e3d

Browse files
committed
feat: use frontmatter title and description, automatic lists
1 parent 675403b commit ec98e3d

25 files changed

+91
-116
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SPEC_GENERATOR_VER=v1.2.0
1+
SPEC_GENERATOR_VER=v1.3.0
22

33
all: website
44

src/_includes/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width">
66
<title>{% if title != 'Home' %}{{ title }} | {% endif %}IPFS Standards</title>
7+
{% if description %}<meta name="description" content="{{ description | singleLine }}">{% endif %}
78
<link rel="canonical" href="{{ page.url | permalink }}">
89
<link rel="stylesheet" href="/css/index.css">
910
<link rel="stylesheet" href="/css/ipseity.min.css">

src/_includes/list.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<dl>
2+
{%- for post in posts -%}
3+
<dt><a href="{{ post.url }}">{{ post.data.title }}</a></dt>
4+
<dd>{{ post.data.description }}</dd>
5+
{%- endfor -%}
6+
</dl>

src/_includes/specs/architecture.html

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/_includes/specs/http-gateways/http.html

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/_includes/specs/http-gateways/web.html

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/_includes/specs/ipns.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/_includes/specs/meta.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/architecture/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% include 'header.html' %}
99

1010
<main>
11-
{% include 'specs/architecture.html' %}
11+
{% include 'list.html', posts: collections.architecture %}
1212
</main>
1313

1414
{% include 'footer.html' %}

src/architecture/principles.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
---
2+
title: IPFS Principles
3+
description: >
4+
IPFS is a suite of specifications and tools that are defined by two key characteristics: content-addressing and
5+
transport-agnosticity. This document provides context and details about these characteristics. In doing so it defines what
6+
is or is not an IPFS implementation.
7+
date: 2023-03-28
8+
maturity: reliable
29
editors:
310
- name: Robin Berjon
411
@@ -9,12 +16,9 @@ editors:
916
affiliation:
1017
name: Protocol Labs
1118
url: https://protocol.ai/
12-
maturity: reliable
13-
date: 2023-03-28
19+
tags: ['architecture']
1420
---
1521

16-
# IPFS Principles
17-
1822
The IPFS stack is a suite of specifications and tools that share two key characteristics:
1923

2024
1. Data is addressed by its contents using an extensible verifiability mechanism, and

0 commit comments

Comments
 (0)