Skip to content

Commit

Permalink
feat: update about page to properly reflect release version
Browse files Browse the repository at this point in the history
  • Loading branch information
kshychko committed Jul 12, 2024
1 parent fe11e44 commit 71c3eb7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 98 deletions.
3 changes: 2 additions & 1 deletion _config_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ versions:
dpp: draft
cc: draft
te: draft
core: draft
untp-core: draft

markdown: kramdown
kramwdown:
parse_block_html: true
Expand Down
89 changes: 0 additions & 89 deletions home.html

This file was deleted.

16 changes: 8 additions & 8 deletions pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ <h1 class="home-content__title">UNTP Core Vocabulary</h1>
<p class="browse-type__description">List of UNTP Core Classes</p>
<a class="browse-type__action" href="{{ 'classes' | absolute_url }}">Browse Classes</a>
</div>
{% if site.versions.core %}
{% if site.versions.untp-core %}
<span class="browse-type__version">
{{ site.versions.core }}
{{ site.versions.untp-core }}
</span>
{% endif %}
</li>
Expand All @@ -62,9 +62,9 @@ <h1 class="home-content__title">UNTP Core Vocabulary</h1>
<p class="browse-type__description">List of UNTP Core Properties</p>
<a class="browse-type__action" href="{{ 'properties' | absolute_url }}">Browse Properties</a>
</div>
{% if site.versions.core %}
{% if site.versions.untp-core %}
<span class="browse-type__version">
{{ site.versions.core }}
{{ site.versions.untp-core }}
</span>
{% endif %}
</li>
Expand All @@ -84,9 +84,9 @@ <h1 class="home-content__title">UNTP Core Vocabulary</h1>
<p class="browse-type__description">List of UNTP Core Codes</p>
<a class="browse-type__action" href="{{ 'code-lists' | absolute_url }}">Browse Code Lists</a>
</div>
{% if site.versions.core %}
{% if site.versions.untp-core %}
<span class="browse-type__version">
{{ site.versions.core }}
{{ site.versions.untp-core }}
</span>
{% endif %}
</li>
Expand All @@ -95,13 +95,13 @@ <h1 class="home-content__title">UNTP Core Vocabulary</h1>
<h2 class="home-content__subtitle">Contexts</h2>
<p>JSON-LD Context files are available here:</p>
<p>
<a class="link-box" href="https://test.uncefact.org/vocabulary/untp/core/untp-core-context.jsonld">https://test.uncefact.org/vocabulary/untp/core/untp-core-context.jsonld</a>
<a class="link-box" href="{{ 'untp-core-context.jsonld' | absolute_url }}">{{ 'untp-core-context.jsonld' | absolute_url }}</a>
</p>

<h2 class="home-content__subtitle">Content Negotiation</h2>
<div class="copy-box">
<div class="copy-box__text" id="content-negotiation-1">
curl https://test.uncefact.org/vocabulary/untp/core/ -H 'Accept: application/ld+json'
curl {{ absolute_url }} -H 'Accept: application/ld+json'
</div>
<button type="button" class="js-copy-btn copy-box__btn" data-clipboard-target="#content-negotiation-1">
<svg class="copy-box__btn-icon">
Expand Down

0 comments on commit 71c3eb7

Please sign in to comment.