Skip to content

Commit a55785c

Browse files
committed
update site base
2 parents 260fb1b + 2c6eb69 commit a55785c

File tree

185 files changed

+333
-8208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+333
-8208
lines changed

config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ publishDir = "../website"
4646
name = "codemeta"
4747
github = "codemeta"
4848
custom_css = ["glyphicon.css"]
49+
#custom_css = ["cboettig.css"]
4950
repo = "codemeta.github.io"
5051
background = "img/pyramids.jpg"
5152

content/create.md

Lines changed: 6 additions & 0 deletions

content/tools.md

Lines changed: 1 addition & 1 deletion

static/schema.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,21 @@ const schema = {
55
"media": {"type": "application/json;profile=http://schema.org/SoftwareSourceCode"},
66
"type": "object",
77
"properties": {
8+
<<<<<<< HEAD
89
"@context": {"type": "string", "format": "uri", "default": "http://schema.org"},
910
"@type": {"type": "string", "default": "SoftwareSourceCode"},
11+
=======
12+
"@context": {"type": "string", "format": "uri"},
13+
"@type": {"type": "string"},
14+
>>>>>>> hugo
1015
"name": {"type": "string", "description": "Name of the software"},
1116
"codeRepository": {
1217
"type": "string",
1318
"format": "uri"
1419
},
1520
"programmingLanguage": {"type": "string"},
1621
"license": {"type": "string"},
22+
<<<<<<< HEAD
1723
"description": {"type": "string" },
1824
"creator": {
1925
"title": "Creator",
@@ -34,3 +40,21 @@ const schema = {
3440
}
3541
};
3642

43+
=======
44+
45+
"sameAs": {
46+
"type": "string",
47+
"format": "uri"
48+
},
49+
"url": {
50+
"type": "string",
51+
"format": "uri"
52+
},
53+
"description": {
54+
"title": "Description",
55+
"description": "A short description of the item.",
56+
"type": "string"
57+
}
58+
}
59+
};
60+
>>>>>>> hugo

static/thing.json

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
const schema = {
2+
"id": "Thing.json",
3+
"title": "Thing",
4+
"format": "http://schema.org/Thing",
5+
"media": {"type": "application/json;profile=http://schema.org/Thing"},
6+
"type": "object",
7+
"properties": {
8+
"additionalType": {
9+
"type": "array",
10+
"items": {
11+
"type": "string",
12+
"format": "uri",
13+
"links": [{
14+
"rel": "http://schema.org/additionalType",
15+
"href": "{+$}",
16+
"linkSource": 2
17+
}]
18+
}
19+
},
20+
"alternateName": {
21+
"type": "array",
22+
"items": {"$ref": "#/definitions/alternateName"}
23+
},
24+
"description": {
25+
"type": "array",
26+
"items": {"$ref": "#/definitions/description"}
27+
},
28+
"image": {
29+
"type": "array",
30+
"items": {
31+
"type": "string",
32+
"format": "uri",
33+
"links": [{
34+
"rel": "http://schema.org/image",
35+
"href": "{+$}",
36+
"linkSource": 2
37+
}]
38+
}
39+
},
40+
"name": {"$ref": "#/definitions/name"},
41+
"sameAs": {
42+
"type": "array",
43+
"items": {
44+
"type": "string",
45+
"format": "uri",
46+
"links": [{
47+
"rel": "http://schema.org/sameAs",
48+
"href": "{+$}",
49+
"linkSource": 2
50+
}]
51+
}
52+
},
53+
"url": {
54+
"type": "string",
55+
"format": "uri"
56+
}
57+
},
58+
"links": [{
59+
"rel": "self",
60+
"href": "{+url}"
61+
}],
62+
"definitions": {
63+
"array": {
64+
"type": "array",
65+
"items": {"$ref": "#"}
66+
},
67+
"possibleRef": {
68+
"oneOf": [
69+
{"$ref": "#"},
70+
{
71+
"type": "string",
72+
"format": "uri",
73+
"links": [{
74+
"rel": "full",
75+
"href": "{+$}"
76+
}]
77+
}
78+
]
79+
},
80+
"possibleRefArray": {
81+
"oneOf": [
82+
{
83+
"type": "string",
84+
"format": "uri",
85+
"links": [{
86+
"rel": "full",
87+
"href": "{+$}"
88+
}]
89+
},
90+
{
91+
"type": "array",
92+
"items": {"$ref": "#/definitions/possibleRef"}
93+
}
94+
]
95+
},
96+
"alternateName": {
97+
"title": "Alternate Name",
98+
"description": "An alias for the item.",
99+
"type": "string"
100+
},
101+
"description": {
102+
"title": "Description",
103+
"description": "A short description of the item.",
104+
"type": "string"
105+
},
106+
"name": {
107+
"title": "Name",
108+
"description": "The name of the item.",
109+
"type": "string"
110+
}
111+
}
112+
}

static/uiSchema.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,36 @@
11
const uiSchema= {
2+
<<<<<<< HEAD
23

34
"@type": {
45
"ui:widget": "hidden"
56
},
67
"@context": {
78
"ui:widget": "hidden"
89
}
10+
=======
11+
firstName: {
12+
"ui:autofocus": true,
13+
"ui:emptyValue": "",
14+
},
15+
age: {
16+
"ui:widget": "updown",
17+
"ui:title": "Age of person",
18+
"ui:description": "(earthian year)",
19+
},
20+
bio: {
21+
"ui:widget": "textarea",
22+
},
23+
password: {
24+
"ui:widget": "password",
25+
"ui:help": "Hint: Make it strong!",
26+
},
27+
date: {
28+
"ui:widget": "alt-datetime",
29+
},
30+
telephone: {
31+
"ui:options": {
32+
inputType: "tel",
33+
},
34+
},
35+
>>>>>>> hugo
936
};

themes/hugo-material/.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
.Rproj.user
3+
.Rhistory
4+
.RData
5+
.Ruserdata
6+
hugo-material-4.Rproj
7+
.sass-cache
8+

themes/hugo-material/Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
example:
3+
cp -r layouts/ exampleSite/themes/hugo-material/layouts/
4+
cp -r static/ exampleSite/themes/hugo-material/static/
5+
# hugo -s exampleSite
6+
# R -e "setwd('exampleSite'); blogdown::build_site()"
7+
8+
serve:
9+
R -e "setwd('exampleSite'); blogdown::serve_site()"
10+
# hugo-s exampleSite
11+
12+
13+
14+
clean:
15+
rm -rf exampleSite/themes/hugo-material/layouts/
16+
rm -rf exampleSite/themes/hugo-material/static/
17+

themes/hugo-material/README.md

Lines changed: 31 additions & 0 deletions

themes/hugo-material/layouts/partials/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<nav class="navbar navbar-transparent navbar-color-on-scroll fixed-top navbar-expand-lg" color-on-scroll="100" id="sectionsNav">
22
<div class="container">
33
<div class="navbar-translate">
4-
<a class="navbar-brand" href="https://demos.creative-tim.com/material-kit/index.html">
4+
<a class="navbar-brand" href=" {{ .Site.BaseURL | relURL }}">
55
{{.Site.Title }} </a>
66
<button class="navbar-toggler" type="button" data-toggle="collapse" aria-expanded="false" aria-label="Toggle navigation">
77
<span class="sr-only">Toggle navigation</span>

0 commit comments

Comments
 (0)