This commit is contained in:
Hoernschen 2024-01-30 20:50:19 +01:00
parent dd3fe96c06
commit 5472c85c23
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
13 changed files with 182 additions and 0 deletions

3
static/.domains Normal file
View file

@ -0,0 +1,3 @@
melissasarria.site
www.melissasarria.site
melicita.nutfactory.page

21
static/admin/config.yml Normal file
View file

@ -0,0 +1,21 @@
backend:
name: gitea
repo: melicita/website # Path to your Gitea repository
app_id: ecd1dad7-b95c-4ba3-b625-a96ec1ddd9c5 # The Client ID provided by Gitea
api_root: https://code.nutfactory.org/api/v1 # API URL of your Gitea instance
base_url: https://code.nutfactory.org # Root URL of your Gitea instance
branch: main
media_folder: assets/images
public_folder: /images
collections:
- name: 'portfolio'
label: 'Portfolio'
folder: 'content/portfolio'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Body', name: 'body', widget: 'markdown' }

13
static/admin/index.html Normal file
View file

@ -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>