Skip to content

Commit

Permalink
Fill in extra JSON-LD fields (#2816)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent authored Jul 22, 2020
1 parent f918ad5 commit 3bfe737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _layouts/eip.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ <h1 class="page-heading">
{
"@context": "http://schema.org",
"@type": "TechArticle",
"headline": "EIP-{{ page.eip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Last Call" %} [DRAFT]{% endif %}",
"author": "{{ page.author }}",
"name": "EIP-{{ page.eip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Last Call" %} [DRAFT]{% endif %}",
"dateCreated": "{{ page.created | date: "%Y-%m-%d" }}",
"datePublished": "{{ page.created | date: "%Y-%m-%d" }}",
{% if page["discussions-to"] != undefined %}
"discussionUrl": "{{ page["discussions-to"] | uri_escape }}",
{% endif %}
Expand Down

0 comments on commit 3bfe737

Please sign in to comment.