Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
10 changes: 10 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import markdownIt from 'markdown-it';
import markdownItAttrs from 'markdown-it-attrs';
import markdownItAnchor from 'markdown-it-anchor';
import YAML from 'yaml';

// development host for playground proxy
Expand All @@ -15,6 +18,13 @@ const drafts = [
];

export default async function(eleventyConfig) {
eleventyConfig.setLibrary('md', markdownIt({
html: true,
linkify: true,
typographer: true
}).use(markdownItAttrs)
.use(markdownItAnchor));

eleventyConfig.addDataExtension('yaml', (contents) => YAML.parse(contents));

eleventyConfig.addPassthroughCopy('.htaccess');
Expand Down
9 changes: 9 additions & 0 deletions _layouts/fomantic.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
.ui.top.menu .header.item > span { font-size: 150%; }
.ui.top.menu .header.item > img { margin-right: 1rem; }
.ui.fitted.tab.segment > .ui.table { border-left: 0; border-top: 0; border-right: 0; margin-top: 0; }
.ui.table th:empty { display: none; }
/* RDF Font gets priority */
i.rdf-icon-rdf.icon { font-family: 'rdf-font'; }
</style>
Expand Down Expand Up @@ -105,6 +106,14 @@
{{ content }}
</div>

<div class="ui footer segment">
<div class="ui container">
<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>
</div>
</div>

<!-- Script tags -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js"></script>
Expand Down
98 changes: 0 additions & 98 deletions images/index.html

This file was deleted.

50 changes: 50 additions & 0 deletions images/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
layout: fomantic
title: JSON-LD Images/Logos
---

## JSON-LD Images

The following images can be used for JSON-LD.
Use of these images must follow the guidelines found on the [W3C RDF
Icons](http://www.w3.org/RDF/icons/) page due to the embedded use of
their excellent logo and inspiration for this page.
{.ui .message}

## Logos

This is the JSON-LD logo. Also available as [SVG](json-ld-logo.svg) or
[high resolution PNG](json-ld-logo.png).

| | |
|----|----|
| [![JSON-LD Logo](json-ld-logo-64.png)](https://json-ld.org/ "JSON-LD") | `<a href="https://json-ld.org/" title="JSON-LD"><img style="border:0px;" width="64" src="https://json-ld.org/images/json-ld-logo-64.png" alt="JSON-LD-logo-64"/>\</a>` |

{.ui .celled .table}

## Buttons

This button can be used to show JSON-LD support. Also available as
[SVG](json-ld-button.svg) (Inkscape) or [high resolution
PNG](json-ld-button.png).

| | |
|----|----|
| [![JSON-LD Logo](json-ld-button-88.png)](https://json-ld.org/ "JSON-LD") | `<a href="https://json-ld.org/" title="JSON-LD"><img style="border:0px;" width="88" src="https://json-ld.org/images/json-ld-button-88.png" alt="JSON-LD-logo-88"/></a>` |

{.ui .celled .table}

## Data

These images can be used for JSON-LD data. Also available as
[SVG](json-ld-data.svg) (Inkscape) or [high resolution
PNG](json-ld-data.png).

| | |
|----|----|
| [![JSON-LD Data Logo](json-ld-data-64.png)](https://json-ld.org/ "JSON-LD Data") | `<a href="https://json-ld.org/" title="JSON-LD Data"><img style="border:0px;" width="64" src="https://json-ld.org/images/json-ld-data-64.png" alt="JSON-LD-logo-64"/></a>` |
| [![JSON-LD Data Logo](json-ld-data-48.png)](https://json-ld.org/ "JSON-LD Data") | `<a href="https://json-ld.org/" title="JSON-LD Data"><img style="border:0px;" width="48" src="https://json-ld.org/images/json-ld-data-48.png" alt="JSON-LD-logo-48"/></a>` |
| [![JSON-LD Data Logo](json-ld-data-32.png)](https://json-ld.org/ "JSON-LD Data") | `<a href="https://json-ld.org/" title="JSON-LD Data"><img style="border:0px;" width="32" src="https://json-ld.org/images/json-ld-data-32.png" alt="JSON-LD-logo-32"/></a>` |
| [![JSON-LD Data Logo](json-ld-data-24.png)](https://json-ld.org/ "JSON-LD Data") | `<a href="https://json-ld.org/" title="JSON-LD Data"><img style="border:0px;" width="24" src="https://json-ld.org/images/json-ld-data-24.png" alt="JSON-LD-logo-24"/></a>` |

{.ui .celled .table}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
"@rollup/plugin-node-resolve": "^16.0.1",
"cbor2": "^2.0.1",
"codemirror": "^6.0.1",
"markdown-it-anchor": "^9.2.0",
"markdown-it-attrs": "^4.3.1",
"petite-vue": "^0.4.1",
"rollup": "^4.40.1",
"wrangler": "^4.6.0",
Expand Down