Compare commits
3 Commits
mirror
..
8eafab3f03
| Author | SHA1 | Date | |
|---|---|---|---|
| 8eafab3f03 | |||
| b1202bc9af | |||
| d4baad799e |
@@ -1,5 +1,4 @@
|
|||||||
languageCode = "ru"
|
languageCode = "ru"
|
||||||
timeZone = "Europe/Moscow"
|
|
||||||
defaultContentLanguage = "ru"
|
defaultContentLanguage = "ru"
|
||||||
title = "Пока ты спал"
|
title = "Пока ты спал"
|
||||||
baseURL = "https://sleeptrip.ru/"
|
baseURL = "https://sleeptrip.ru/"
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
+++
|
|
||||||
title = "test444"
|
|
||||||
slug = "test-444"
|
|
||||||
date = "2026-04-28T23:58:00"
|
|
||||||
description = "test444"
|
|
||||||
image = "https://s3.regru.cloud/sleeptrip-dev/images/3910199-1735018691.png"
|
|
||||||
+++
|
|
||||||
|
|
||||||
test 444
|
|
||||||
|
|
||||||
444
|
|
||||||
|
|
||||||

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