Skip to content

Commit

Permalink
Link and embed resources (#294)
Browse files Browse the repository at this point in the history
* Link and embed resources

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Remove external resource; probably deal with this in another ticket if needed

* Fix a typo

* Fix a typo

* Fix yamllint error

* Remove a line

* Fix yamllint error

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ibrahimjaved12 and pre-commit-ci[bot] authored May 17, 2024
1 parent 34fa172 commit 99d712d
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions ocw-www/ocw-studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,23 @@ collections:

- label: Description
name: description
widget: text
help: The plain text description of the list as seen by search engines

- label: Body
name: body
widget: markdown
minimal: false
allowed_html:
- sub
- sup
link:
- course_collections
- resource_collections
- resource
- page
embed:
- resource

- label: Courses
name: courses
Expand All @@ -103,9 +119,25 @@ collections:
widget: string
required: true

- label: "Description"
name: "description"
widget: "markdown"
- label: Description
name: description
widget: text
help: The plain text description of collection as seen by search engines

- label: Body
name: body
widget: markdown
minimal: false
allowed_html:
- sub
- sup
link:
- course_collections
- resource_collections
- resource
- page
embed:
- resource

- label: Cover Image
name: cover-image
Expand Down

0 comments on commit 99d712d

Please sign in to comment.