Skip to content

Commit fb0f732

Browse files
committed
Add @context to implementation list YAML.
Because YAML-LD is a Thing!
1 parent 8b111f8 commit fb0f732

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

_includes/implementation-item.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<li typeof="schema:SoftwareSourceCode">
22
<a property="schema:codeRepository" href="{{ implementation.repo }}">
33
<span property="schema:name">{{ implementation.name }}</span>
4-
<span class="badge{% unless implementation.state == 'WIP' %}{% if implementation.jsonldVersion == 1.1 %} badge-success{% else %} badge-info{% endif %}{% endunless %}">
4+
<span class="badge{% unless implementation.state == 'InProgress' %}{% if implementation.jsonldVersion == 1.1 %} badge-success{% else %} badge-info{% endif %}{% endunless %}">
55
{%- if implementation.jsonldVersion == 1.0 -%}
66
1.0
77
{%- else -%}
8-
{{ implementation.jsonldVersion }}{% if implementation.state == 'WIP' %} (<abbr title="Work In Progress">WIP</abbr>){% endif %}
8+
{{ implementation.jsonldVersion }}{% if implementation.state == 'InProgress' %} (<abbr title="Work In Progress">WIP</abbr>){% endif %}
99
{%- endif -%}
1010
</span>
1111
</a>

index.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
"@context":
2+
implementations: "@graph"
3+
applicationCategory: https://schema.org/applicationCategory
4+
language: https://schema.org/programmingLanguage
5+
jsonldVersion: https://json-ld.org/#jsonldVersion
6+
name: https://schema.org/name
7+
repo: https://schema.org/codeRepository
8+
state: https://schema.org/creativeWorkStatus
19
implementations:
210
# JavaScript
311
- repo: https://github.com/digitalbazaar/jsonld.js
@@ -88,7 +96,7 @@ implementations:
8896
- repo: https://github.com/timothee-haudebourg/json-ld
8997
name: json-ld
9098
jsonldVersion: 1.1
91-
state: WIP
99+
state: InProgress
92100
language: Rust
93101
- repo: https://crates.io/crates/sophia
94102
name: sophia
@@ -98,5 +106,5 @@ implementations:
98106
- repo: https://github.com/mattrglobal/jsonld-lint
99107
name: jsonld-lint
100108
jsonldVersion: 1.1
101-
state: WIP
109+
state: InProgress
102110
language: Typescript

0 commit comments

Comments
 (0)