Skip to content

Commit 42ad1c6

Browse files
committed
feat: rework specs names and links
1 parent d4a2ffd commit 42ad1c6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

www/content/specs/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
title: Specification Dashboard
3+
---

www/themes/conformance/layouts/specs/list.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
{{define "main"}}
1212

1313
<article>
14-
<h2 class="text-5xl font-bold mb-4 text-center">{{.Title}}</h2>
14+
<h2 class="text-5xl font-bold mb-4 text-center">
15+
{{.Title}}
16+
{{ template "specpill" (default "https://specs.ipfs.tech/" .Params.spec_full_name) }}
17+
</h2>
1518

1619
{{.TableOfContents}}
1720

@@ -54,7 +57,6 @@ <h3 class="text-2xl font-bold mt-8 mb-4">Sub-Specs</h3>
5457
<!-- Main Dashboard with a different visual appeal -->
5558
<h3 class="text-3xl font-bold mb-4">
5659
Main Dashboard
57-
{{ template "specpill" (default "https://specs.ipfs.tech/" .Params.spec_full_name) }}
5860
</h3>
5961
<div class="mt-2 p-6 shadow-xl rounded-lg">
6062
{{ partial "result-table.html" .Params }}

0 commit comments

Comments
 (0)