Se editaron y cambiaron variables y directivas

This commit is contained in:
Team1 2023-04-24 19:08:53 +00:00
parent 454a746a16
commit 515b979d6c
8 changed files with 23 additions and 23 deletions

View File

@ -3,9 +3,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
{% if post.layout == "dcip" %} {% if post.layout == "dcip" %}
{% if post.category == "ERC" %} {% if post.category == "DCRC" %}
<title>ERC-{{ page.dcip }}: {{ page.title | escape }}</title> <title>DCRC-{{ page.dcip }}: {{ page.title | escape }}</title>
<meta propery="og:title" content="ERC-{{ page.dcip }}: {{ page.title | escape }}" /> <meta propery="og:title" content="DCRC-{{ page.dcip }}: {{ page.title | escape }}" />
{% else %} {% else %}
<title>DCIP-{{ page.dcip }}: {{ page.title | escape }}</title> <title>DCIP-{{ page.dcip }}: {{ page.title | escape }}</title>
<meta property="og:title" content="DCIP-{{ page.dcip }}: {{ page.title | escape }}" /> <meta property="og:title" content="DCIP-{{ page.dcip }}: {{ page.title | escape }}" />

View File

@ -31,8 +31,8 @@ layout: default
{% if page.status == "Last Call" %} {% if page.status == "Last Call" %}
<span class="badge text-light bg-success" data-bs-toggle="tooltip" data-bs-title="This DCIP is in the last call for review stage. The authors wish to finalize the DCIP and ask you to provide feedback.">📢 Last Call</span> <span class="badge text-light bg-success" data-bs-toggle="tooltip" data-bs-title="This DCIP is in the last call for review stage. The authors wish to finalize the DCIP and ask you to provide feedback.">📢 Last Call</span>
{% endif %} {% endif %}
{% if page.category == "ERC" %} {% if page.category == "DCRC" %}
<a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Application-level standards and conventions, including contract standards such as token standards, name registries, URI schemes, library/package formats, and wallet formats." href="../erc">Standards Track: ERC</a> <a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Application-level standards and conventions, including contract standards such as token standards, name registries, URI schemes, library/package formats, and wallet formats." href="../dcrc">Standards Track: DCRC</a>
{% elsif page.category == "Interface" %} {% elsif page.category == "Interface" %}
<a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Improvements around client API/RPC specifications and standards, and also certain language-level standards like method names and contract ABIs." href="../interface">Standards Track: Interface</a> <a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Improvements around client API/RPC specifications and standards, and also certain language-level standards like method names and contract ABIs." href="../interface">Standards Track: Interface</a>
{% elsif page.category == "Networking" %} {% elsif page.category == "Networking" %}
@ -46,9 +46,9 @@ layout: default
{% endif %} {% endif %}
</span> </span>
<h1 class="page-heading"> <h1 class="page-heading">
{% if page.category == "ERC" %} {% if page.category == "DCRC" %}
ERC-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }} DCRC-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}
{% elsif page.category != "ERC" %} {% elsif page.category != "DCRC" %}
DCIP-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }} DCIP-{{ page.dcip | xml_escape }}: {{ page.title | xml_escape }}
{% endif %} {% endif %}
<a href="{{ page.discussions-to | uri_escape }}" class="no-underline"> <a href="{{ page.discussions-to | uri_escape }}" class="no-underline">
@ -119,7 +119,7 @@ layout: default
IEEE specification for reference formatting: IEEE specification for reference formatting:
https://ieee-dataport.org/sites/default/files/analysis/27/IEEE%20Citation%20Guidelines.pdf https://ieee-dataport.org/sites/default/files/analysis/27/IEEE%20Citation%20Guidelines.pdf
{% endcomment %} {% endcomment %}
<p>{% 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 %}," <em>Decentralized Climate Foundation</em>, no. {{ page.dcip | xml_escape }}, {{ page.created | date: "%B %Y" }}. [Online serial]. Available: https://dev.dcips.decentralizedclimate.org/DCIPS/dcip-{{ page.dcip | xml_escape }}.</p> <p>{% 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 %}," <em>Decentralized Climate Foundation</em>, no. {{ page.dcip | xml_escape }}, {{ page.created | date: "%B %Y" }}. [Online serial]. Available: https://dev.dcips.decentralizedclimate.org/DCIPS/dcip-{{ page.dcip | xml_escape }}.</p>
</div> </div>
{% comment %} {% comment %}
Article schema specification: Article schema specification:
@ -129,9 +129,9 @@ https://schema.org/TechArticle
{ {
"@context": "http://schema.org", "@context": "http://schema.org",
"@type": "TechArticle", "@type": "TechArticle",
{% if page.category == "ERC" %} {% if page.category == "DCRC" %}
"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 %}", "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": "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": "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 %} {% 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 %}", "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 %}", "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 %}",

View File

@ -1,4 +1,4 @@
#### EIP Type / Category #### #### DCIP Type / Category ####
# Type # Type
t-informational: this?.new?.type == "Informational" && this?.old?.status != "Living" 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-core: this?.new?.category == "Core" && this?.old?.status != "Living"
t-networking: this?.new?.category == "Networking" && 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-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 # Living DCIPs & DCIP Template
t-process: this?.old?.status == "Living" || this?.old?.title == "<The EIP title is a few words, not a complete sentence>" t-process: this?.old?.status == "Living" || this?.old?.title == "<The DCIP title is a few words, not a complete sentence>"
# Status # Status
s-draft: this?.new?.status == "Draft" s-draft: this?.new?.status == "Draft"

View File

@ -1,7 +1,7 @@
--- ---
layout: page 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 %} {% include dciptable.html dcips=dcips %}

View File

@ -9,7 +9,7 @@ title: Home
<a href="rss/last-call.xml"><img src="https://img.shields.io/badge/rss-Last Calls-red.svg" alt="RSS"></a> <a href="rss/last-call.xml"><img src="https://img.shields.io/badge/rss-Last Calls-red.svg" alt="RSS"></a>
<a href="rss/nondcrc.xml"><img src="https://img.shields.io/badge/rss-All except DCRC-red.svg" alt="RSS"></a> <a href="rss/nondcrc.xml"><img src="https://img.shields.io/badge/rss-All except DCRC-red.svg" alt="RSS"></a>
</h1> </h1>
<p>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 <a target="_blank" href="https://github.com/DECENTRALIZEDCLIMATE/">Decentralized Climate Project Management</a> repository.</p> <p>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 <a target="_blank" href="https://github.com/DECENTRALIZEDCLIMATE/">Decentralized Climate Project Management</a> repository.</p>
<p> <p>

View File

@ -5,13 +5,13 @@ layout: null
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Decentralized Climate DCIPs</title> <title>Decentralized Climate DCIPs</title>
<description>All updates for ERCs</description> <description>All updates for DCRCs</description>
<link>{{ site.url }}</link> <link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/rss/dcrc.xml" rel="self" type="application/rss+xml" /> <atom:link href="{{ site.url }}/rss/dcrc.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
{% assign dcips = site.pages | sort: 'dcip' %} {% assign dcips = site.pages | sort: 'dcip' %}
{% for dcip in dcips %} {% for dcip in dcips %}
{% if dcip.category == "ERC" %} {% if dcip.category == "DCRC" %}
{% capture description %} {% capture description %}
<p><strong>DCIP #{{ dcip.dcip }} - {{dcip.title }}</strong> is in the {{ dcip.category }} category of type {{ dcip.type }} and was just updated.</p> <p><strong>DCIP #{{ dcip.dcip }} - {{dcip.title }}</strong> is in the {{ dcip.category }} category of type {{ dcip.type }} and was just updated.</p>
{% if dcip.discussions-to %} {% if dcip.discussions-to %}

View File

@ -11,7 +11,7 @@ layout: null
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
{% assign dcips = site.pages | sort: 'dcip' %} {% assign dcips = site.pages | sort: 'dcip' %}
{% for dcip in dcips %} {% for dcip in dcips %}
{% unless dcip.category == "ERC" %} {% unless dcip.category == "DCRC" %}
{% if dcip.status == "Last Call" %} {% if dcip.status == "Last Call" %}
{% capture description %} {% capture description %}
<p><strong>DCIP #{{ dcip.dcip }} - {{dcip.title }}</strong> 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.</p> <p><strong>DCIP #{{ dcip.dcip }} - {{dcip.title }}</strong> 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.</p>

View File

@ -11,7 +11,7 @@ layout: null
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
{% assign dcips = site.pages | sort: 'dcip' %} {% assign dcips = site.pages | sort: 'dcip' %}
{% for dcip in dcips %} {% for dcip in dcips %}
{% unless dcip.category == "ERC" %} {% unless dcip.category == "DCRC" %}
{% if dcip.status == "Last Call" %} {% if dcip.status == "Last Call" %}
{% capture description %} {% capture description %}
<p><strong>DCIP #{{ dcip.dcip }} - {{dcip.title }}</strong> 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.</p> <p><strong>DCIP #{{ dcip.dcip }} - {{dcip.title }}</strong> 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.</p>