From 689802f4567a885ad5e4ef933fe21ab317f0e04f Mon Sep 17 00:00:00 2001 From: Team1 Date: Tue, 25 Apr 2023 19:35:41 +0000 Subject: [PATCH] Se eliminaron directivas y condicion --- _includes/head.html | 7 ++-- _layouts/dcip.html | 15 ++------ dcrc.html | 7 ---- index.html | 1 - rss/dcrc-last-call.xml | 35 ------------------- rss/{dcxrc.xml => dcxip.xml} | 4 +-- ...rc-last-call.xml => nondcip-last-call.xml} | 2 +- rss/nondcrc.xml | 35 ------------------- 8 files changed, 8 insertions(+), 98 deletions(-) delete mode 100644 dcrc.html delete mode 100644 rss/dcrc-last-call.xml rename rss/{dcxrc.xml => dcxip.xml} (93%) rename rss/{nondcrc-last-call.xml => nondcip-last-call.xml} (97%) delete mode 100644 rss/nondcrc.xml diff --git a/_includes/head.html b/_includes/head.html index d5e44b5..20aa707 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,11 +2,8 @@ - {% if post.layout == "dcip" %} - {% if post.category == "DCRC" %} - DCRC-{{ page.dcip }}: {{ page.title | escape }} - - {% else %} + {% if page.layout == "dcip" %} + {% if page.category == "DCIP" %} DCIP-{{ page.dcip }}: {{ page.title | escape }} {% endif %} diff --git a/_layouts/dcip.html b/_layouts/dcip.html index 3f182f3..00ae611 100644 --- a/_layouts/dcip.html +++ b/_layouts/dcip.html @@ -31,24 +31,19 @@ layout: default {% if page.status == "Last Call" %} 📢 Last Call {% endif %} - {% if page.category == "DCRC" %} - Standards Track: DCRC {% elsif page.category == "Interface" %} Standards Track: Interface {% elsif page.category == "Networking" %} - Standards Track: Networking + Standards Track: Networking {% elsif page.category == "Core" %} Standards Track: Core {% elsif page.type == "Informational" %} - Informational + Informational {% elsif page.type == "Meta" %} Meta {% endif %}

- {% 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 +114,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 == "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 }}.

+

{% include authorlist.html authors=page.author %}, "{% if page.category == "{% 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,10 +124,6 @@ https://schema.org/TechArticle { "@context": "http://schema.org", "@type": "TechArticle", - {% 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 %}", {% endif %} diff --git a/dcrc.html b/dcrc.html deleted file mode 100644 index 590d2cb..0000000 --- a/dcrc.html +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: page -title: DCRC ---- - -{% 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 9e871d7..9283a6b 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,6 @@ title: Home
Discord channel DECA dcip collaboration RSS 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.

diff --git a/rss/dcrc-last-call.xml b/rss/dcrc-last-call.xml deleted file mode 100644 index b8d1a4f..0000000 --- a/rss/dcrc-last-call.xml +++ /dev/null @@ -1,35 +0,0 @@ ---- -layout: null ---- - - - - DCIPs - Last Call Review - All DCIPs which are in the "last call" status, please help review these and provide your feedback! - {{ site.url }} - - {{ site.time | date_to_rfc822 }} - {% assign dcips = site.pages | sort: 'dcip' %} - {% for dcip in dcips %} - {% if dcip.category == "ERC" %} - {% 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.

- {% if dcip.discussions-to %} -

The author has requested that discussions happen at the following URL: {{ dcip.discussions-to }}

- {% endif %} -
- {{ dcip.content }} - {% endcapture %} - - {{ dcip.title | xml_escape }} - {{ description | xml_escape }} - {{ dcip.created | date_to_rfc822 }} - {{ site.url }}/{{ dcip.url }} - {{ site.url }}/{{ dcip.url }} - - {% endif %} - {% endif %} - {% endfor %} -
-
diff --git a/rss/dcxrc.xml b/rss/dcxip.xml similarity index 93% rename from rss/dcxrc.xml rename to rss/dcxip.xml index 7eadf6e..4636478 100644 --- a/rss/dcxrc.xml +++ b/rss/dcxip.xml @@ -5,13 +5,13 @@ layout: null Decentralized Climate DCIPs - All updates for DCRCs + All updates for DCIPs {{ site.url }} {{ site.time | date_to_rfc822 }} {% assign dcips = site.pages | sort: 'dcip' %} {% for dcip in dcips %} - {% if dcip.category == "DCRC" %} + {% if dcip.category == "DCIP" %} {% 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/nondcip-last-call.xml similarity index 97% rename from rss/nondcrc-last-call.xml rename to rss/nondcip-last-call.xml index b6b03b2..cd21880 100644 --- a/rss/nondcrc-last-call.xml +++ b/rss/nondcip-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 == "DCRC" %} + {% unless dcip.category == "DCIP" %} {% 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 deleted file mode 100644 index ebaa844..0000000 --- a/rss/nondcrc.xml +++ /dev/null @@ -1,35 +0,0 @@ ---- -layout: null ---- - - - - Decentralized Climate DCIPs - All DCIPs that are not DCRCs - {{ site.url }} - - {{ site.time | date_to_rfc822 }} - {% assign dcips = site.pages | sort: 'dcip' %} - {% for dcip in dcips %} - {% 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.

- {% if dcip.discussions-to %} -

The author has requested that discussions happen at the following URL: {{ dcip.discussions-to }}

- {% endif %} -
- {{ dcip.content }} - {% endcapture %} - - {{ dcip.title | xml_escape }} - {{ description | xml_escape }} - {{ dcip.created | date_to_rfc822 }} - {{ site.url }}/{{ dcip.url }} - {{ site.url }}/{{ dcip.url }} - - {% endif %} - {% endunless %} - {% endfor %} -
-