From d6c6b341c7c2e2ffc28b2af035bad195b4e778b1 Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Wed, 21 Mar 2018 16:29:32 +0000 Subject: [PATCH] Add 'all' page --- _config.yml | 1 + _includes/eiptable.html | 2 +- all.html | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 all.html diff --git a/_config.yml b/_config.yml index 4c9a80d5..6287c5a1 100644 --- a/_config.yml +++ b/_config.yml @@ -22,6 +22,7 @@ url: "" # the base hostname & protocol for your site, e.g. http://example.com twitter_username: ethereum github_username: ethereum header_pages: + - all.html - core.html - networking.html - interface.html diff --git a/_includes/eiptable.html b/_includes/eiptable.html index db2bcfa4..ee746a40 100644 --- a/_includes/eiptable.html +++ b/_includes/eiptable.html @@ -1,6 +1,6 @@ {% assign bystatus = include.eips|sort:"eip"|group_by:"status" %} {% for group in bystatus %} - {% if group.name != undefined %} + {% if group.name != "" %}

{{group.name}}

diff --git a/all.html b/all.html new file mode 100644 index 00000000..d57a5a94 --- /dev/null +++ b/all.html @@ -0,0 +1,6 @@ +--- +layout: page +title: All +--- + +{% include eiptable.html eips=site.pages %}