Skip to content

Commit

Permalink
Specs section, reverse chrono, fips page, default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
bmann committed Jul 28, 2021
1 parent 80a3bb4 commit 1cb9c49
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 10 deletions.
3 changes: 2 additions & 1 deletion _data/theme.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
navigation_pages:
- mission.md
- proposing.md
- fips.html

skin: sea
skin: default
7 changes: 4 additions & 3 deletions _includes/fiptable.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@
width: 33%;
}
</style>
<h1>FIPs<a href="#fips" id="fips">#</a></h1>
<h1>FIPs</h1>
<table class="fiptable">
<thead>
<tr><th class="fipnum">Number</th><th class="title">Title</th><th class="author">Author</th></tr>
<tr><th class="fipnum">Number</th><th class="title">Title</th><th class="author">Author</th><th class="status">Status</th></tr>
</thead>
{% for fip in site.fips %}
{% for fip in site.fips reversed %}
<tr>
<td class="fipnum"><a href="{{fip.url|relative_url}}">{{fip.fip|xml_escape}}</a></td>
<td class="title">{{fip.title|xml_escape}}</td>
<td class="author">{% include authorlist.html authors=fip.author %}</td>
<td class="status">{{fip.status}}</td>
</tr>
{% endfor %}
</table>
Expand Down
8 changes: 8 additions & 0 deletions _layouts/fip.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ <h1 class="page-heading">
{% endif %}
</table>

<h2>Spec Sections</h2>

<ul>
{% for spec in page.specs-sections %}
<li><a href="{{ spec }}">{{ spec }}</a></li>
{% endfor%}
</ul>


{{ content }}

Expand Down
11 changes: 5 additions & 6 deletions fips.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
layout: collection
layout: page
permalink: /fips/
collection: fips
show_excerpts: false
sort_by: fip
entries_layout: grid
---
title: FIPs List
---

{% include fiptable.html %}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
{% capture readme_include %}{% include_relative README.md %}{% endcapture %}
{{ readme_include | markdownify }}

<a id="fips"></a>
{% include fiptable.html %}
1 change: 1 addition & 0 deletions proposing.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Proposing FIPs
layout: page
---

Filecoin Improvement Proposals (FIPs) describe standards for the Filecoin platform, including core protocol specifications, client APIs, and other changes to the project.
Expand Down

0 comments on commit 1cb9c49

Please sign in to comment.