Skip to content

Commit

Permalink
Metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
NeeEoo committed Sep 29, 2024
1 parent bae0420 commit af1dbcc
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions api-generator/theme/templates/header.mtt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

<link href="/style.css" rel="stylesheet" />
<link href="/api-docs.css" rel="stylesheet" />
<!-- <link href="::api.config.rootPath::extra-styles.css" rel="stylesheet" /> -->
<!-- <link href="::api.config.rootPath::haxe-nav.css" rel="stylesheet" /> -->
<script>var dox = {
rootPath: "::api.config.rootPath::",
platforms: [
Expand All @@ -21,6 +19,23 @@
<link rel="icon" href="::api.config.rootPath::favicon.ico" type="image/x-icon"/>
<title>::api.currentPageName::::if api.config.pageTitle !=null:: - ::api.config.pageTitle::::end::</title>

<meta name="title" content="::api.currentPageName::::if api.config.pageTitle !=null:: - ::api.config.pageTitle::::end::" />
<meta name="description" content="Website dedicated to things for Codename Engine!" />

<meta property="og:type" content="website" />
<meta property="og:url" content="https://fnf-cne-devs.github.io/" />
<meta property="og:title" content="::api.currentPageName::::if api.config.pageTitle !=null:: - ::api.config.pageTitle::::end::" />
<meta property="og:description" content="Website dedicated to things for Codename Engine!" />
<meta property="og:image" content="https://fnf-cne-devs.github.io/img/banner.png" />

<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://fnf-cne-devs.github.io/" />
<meta property="twitter:title" content="::api.currentPageName::::if api.config.pageTitle !=null:: - ::api.config.pageTitle::::end::" />
<meta property="twitter:description" content="Website dedicated to things for Codename Engine!" />
<meta property="twitter:image" content="https://fnf-cne-devs.github.io/img/banner.png" />

<meta name="theme-color" content="#7f33b8">

::set description = api.getShortDesc(type)::
::set description = description.substr(3, description.length-7)::
<meta name="description" ::cond type.doc!=null && description.length>0:: content="::description::"/>
Expand Down

0 comments on commit af1dbcc

Please sign in to comment.