Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export default async function(eleventyConfig) {
}
eleventyConfig.ignores.add('test-suite');

eleventyConfig.addWatchTarget('playground/next/index.html');

// setup development proxy to cloudflare pages function server
if(process.env.ELEVENTY_RUN_MODE === 'serve') {
eleventyConfig.setServerOptions({
Expand Down
24 changes: 24 additions & 0 deletions _includes/implementation-card.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<div class="card">
<div class="content">
<div class="header"><h3>{% if language %}{{ language | split: ',' | join: ' / ' }}{% else %}{{ applicationCategory }}{% endif %}</h3></div>
<div class="description">
<div class="ui selection list">
{% if language %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something in here is being too aggressive and including JavaScript entries in the Java section.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. I missed that. Ah... it's the contains bit. 😖 I'll see if I can improve that. Thanks!

Copy link
Member Author

@BigBlueHat BigBlueHat Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidlehn k. That was painful...but it's fixed now. See: 6be40a2

{% assign languages = language | split: ',' %}
{% assign langExp = nil %}
{% for lang in languages %}
{% assign prefixed = lang | prepend: "imp.language contains '" | append: "'" %}
{% assign langExp = langExp | concat: prefixed %}
{% endfor %}
{% assign expression = langExp | join: ' or ' %}
{% assign imps = implementations | where_exp: 'imp', expression | where_exp: 'imp', 'imp.applicationCategory != "CLI"' %}
{% else %}
{% assign imps = implementations | where: 'applicationCategory', applicationCategory %}
{% endif %}
{% for implementation in imps %}
{% include 'implementation-item' %}
{% endfor %}
</div>
</div>
</div>
</div>
6 changes: 3 additions & 3 deletions _includes/implementation-item.liquid
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<li typeof="schema:SoftwareSourceCode">
<div class="item" typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="{{ implementation.repo }}">
<span property="schema:name">{{ implementation.name }}</span>
<span class="badge{% unless implementation.state == 'InProgress' %}{% if implementation.jsonldVersion == 1.1 %} badge-success{% else %} badge-info{% endif %}{% endunless %}">
<span class="ui label{% unless implementation.state == 'InProgress' %}{% if implementation.jsonldVersion == 1.1 %} green{% else %} blue{% endif %}{% endunless %}">
{%- if implementation.jsonldVersion == 1.0 -%}
1.0
{%- else -%}
{{ implementation.jsonldVersion }}{% if implementation.state == 'InProgress' %} (<abbr title="Work In Progress">WIP</abbr>){% endif %}
{%- endif -%}
</span>
</a>
</li>
</div>
File renamed without changes.
21 changes: 16 additions & 5 deletions _layouts/fomantic.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@
<style>
/* fomantic overrides */
html { scroll-padding-top: 5em; }
body { background-color: #f7f7f7; }
.ui.main.container { margin-top: 7em; }
.ui.top.menu .header.item { border: none !important; padding-left: 0; }
.ui.top.menu .header.item > span { font-size: 150%; }
.ui.top.menu .header.item > img { margin-right: 1rem; }
.ui.basic.masthead.segment { padding: 5em 0 3em; background: white; box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2), -1px -1px 0 rgba(0, 0, 0, 0.1) }
.ui.basic.masthead.segment + .ui.main.container { margin-top: 3em; }
pre.ui.segment { overflow-x: auto; }
.ui.fitted.tab.segment > .ui.table { border-left: 0; border-top: 0; border-right: 0; margin-top: 0; }
.ui.table th:empty { display: none; }
.ui.basic.footer.segment { border-top: 1px solid rgba(34,36,38,.15); margin-top: 4em; padding-top: 2em; }
Expand All @@ -50,7 +54,7 @@

<body>
<div class="ui top fixed menu">
<div class="ui container">
<div class="ui wide container">
<!-- Brand -->
<a class="header item" href="/">
<img src="/images/json-ld-data-24.png" alt="JSON-LD logo">
Expand All @@ -71,7 +75,7 @@
</a>

<!-- Dropdown menu -->
<div class="ui simple dropdown item {% if page.url == '/spec/' %}active{% endif %}">
<div class="ui simple dropdown item">
<i class="folder open icon"></i>
Specifications
<i class="dropdown icon"></i>
Expand Down Expand Up @@ -103,12 +107,19 @@
</div>
</div>

<div class="ui main container">
{% if masthead %}
<div class="ui basic center aligned massive masthead segment">
<h1 class="ui massive header">{{ masthead.title }}</h1>
<p>{{ masthead.subtitle }}</p>
</div>
{% endif %}

<div class="ui main wide container">
{{ content }}
</div>

<div class="ui basic footer segment">
<div class="ui container">
<div class="ui basic footer segment" id="footer">
<div class="ui container" id="copyright">
<p>Website content released under a
<a href="https://creativecommons.org/about/cc0">Creative Commons CC0 Public Domain Dedication</a>
except where an alternate is specified.</p>
Expand Down
Loading