Se eliminaron directivas y condicion

This commit is contained in:
Team1 2023-04-25 19:35:41 +00:00
parent 717b1e4b17
commit 689802f456
8 changed files with 8 additions and 98 deletions

View File

@ -2,11 +2,8 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<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 page.layout == "dcip" %}
{% if post.category == "DCRC" %} {% if page.category == "DCIP" %}
<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> <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 }}" />
{% endif %} {% endif %}

View File

@ -31,24 +31,19 @@ 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 == "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" %} {% 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" %}
<a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Improvements around devp2p and Light Ethereum Subprotocol, as well as proposed improvements to network protocol specifications of whisper and swarm." href="../networking">Standards Track: Networking</a> <a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Improvements around devp2p and Light Decentralized Climate Subprotocol, as well as proposed improvements to network protocol specifications of whisper and swarm." href="../networking">Standards Track: Networking</a>
{% elsif page.category == "Core" %} {% elsif page.category == "Core" %}
<a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Improvements requiring a consensus fork, as well as changes that are not necessarily consensus critical but may be relevant to “core dev” discussions." href="../core">Standards Track: Core</a> <a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Improvements requiring a consensus fork, as well as changes that are not necessarily consensus critical but may be relevant to “core dev” discussions." href="../core">Standards Track: Core</a>
{% elsif page.type == "Informational" %} {% elsif page.type == "Informational" %}
<a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Describes an Ethereum design issue, or provides general guidelines or information to the Ethereum community, but does not propose a new feature. Informational DCIPs do not necessarily represent Ethereum community consensus or a recommendation, so users and implementers are free to ignore Informational DCIPs or follow their advice." href="../informational">Informational</a> <a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Describes an Ethereum design issue, or provides general guidelines or information to the Decentralized Climate community, but does not propose a new feature. Informational DCIPs do not necessarily represent Decentralized Climate community consensus or a recommendation, so users and implementers are free to ignore Informational DCIPs or follow their advice." href="../informational">Informational</a>
{% elsif page.type == "Meta" %} {% elsif page.type == "Meta" %}
<a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Describes a process surrounding Ethereum or proposes a change to (or an event in) a process. " href="../meta">Meta</a> <a class="badge text-light bg-primary" data-bs-toggle="tooltip" data-bs-title="Describes a process surrounding Ethereum or proposes a change to (or an event in) a process. " href="../meta">Meta</a>
{% endif %} {% endif %}
</span> </span>
<h1 class="page-heading"> <h1 class="page-heading">
{% 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 }} 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 +114,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 == "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> <p>{% 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 %}," <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,10 +124,6 @@ https://schema.org/TechArticle
{ {
"@context": "http://schema.org", "@context": "http://schema.org",
"@type": "TechArticle", "@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 %}", "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 %}",
{% endif %} {% endif %}

View File

@ -1,7 +0,0 @@
---
layout: page
title: DCRC
---
{% assign dcips=site.pages|where:"type","Standards Track"|where:"category","DCRC" %}
{% include dciptable.html dcips=dcips %}

View File

@ -7,7 +7,6 @@ title: Home
<a href="https://discord.gg/hRacPhf7"><img src="https://dcbadge.vercel.app/api/server/hRacPhf7?style=flat" alt="Discord channel DECA dcip collaboration"></a> <a href="https://discord.gg/hRacPhf7"><img src="https://dcbadge.vercel.app/api/server/hRacPhf7?style=flat" alt="Discord channel DECA dcip collaboration"></a>
<a href="rss/all.xml"><img src="https://img.shields.io/badge/rss-Everything-red.svg" alt="RSS"></a> <a href="rss/all.xml"><img src="https://img.shields.io/badge/rss-Everything-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/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> </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>

View File

@ -1,35 +0,0 @@
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title> DCIPs - Last Call Review</title>
<description>All DCIPs which are in the "last call" status, please help review these and provide your feedback!</description>
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/rss/last-call.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.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>
{% if dcip.discussions-to %}
<p>The author has requested that discussions happen at the following URL: <a href="{{ dcip.discussions-to }}">{{ dcip.discussions-to }}</a></p>
{% endif %}
<hr />
{{ dcip.content }}
{% endcapture %}
<item>
<title>{{ dcip.title | xml_escape }}</title>
<description>{{ description | xml_escape }}</description>
<pubDate>{{ dcip.created | date_to_rfc822 }}</pubDate>
<link>{{ site.url }}/{{ dcip.url }}</link>
<guid isPermaLink="true">{{ site.url }}/{{ dcip.url }}</guid>
</item>
{% endif %}
{% endif %}
{% endfor %}
</channel>
</rss>

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 DCRCs</description> <description>All updates for DCIPs</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 == "DCRC" %} {% if dcip.category == "DCIP" %}
{% 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 == "DCRC" %} {% unless dcip.category == "DCIP" %}
{% 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

@ -1,35 +0,0 @@
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Decentralized Climate DCIPs</title>
<description>All DCIPs that are not DCRCs</description>
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/rss/last-call.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
{% assign dcips = site.pages | sort: 'dcip' %}
{% for dcip in dcips %}
{% 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>
{% if dcip.discussions-to %}
<p>The author has requested that discussions happen at the following URL: <a href="{{ dcip.discussions-to }}">{{ dcip.discussions-to }}</a></p>
{% endif %}
<hr />
{{ dcip.content }}
{% endcapture %}
<item>
<title>{{ dcip.title | xml_escape }}</title>
<description>{{ description | xml_escape }}</description>
<pubDate>{{ dcip.created | date_to_rfc822 }}</pubDate>
<link>{{ site.url }}/{{ dcip.url }}</link>
<guid isPermaLink="true">{{ site.url }}/{{ dcip.url }}</guid>
</item>
{% endif %}
{% endunless %}
{% endfor %}
</channel>
</rss>