Attempt to add Decap CMS
This commit is contained in:
parent
3c606b9f57
commit
722734f98e
|
@ -0,0 +1 @@
|
|||
This is not a test, this is rock and roll
|
|
@ -0,0 +1,22 @@
|
|||
backend:
|
||||
name: gitea
|
||||
repo: nicholas/docsify # Path to your Gitea repository
|
||||
app_id: 33acc7a8-da11-4fce-acd5-970ff5c9bad3 # The Client ID provided by Gitea
|
||||
api_root: https://gitea.bigyellowfish.com/api/v1 # API URL of your Gitea instance
|
||||
base_url: https://gitea.bigyellowfish.com # Root URL of your Gitea instance
|
||||
auth_endpoint: https://gitea.bigyellowfish.com/login/oauth/authorize
|
||||
# optional, defaults to master
|
||||
# branch: main
|
||||
media_folder: "assets/images"
|
||||
site_url: https://docs.bigyellowfish.com
|
||||
|
||||
|
||||
collections:
|
||||
- label: "Pages"
|
||||
name: Pages
|
||||
files:
|
||||
- label: "Landing Page"
|
||||
name: readme
|
||||
file: "site/README.md"
|
||||
fields:
|
||||
- {label: Intro, name: intro, widget: markdown}
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="robots" content="noindex" />
|
||||
<title>Content Manager</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Include the script that builds the page and powers Decap CMS -->
|
||||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!-- index.html -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<meta charset="UTF-8" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="//cdn.jsdelivr.net/npm/docsify@4/themes/vue.css"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script>
|
||||
window.$docsify = {
|
||||
//...
|
||||
};
|
||||
</script>
|
||||
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue