Skip to content

Commit 715f23a

Browse files
authored
#14 merge with open-publishing theme
1 parent 509839c commit 715f23a

40 files changed

+3973
-29
lines changed

Diff for: blueprints/blog.yaml

+5-13
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
title: Blog Metadata
2-
'@extends':
3-
type: blog
4-
context: blueprints://pages
1+
extends@: default
2+
child_type: item
53

64
form:
75
fields:
@@ -115,12 +113,6 @@ form:
115113
validate:
116114
type: text
117115

118-
metadata:
119-
type: section
120-
title: TEMPLATE.BLOG.METADATA.TITLE
121-
underline: true
122-
123-
header.metadata:
124-
type: array
125-
label: TEMPLATE.BLOG.METADATA_ITEMS.LABEL
126-
required: true
116+
import@:
117+
type: partials/blog-bits
118+
context: blueprints://pages

Diff for: blueprints/default.yaml

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'@extends':
2-
type: default
3-
context: blueprints://pages
1+
extends@: default
42

53
form:
64
fields:
@@ -10,11 +8,6 @@ form:
108
options:
119
type: tab
1210
fields:
13-
gitsyncoptions:
14-
unset@: true
15-
header.hide_git_sync_repo_link:
16-
unset@: true
17-
1811
sidebar:
1912
type: section
2013
underline: true

Diff for: blueprints/embedlycard.yaml

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
title: Embedly Card Options
2+
'@extends':
3+
type: default
4+
context: blueprints://pages
5+
form:
6+
fields:
7+
tabs:
8+
type: tabs
9+
active: 1
10+
fields:
11+
content:
12+
fields:
13+
header.title:
14+
replace@: true
15+
type: text
16+
size: long
17+
label: Page Title
18+
19+
header.embedly_card_title:
20+
ordering@: 2
21+
type: text
22+
size: long
23+
label: Embedly Card Title
24+
25+
header.display_embedly_card_title:
26+
ordering@: 3
27+
type: toggle
28+
label: Display Embedly Card Title
29+
default: 0
30+
highlight: 1
31+
options:
32+
1: Yes
33+
0: No
34+
validate:
35+
type: bool
36+
37+
header.embedly_card_alignment:
38+
ordering@: 4
39+
type: select
40+
size: small
41+
label: Embedly Card Alignment
42+
default: left
43+
options:
44+
left: Left
45+
center: Center
46+
right: Right
47+
48+
header.embedly_card_url:
49+
ordering@: 5
50+
type: text
51+
size: long
52+
label: Embedly Card Web Page URL
53+
validate:
54+
type: URL
55+
56+
options:
57+
fields:
58+
publishing:
59+
fields:
60+
header.published:
61+
default: 1
62+
63+
advanced:
64+
fields:
65+
overrides:
66+
fields:
67+
header.visible:
68+
default: 1

Diff for: blueprints/h5p.yaml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
title: H5P Content Options
2+
'@extends':
3+
type: default
4+
context: blueprints://pages
5+
form:
6+
fields:
7+
tabs:
8+
type: tabs
9+
active: 1
10+
fields:
11+
content:
12+
fields:
13+
header.title:
14+
replace@: true
15+
type: text
16+
size: long
17+
label: Page Title
18+
19+
header.h5p_content_title:
20+
ordering@: 2
21+
type: text
22+
size: long
23+
label: H5P Content Title
24+
25+
header.display_h5p_content_title:
26+
ordering@: 3
27+
type: toggle
28+
label: Display H5P Content Title
29+
default: 0
30+
highlight: 1
31+
options:
32+
1: Yes
33+
0: No
34+
validate:
35+
type: bool
36+
37+
header.h5p_content_id:
38+
ordering@: 4
39+
type: integer
40+
size: short
41+
label: H5P Content ID (Node)
42+
description: 'For example, for the URL https://h5p.org/node/712 the ID would be 712.'
43+
44+
info:
45+
ordering@: 5
46+
type: display
47+
size: large
48+
label: 'How-to Tip'
49+
markdown: false
50+
content: "To display this item within another page, enter '[plugin:page-inject](/h5p/PAGE)' in your Markdown content area."
51+
52+
options:
53+
fields:
54+
publishing:
55+
fields:
56+
header.published:
57+
default: 1
58+
59+
advanced:
60+
fields:
61+
overrides:
62+
fields:
63+
header.visible:
64+
default: 1

Diff for: blueprints/item.yaml

+33-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ form:
1616
title: TEMPLATE.ITEM.BLOG.TITLE
1717
fields:
1818

19-
header_image:
19+
header_options:
2020
type: section
2121
title: TEMPLATE.ITEM.BLOG.HEADER_IMAGE_SECTION.TITLE
2222
underline: true
@@ -103,6 +103,38 @@ form:
103103
classes: large
104104
placeholder: ===
105105

106+
openpublishingspace1:
107+
type: section
108+
title: Title Icon
109+
underline: true
110+
111+
header.post_icon:
112+
type: text
113+
size: small
114+
label: Font Awesome Icon for Blog Item
115+
description: Short name, e.g. 'newspaper-o'.
116+
help: Optional Font Awesome icon to override the default blog item title icon
117+
default: null
118+
validate:
119+
type: text
120+
121+
openpublishingspace2:
122+
type: section
123+
title: Display in Blog List
124+
underline: true
125+
126+
header.hide_from_post_list:
127+
type: toggle
128+
label: Display this Item in Blog List
129+
help: Determines if this page (i.e. post) will appear in the blog index
130+
default: 0
131+
highlight: 0
132+
options:
133+
0: Yes
134+
1: No
135+
validate:
136+
type: bool
137+
106138
import@:
107139
type: partials/blog-bits
108140
context: blueprints://pages

Diff for: blueprints/modular/alert.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ form:
1111
fields:
1212
content:
1313
fields:
14+
header.title:
15+
replace@: true
16+
type: text
17+
size: long
18+
label: TEMPLATE.MODULAR.ALERT.CONTENT_TITLE.LABEL
19+
1420
header.alert_color:
1521
ordering@: 1
1622
type: select

Diff for: blueprints/partials/blog-bits.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,20 @@ form:
4949
placeholder: '/blog'
5050
size: medium
5151

52+
header.show_sidebar:
53+
type: toggle
54+
toggleable: true
55+
label: Show Sidebar
56+
highlight: 1
57+
default: 1
58+
options:
59+
1: PLUGIN_ADMIN.ENABLED
60+
0: PLUGIN_ADMIN.DISABLED
61+
validate:
62+
type: bool
63+
5264
header.show_breadcrumbs:
65+
toggleable: true
5366
type: toggle
5467
label: TEMPLATE.PARTIALS.BLOG.SHOW_BREADCRUMBS.LABEL
5568
highlight: 1
@@ -62,6 +75,7 @@ form:
6275

6376
header.show_pagination:
6477
type: toggle
78+
toggleable: true
6579
label: TEMPLATE.PARTIALS.BLOG.SHOW_PAGINATION.LABEL
6680
highlight: 1
6781
default: 1

Diff for: css/font-awesome.min.css

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)