parent
8b044ecf7d
commit
5a77e1a27b
src/admin
@ -1,94 +0,0 @@
|
||||
backend:
|
||||
name: gitea
|
||||
repo: suroh/alex.portfolio # Path to your Gitea repository
|
||||
app_id: 195e3617-71d0-4469-b936-b26c08528359 # The Client ID provided by Gitea
|
||||
api_root: https://git.suroh.tk/api/v1 # API URL of your Gitea instance
|
||||
base_url: https://git.suroh.tk # Root URL of your Gitea instance
|
||||
# auth_endpoint: https://git.suroh.tk/login/oauth/authorize
|
||||
# optional, defaults to master
|
||||
branch: main
|
||||
|
||||
media_folder: 'src/assets/uploads'
|
||||
public_folder: '/uploads'
|
||||
|
||||
collections:
|
||||
- name: "en.pages"
|
||||
label: "[en] Pages"
|
||||
files:
|
||||
- label: "Homepage"
|
||||
name: "index"
|
||||
file: "src/content/en/index.md"
|
||||
fields:
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Body", name: "body", widget: "markdown", required: false }
|
||||
- label: "About"
|
||||
name: "about"
|
||||
file: "src/content/en/about.md"
|
||||
fields:
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Body", name: "body", widget: "markdown", required: false }
|
||||
- name: 'en.art'
|
||||
label: '[en] Art'
|
||||
label_singluar: 'Art'
|
||||
folder: 'src/content/en/art'
|
||||
create: true
|
||||
slug: "{{slug}}"
|
||||
fields:
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Location', name: 'location', widget: 'string' }
|
||||
- { label: 'Year', name: 'year', widget: 'string' }
|
||||
- { label: 'Images', name: 'imageGallery', widget: 'image', allow_multiple: true }
|
||||
- { label: "Body", name: "body", widget: "markdown" }
|
||||
- name: 'en.pedagogy'
|
||||
label: '[en] Pedagogy'
|
||||
label_singluar: 'Pedagogy'
|
||||
folder: 'src/content/en/pedagogy'
|
||||
create: true
|
||||
slug: "{{slug}}"
|
||||
fields:
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Location', name: 'location', widget: 'string' }
|
||||
- { label: 'Year', name: 'year', widget: 'string' }
|
||||
- { label: 'Images', name: 'imageGallery', widget: 'image', allow_multiple: true }
|
||||
- { label: "Body", name: "body", widget: "markdown" }
|
||||
|
||||
- name: "fr.pages"
|
||||
label: "[fr] Pages"
|
||||
files:
|
||||
- label: "Homepage"
|
||||
name: "index"
|
||||
file: "src/content/fr/index.md"
|
||||
fields:
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Body", name: "body", widget: "markdown", required: false }
|
||||
- label: "About"
|
||||
name: "about"
|
||||
file: "src/content/fr/about.md"
|
||||
fields:
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Body", name: "body", widget: "markdown", required: false }
|
||||
- name: 'fr.art'
|
||||
label: '[fr] Art'
|
||||
label_singluar: 'Art'
|
||||
folder: 'src/content/fr/art'
|
||||
create: true
|
||||
slug: "{{slug}}"
|
||||
fields:
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Location', name: 'location', widget: 'string' }
|
||||
- { label: 'Year', name: 'year', widget: 'string' }
|
||||
- { label: 'Images', name: 'imageGallery', widget: 'image', allow_multiple: true }
|
||||
- { label: "Body", name: "body", widget: "markdown" }
|
||||
- name: 'fr.pedagogy'
|
||||
label: '[fr] Pedagogy'
|
||||
label_singluar: 'Pedagogy'
|
||||
folder: 'src/content/fr/pedagogy'
|
||||
create: true
|
||||
slug: "{{slug}}"
|
||||
fields:
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Location', name: 'location', widget: 'string' }
|
||||
- { label: 'Year', name: 'year', widget: 'string' }
|
||||
- { label: 'Images', name: 'imageGallery', widget: 'image', allow_multiple: true }
|
||||
- { label: "Body", name: "body", widget: "markdown" }
|
||||
|
@ -1,13 +0,0 @@
|
||||
<!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>
|
Loading…
x
Reference in New Issue
Block a user