Compare commits
3 Commits
mirror
...
8eafab3f03
| Author | SHA1 | Date | |
|---|---|---|---|
| 8eafab3f03 | |||
| b1202bc9af | |||
| d4baad799e |
@@ -0,0 +1,28 @@
|
||||
backend:
|
||||
name: gitea
|
||||
repo: ptpadmin/ptp
|
||||
branch: mirror
|
||||
api_root: https://git.ptp.saguaro-cactus.ru/api/v1
|
||||
server: https://git.ptp.saguaro-cactus.ru
|
||||
auth_type: pkce
|
||||
app_id: 6be1691d-ea91-448e-acfa-016f57c976d6
|
||||
|
||||
media_folder: static/images/uploads
|
||||
public_folder: /images/uploads
|
||||
locale: ru
|
||||
|
||||
collections:
|
||||
- name: post
|
||||
label: Посты / Поездки
|
||||
label_singular: Пост
|
||||
folder: content/post
|
||||
create: true
|
||||
format: toml-frontmatter
|
||||
extension: md
|
||||
fields:
|
||||
- { label: Заголовок, name: title, widget: string }
|
||||
- { label: Slug (URL), name: slug, widget: string }
|
||||
- { label: Дата, name: date, widget: datetime, format: 'YYYY-MM-DDTHH:mm:ss', default: '' }
|
||||
- { label: Описание (анонс), name: description, widget: string }
|
||||
- { label: Обложка (URL из S3), name: image, widget: string, required: false }
|
||||
- { label: Контент, name: body, widget: markdown }
|
||||
@@ -0,0 +1,11 @@
|
||||
<!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>PTP Admin</title>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@sveltia/cms/dist/sveltia-cms.js"></script>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user