From 515b979d6c6069eff32a4e81fb63ba3304b1bf48 Mon Sep 17 00:00:00 2001 From: Team1 Date: Mon, 24 Apr 2023 19:08:53 +0000 Subject: [PATCH] Se editaron y cambiaron variables y directivas --- _includes/head.html | 6 +++--- _layouts/dcip.html | 18 +++++++++--------- config/.jekyll-labels.yml | 8 ++++---- erc.html => dcrc.html | 4 ++-- index.html | 2 +- rss/dcxrc.xml | 4 ++-- rss/nondcrc-last-call.xml | 2 +- rss/nondcrc.xml | 2 +- 8 files changed, 23 insertions(+), 23 deletions(-) rename erc.html => dcrc.html (79%) diff --git a/_includes/head.html b/_includes/head.html index e7b5c9b..d5e44b5 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -3,9 +3,9 @@ {% if post.layout == "dcip" %} - {% if post.category == "ERC" %} - ERC-{{ page.dcip }}: {{ page.title | escape }} - + {% if post.category == "DCRC" %} + DCRC-{{ page.dcip }}: {{ page.title | escape }} + {% else %} DCIP-{{ page.dcip }}: {{ page.title | escape }} diff --git a/_layouts/dcip.html b/_layouts/dcip.html index 4dad233..3f182f3 100644 --- a/_layouts/dcip.html +++ b/_layouts/dcip.html @@ -31,8 +31,8 @@ layout: default {% if page.status == "Last Call" %} 📢 Last Call {% endif %} - {% if page.category == "ERC" %} - Standards Track: ERC + {% if page.category == "DCRC" %} + Standards Track: DCRC {% elsif page.category == "Interface" %} Standards Track: Interface {% elsif page.category == "Networking" %} @@ -46,9 +46,9 @@ layout: default {% endif %}

- {% if page.category == "ERC" %} - ERC-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }} - {% elsif page.category != "ERC" %} + {% if page.category == "DCRC" %} + DCRC-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }} + {% elsif page.category != "DCRC" %} DCIP-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }} {% endif %} @@ -119,7 +119,7 @@ layout: default IEEE specification for reference formatting: https://ieee-dataport.org/sites/default/files/analysis/27/IEEE%20Citation%20Guidelines.pdf {% endcomment %} -

{% include authorlist.html authors=page.author %}, "{% if page.category == "ERC" %}ERC{% else %}DCIP{% endif %}-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Stagnant" or page.status == "Withdrawn" or page.status == "Review" or page.status == "Last Call" %} [DRAFT]{% endif %}," Decentralized Climate Foundation, no. {{ page.dcip | xml_escape }}, {{ page.created | date: "%B %Y" }}. [Online serial]. Available: https://dev.dcips.decentralizedclimate.org/DCIPS/dcip-{{ page.dcip | xml_escape }}.

+

{% include authorlist.html authors=page.author %}, "{% if page.category == "DCRC" %}DCRC{% else %}DCIP{% endif %}-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Stagnant" or page.status == "Withdrawn" or page.status == "Review" or page.status == "Last Call" %} [DRAFT]{% endif %}," Decentralized Climate Foundation, no. {{ page.dcip | xml_escape }}, {{ page.created | date: "%B %Y" }}. [Online serial]. Available: https://dev.dcips.decentralizedclimate.org/DCIPS/dcip-{{ page.dcip | xml_escape }}.

{% comment %} Article schema specification: @@ -129,9 +129,9 @@ https://schema.org/TechArticle { "@context": "http://schema.org", "@type": "TechArticle", - {% if page.category == "ERC" %} - "headline": "ERC-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Stagnant" or page.status == "Withdrawn" or page.status == "Review" or page.status == "Last Call" %} [DRAFT]{% endif %}", - "name": "ERC-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Stagnant" or page.status == "Withdrawn" or page.status == "Review" or page.status == "Last Call" %} [DRAFT]{% endif %}", + {% if page.category == "DCRC" %} + "headline": "DCRC-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Stagnant" or page.status == "Withdrawn" or page.status == "Review" or page.status == "Last Call" %} [DRAFT]{% endif %}", + "name": "DCRC-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Stagnant" or page.status == "Withdrawn" or page.status == "Review" or page.status == "Last Call" %} [DRAFT]{% endif %}", {% else %} "headline": "DCIP-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Stagnant" or page.status == "Withdrawn" or page.status == "Review" or page.status == "Last Call" %} [DRAFT]{% endif %}", "name": "DCIP-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Stagnant" or page.status == "Withdrawn" or page.status == "Review" or page.status == "Last Call" %} [DRAFT]{% endif %}", diff --git a/config/.jekyll-labels.yml b/config/.jekyll-labels.yml index 56f96e9..57a9a4b 100644 --- a/config/.jekyll-labels.yml +++ b/config/.jekyll-labels.yml @@ -1,4 +1,4 @@ -#### EIP Type / Category #### +#### DCIP Type / Category #### # Type t-informational: this?.new?.type == "Informational" && this?.old?.status != "Living" @@ -8,10 +8,10 @@ t-meta: this?.new?.type == "Meta" && this?.old?.status != "Living" t-core: this?.new?.category == "Core" && this?.old?.status != "Living" t-networking: this?.new?.category == "Networking" && this?.old?.status != "Living" t-interface: this?.new?.category == "Interface" && this?.old?.status != "Living" -t-erc: this?.new?.category == "ERC" && this?.old?.status != "Living" +t-dcrc: this?.new?.category == "DCRC" && this?.old?.status != "Living" -# Living EIPs & EIP Template -t-process: this?.old?.status == "Living" || this?.old?.title == "" +# Living DCIPs & DCIP Template +t-process: this?.old?.status == "Living" || this?.old?.title == "" # Status s-draft: this?.new?.status == "Draft" diff --git a/erc.html b/dcrc.html similarity index 79% rename from erc.html rename to dcrc.html index 669a1cd..590d2cb 100644 --- a/erc.html +++ b/dcrc.html @@ -1,7 +1,7 @@ --- layout: page -title: ERC +title: DCRC --- -{% assign dcips=site.pages|where:"type","Standards Track"|where:"category","ERC" %} +{% assign dcips=site.pages|where:"type","Standards Track"|where:"category","DCRC" %} {% include dciptable.html dcips=dcips %} diff --git a/index.html b/index.html index 56b4df4..9e871d7 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ title: Home
RSS RSS

-

Decentralized CLimate Foundation (DCIPs) describe standards for the Decentralized Climate platform, including core protocol specifications, client APIs, and contract standards. Network upgrades are discussed separately in the Decentralized Climate Project Management repository.

+

Decentralized Climate Foundation (DCIPs) describe standards for the Decentralized Climate platform, including core protocol specifications, client APIs, and contract standards. Network upgrades are discussed separately in the Decentralized Climate Project Management repository.

diff --git a/rss/dcxrc.xml b/rss/dcxrc.xml index 71991ac..7eadf6e 100644 --- a/rss/dcxrc.xml +++ b/rss/dcxrc.xml @@ -5,13 +5,13 @@ layout: null Decentralized Climate DCIPs - All updates for ERCs + All updates for DCRCs {{ site.url }} {{ site.time | date_to_rfc822 }} {% assign dcips = site.pages | sort: 'dcip' %} {% for dcip in dcips %} - {% if dcip.category == "ERC" %} + {% if dcip.category == "DCRC" %} {% capture description %}

DCIP #{{ dcip.dcip }} - {{dcip.title }} is in the {{ dcip.category }} category of type {{ dcip.type }} and was just updated.

{% if dcip.discussions-to %} diff --git a/rss/nondcrc-last-call.xml b/rss/nondcrc-last-call.xml index 348e717..b6b03b2 100644 --- a/rss/nondcrc-last-call.xml +++ b/rss/nondcrc-last-call.xml @@ -11,7 +11,7 @@ layout: null {{ site.time | date_to_rfc822 }} {% assign dcips = site.pages | sort: 'dcip' %} {% for dcip in dcips %} - {% unless dcip.category == "ERC" %} + {% unless dcip.category == "DCRC" %} {% if dcip.status == "Last Call" %} {% capture description %}

DCIP #{{ dcip.dcip }} - {{dcip.title }} is in Last Call status. It is authored by {{ dcip.author }} and was originally created {{ dcip.created }}. It is in the {{ dcip.category }} category of type {{ dcip.type }}. Please review and note any changes that should block acceptance.

diff --git a/rss/nondcrc.xml b/rss/nondcrc.xml index dfd4d42..ebaa844 100644 --- a/rss/nondcrc.xml +++ b/rss/nondcrc.xml @@ -11,7 +11,7 @@ layout: null {{ site.time | date_to_rfc822 }} {% assign dcips = site.pages | sort: 'dcip' %} {% for dcip in dcips %} - {% unless dcip.category == "ERC" %} + {% unless dcip.category == "DCRC" %} {% if dcip.status == "Last Call" %} {% capture description %}

DCIP #{{ dcip.dcip }} - {{dcip.title }} is in Last Call status. It is authored by {{ dcip.author }} and was originally created {{ dcip.created }}. It is in the {{ dcip.category }} category of type {{ dcip.type }}. Please review and note any changes that should block acceptance.