155f40e5e4
* Add frontmatter to docs files (prep to move) * Move docs into position for website migration * Migrate website from netlify-cms-www Some modifications, including most of the changes in https://github.com/netlify/netlify-cms-www/pull/58 (previously reverted). Also updated the readme and added hugo-bin for quicker onboarding of new docs contributors. * Remove netlify.toml This allows separate build commands for cms-demo and netlifycms.org. * Remove website/netlify.toml May re-add later, but it's not doing anything for now. * Remove unused content file
41 lines
2.0 KiB
HTML
Executable File
41 lines
2.0 KiB
HTML
Executable File
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>{{ .Site.Title }}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" href="/img/favicon/favicon-32x32.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="/img/favicon/favicon-16x16.png" sizes="16x16">
|
|
<link rel="manifest" href="/img/favicon/manifest.json">
|
|
<link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg" color="#96cf05">
|
|
<meta name="apple-mobile-web-app-title" content="NetlifyCMS">
|
|
<meta name="application-name" content="NetlifyCMS">
|
|
<meta name="theme-color" content="#ffffff">
|
|
<link rel="stylesheet" href="/css/main.css"/>
|
|
{{ if or (eq .Section "docs") (eq .Title "Docs") }}
|
|
<link rel="stylesheet" href="/css/lib/prism.css"/>
|
|
{{ end }}
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
|
|
</head>
|
|
<body>
|
|
{{ range .Site.Data.notifications }}
|
|
{{ range . }}
|
|
{{ if .published }}
|
|
<a href="{{ .url }}" class="notification {{ if .loud }}notification-loud{{end}}">{{ .message }}</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
<header id="header" {{ if or (eq .Section "docs") (eq .Title "Docs") }}class="docs"{{ end }}>
|
|
<div class="contained">
|
|
<a href="/" class="logo"><img src="/img/netlify-cms-logo.svg"/></a>
|
|
<a class="nav-link docs-link" href="/docs">Docs</a>
|
|
<a class="nav-link contributing-link" href="/docs/contributor-guide">Contributing</a>
|
|
<a class="nav-link" href="/community">Community</a>
|
|
<a class="utility-input">
|
|
<img src="/img/search.svg" />
|
|
<input type="search" placeholder="Search the docs" class="algolia-search"/>
|
|
</a>
|
|
<a href="https://github.com/netlify/netlify-cms" class="btn-secondary small github-btn "><img src="/img/github.svg"/> Fork me on GitHub</a>
|
|
</div>
|
|
</header>
|