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 name="viewport" content="width=device-width, initial-scale=1" />
{% if post.layout == "dcip" %}
{% if post.category == "ERC" %}
<title>ERC-{{ page.dcip }}: {{ page.title | escape }}</title>
<meta propery="og:title" content="ERC-{{ page.dcip }}: {{ page.title | escape }}" />
{% if post.category == "DCRC" %}
<title>DCRC-{{ page.dcip }}: {{ page.title | escape }}</title>
<meta propery="og:title" content="DCRC-{{ page.dcip }}: {{ page.title | escape }}" />
{% else %}
<title>DCIP-{{ page.dcip }}: {{ page.title | escape }}</title>
<meta property="og:title" content="DCIP-{{ page.dcip }}: {{ page.title | escape }}" />

View File

@ -31,8 +31,8 @@ layout: default
{% 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>
{% endif %}
{% if page.category == "ERC" %}
<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>
{% 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="../dcrc">Standards Track: DCRC</a>
{% 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>
{% elsif page.category == "Networking" %}
@ -46,9 +46,9 @@ layout: default
{% endif %}
</span>
<h1 class="page-heading">
{% 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 %}
<a href="{{ page.discussions-to | uri_escape }}" class="no-underline">
@ -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 %}
<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>
{% 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 %}",

View File

@ -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 == "<The EIP title is a few words, not a complete sentence>"
# Living DCIPs & DCIP Template
t-process: this?.old?.status == "Living" || this?.old?.title == "<The DCIP title is a few words, not a complete sentence>"
# Status
s-draft: this?.new?.status == "Draft"

View File

@ -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 %}

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/nondcrc.xml"><img src="https://img.shields.io/badge/rss-All except DCRC-red.svg" alt="RSS"></a>
</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>

View File

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

View File

@ -11,7 +11,7 @@ layout: null
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
{% 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 %}
<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>
{% 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 %}
<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>