Skip to content

Commit 9a1b170

Browse files
authored
Merge pull request #379 from csarven/dokieli/html-template-new-document
Update dokieli's HTML template for new documents
2 parents e1d9d5d + e21f5d7 commit 9a1b170

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

src/dokieli/new.html

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,16 @@
44
<meta charset="utf-8" />
55
<title></title>
66
<meta content="width=device-width, initial-scale=1" name="viewport" />
7-
<link
8-
href="https://dokie.li/media/css/basic.css"
9-
media="all"
10-
rel="stylesheet"
11-
title="Basic"
12-
/>
13-
<link
14-
href="https://dokie.li/media/css/dokieli.css"
15-
media="all"
16-
rel="stylesheet"
17-
/>
7+
<link href="https://dokie.li/media/css/basic.css" media="all" rel="stylesheet" title="Basic" />
8+
<link href="https://dokie.li/media/css/dokieli.css" media="all" rel="stylesheet" />
189
<script src="https://dokie.li/scripts/dokieli.js"></script>
1910
</head>
2011

21-
<body
22-
about=""
23-
prefix="rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# rdfs: http://www.w3.org/2000/01/rdf-schema# owl: http://www.w3.org/2002/07/owl# xsd: http://www.w3.org/2001/XMLSchema# dcterms: http://purl.org/dc/terms/ dctypes: http://purl.org/dc/dcmitype/ foaf: http://xmlns.com/foaf/0.1/ pimspace: http://www.w3.org/ns/pim/space# cc: https://creativecommons.org/ns# skos: http://www.w3.org/2004/02/skos/core# prov: http://www.w3.org/ns/prov# mem: http://mementoweb.org/ns# qb: http://purl.org/linked-data/cube# schema: http://schema.org/ void: http://rdfs.org/ns/void# rsa: http://www.w3.org/ns/auth/rsa# cert: http://www.w3.org/ns/auth/cert# wgs: http://www.w3.org/2003/01/geo/wgs84_pos# bibo: http://purl.org/ontology/bibo/ sioc: http://rdfs.org/sioc/ns# doap: http://usefulinc.com/ns/doap# dbr: http://dbpedia.org/resource/ dbp: http://dbpedia.org/property/ sio: http://semanticscience.org/resource/ opmw: http://www.opmw.org/ontology/ deo: http://purl.org/spar/deo/ doco: http://purl.org/spar/doco/ cito: http://purl.org/spar/cito/ fabio: http://purl.org/spar/fabio/ oa: http://www.w3.org/ns/oa# as: https://www.w3.org/ns/activitystreams# ldp: http://www.w3.org/ns/ldp# solid: http://www.w3.org/ns/solid/terms# acl: http://www.w3.org/ns/auth/acl# dio: https://w3id.org/dio# rel: https://www.w3.org/ns/iana/link-relations/relation#"
24-
typeof="schema:CreativeWork sioc:Post prov:Entity"
25-
>
12+
<body about="" prefix="rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# rdfs: http://www.w3.org/2000/01/rdf-schema# owl: http://www.w3.org/2002/07/owl# xsd: http://www.w3.org/2001/XMLSchema# rdfa: http://www.w3.org/ns/rdfa# dcterms: http://purl.org/dc/terms/ dctypes: http://purl.org/dc/dcmitype/ foaf: http://xmlns.com/foaf/0.1/ pimspace: http://www.w3.org/ns/pim/space# skos: http://www.w3.org/2004/02/skos/core# prov: http://www.w3.org/ns/prov# mem: http://mementoweb.org/ns# qb: http://purl.org/linked-data/cube# schema: http://schema.org/ void: http://rdfs.org/ns/void# rsa: http://www.w3.org/ns/auth/rsa# cert: http://www.w3.org/ns/auth/cert# wgs: http://www.w3.org/2003/01/geo/wgs84_pos# bibo: http://purl.org/ontology/bibo/ sioc: http://rdfs.org/sioc/ns# doap: http://usefulinc.com/ns/doap# dbr: http://dbpedia.org/resource/ dbp: http://dbpedia.org/property/ sio: http://semanticscience.org/resource/ opmw: http://www.opmw.org/ontology/ deo: http://purl.org/spar/deo/ doco: http://purl.org/spar/doco/ cito: http://purl.org/spar/cito/ fabio: http://purl.org/spar/fabio/ oa: http://www.w3.org/ns/oa# as: https://www.w3.org/ns/activitystreams# ldp: http://www.w3.org/ns/ldp# solid: http://www.w3.org/ns/solid/terms# acl: http://www.w3.org/ns/auth/acl# earl: http://www.w3.org/ns/earl# spec: http://www.w3.org/ns/spec# odrl: http://www.w3.org/ns/odrl/2/ dio: https://w3id.org/dio# rel: https://www.w3.org/ns/iana/link-relations/relation#" typeof="schema:CreativeWork prov:Entity">
2613
<main>
27-
<article about="" typeof="schema:Article"></article>
14+
<article about="" typeof="schema:Article">
15+
16+
</article>
2817
</main>
2918
</body>
3019
</html>

src/dokieli/new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const DOKIELI_TEMPLATE = `
1+
module.exports = `
22
<!DOCTYPE html>
33
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
44
<head>

0 commit comments

Comments
 (0)