ADD hugo
This commit is contained in:
parent
dd3fe96c06
commit
5472c85c23
13 changed files with 182 additions and 0 deletions
3
static/.domains
Normal file
3
static/.domains
Normal file
|
@ -0,0 +1,3 @@
|
|||
melissasarria.site
|
||||
www.melissasarria.site
|
||||
melicita.nutfactory.page
|
21
static/admin/config.yml
Normal file
21
static/admin/config.yml
Normal 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
13
static/admin/index.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue