Skip to content
Merged
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
1 change: 0 additions & 1 deletion content/draft3/core/exclusiveMaximum.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ keyword: "exclusiveMaximum"
signature: "Boolean"
value: This keyword must be set to a boolean value
summary: "When [`maximum`](/draft3/core/maximum) is present and this keyword is set to true, the numeric instance must be less than the value in [`maximum`](/draft3/core/maximum)."
summary: "Validation succeeds if the numeric instance is less than the given number."
kind: [ "assertion" ]
instance: [ "number" ]
specification: "https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.12"
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<div class="d-flex bg-body flex-fill">
{{ partial "sidebar.html" . }}
<div class="flex-xl-grow-1 mw-100">
{{ partial "training.html" . }}
<main class="px-3 px-lg-5 pt-4 pb-3">
<header class="mb-3">
<h1>{{ .Title }}
Expand Down Expand Up @@ -232,7 +233,6 @@ <h2>Keywords</h2>
{{ end }}
</main>

{{ partial "book.html" . }}
{{ partial "help.html" . }}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<div class="d-flex bg-body flex-fill">
{{ partial "sidebar.html" . }}
<div class="flex-xl-grow-1 mw-100">
{{ partial "training.html" . }}
<main class="px-3 px-lg-5 pt-4 pb-3">
<article>
<header>
Expand Down Expand Up @@ -249,7 +250,6 @@ <h1 class="fw-bold">{{ .Params.keyword }}</h1>
</article>
</main>

{{ partial "book.html" . }}
{{ partial "help.html" . }}
</div>
</div>
Expand Down
23 changes: 0 additions & 23 deletions layouts/partials/book.html

This file was deleted.

27 changes: 27 additions & 0 deletions layouts/partials/training.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{{ $courseURL := "https://www.sourcemeta.com/courses/jsonschema-for-openapi" }}
{{ $oreilly := "https://www.oreilly.com/library/view/unifying-business-data/9781098144999/" }}

<section class="bg-light-subtle border-bottom py-3">
<div class="container-fluid px-3 px-lg-5">
<div class="d-flex flex-md-row align-items-center gap-3">
<div class="flex-shrink-0 d-none d-md-block">
<a href="{{ $courseURL }}" target="_blank" class="d-block position-relative" style="width: 140px;">
<img src="{{ .Site.BaseURL }}/course.webp" alt="JSON Schema for OpenAPI course" class="img-fluid rounded shadow-sm" style="width: 100%; object-fit: cover;">
<div class="position-absolute top-50 start-50 translate-middle">
<div class="bg-dark bg-opacity-90 rounded-circle d-flex align-items-center justify-content-center" style="width: 35px; height: 35px;">
<i class="bi bi-play-fill text-white" style="font-size: 1.1rem; margin-left: 2px;"></i>
</div>
</div>
</a>
</div>
<div class="flex-grow-1 text-center text-md-start">
<h3 class="h6 fw-bold mb-1">Looking to master JSON Schema for OpenAPI?</h3>
<p class="mb-2 text-muted small">A 9+ hour course taught by a member of the JSON Schema Technical Steering Committee</p>
<div class="d-flex align-items-center justify-content-center justify-content-md-start flex-wrap gap-3">
<a href="{{ $courseURL }}" target="_blank" class="btn btn-sm btn-dark">Take the Video Course <i class="bi bi-arrow-right ms-1"></i></a>
<span class="text-muted small">Also check out our <a href="{{ $oreilly }}" target="_blank">O'Reilly book</a></span>
</div>
</div>
</div>
</div>
</section>
Binary file added static/course.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/cover.webp
Binary file not shown.