Skip to content

Commit

Permalink
feat: rework specs names and links
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Sep 15, 2023
1 parent 9014045 commit 8984a50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions www/content/specs/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Specification Dashboard
---
6 changes: 4 additions & 2 deletions www/themes/conformance/layouts/specs/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
{{define "main"}}

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

{{.TableOfContents}}

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

0 comments on commit 8984a50

Please sign in to comment.