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
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: OpenAPI Documentation
description: For API designers and writers wishing formalize their API in an OpenAPI Description document.
baseurl: /
logo: "/assets/images/OpenAPI_Logo_Pantone-1.png"
footer_content: "\xA9 2023 OpenAPI Initiative. <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\
image: "/assets/images/OpenAPI_Logo_Pantone-1.png"
footer_content: "\xA9 2025 OpenAPI Initiative. <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\
><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by/4.0/80x15.png\"\
\ /></a><br />This work is licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\
>Creative Commons Attribution 4.0 International License</a>. The documentation is\
Expand Down
8 changes: 8 additions & 0 deletions _includes/head_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
<style>.github-fork-ribbon:before { background-color: #1d781d; }</style>
<a class="github-fork-ribbon" href="https://github.com/OAI/Documentation" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>

{%- assign og_image = page.image | default: site.image -%}

<meta property="og:title" content="{{ page.title | default: site.title | escape }}" />
<meta property="og:description" content="{{ page.excerpt | strip_html | truncate: 160 | default: site.description }}" />
<meta property="og:image" content="{{ site.url }}{{ og_image }}" />
<meta property="og:url" content="{{ page.url | absolute_url }}" />
<meta property="og:type" content="website" />