removing admin panel (#1873)

This commit is contained in:
trean
2025-09-01 15:05:28 +02:00
committed by GitHub
parent 1693bb02fe
commit d02bffe578
6 changed files with 0 additions and 89 deletions
-51
View File
@@ -1,51 +0,0 @@
backend:
name: git-gateway
branch: master # Branch to update (optional; defaults to master)
media_folder: qdrant-landing/static/blog/from_cms
public_folder: /blog/from_cms
collections:
- name: 'blog'
label: 'Blog'
folder: 'qdrant-landing/content/blog'
create: true
slug: '{{slug}}'
editor:
preview: true
fields:
- { label: 'Draft', name: 'draft', widget: 'boolean', default: true,
hint: 'If enabled, the post will be saved but not displayed on the site'}
- { label: 'Title of blog post', name: 'title', widget: 'string' }
- { label: 'Slug', name: 'slug', widget: 'string', required: true,
pattern: [ '^[a-z0-9]+(?:-[a-z0-9]+)*$','A slug can have no spaces or special characters' ],
hint: 'The post URL (do not include folder or file extension)' }
- { label: 'Short Description', name: 'short_description', widget: 'string'}
- { label: 'Description', name: 'description', widget: 'string',
hint: 'Shown in previews of featured posts and on social media' }
- { label: 'Preview Image', name: 'preview_image', widget: 'image',
hint: 'Image should be 1200x630. Ensure that main image content is placed in the middle to make pictures friendly to cropping' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Author', name: 'author', widget: 'string', hint: 'Name'}
- { label: 'Featured Post', name: 'featured', widget: 'boolean', default: false,
hint: 'If enabled, this post will be featured in the "Features and News" blog section. Only the last 4 featured posts will be displayed in this section. Featured posts will not appear in the regular post list.' }
- { label: 'Tags', name: 'tags', widget: 'list', allow_add: true,
hint: 'Use a comma without a space to separate tags (this widget will add spaces after commas itself). Currently, tags only used to show related posts and not appear in user interface. But it can change in the future.' }
- { label: 'Body', name: 'body', widget: 'markdown', modes: ['raw'] }
- name: 'top-banner'
label: 'Top Banner'
create: false
editor:
preview: false
files:
- name: 'top-banner'
label: 'Top Banner'
file: 'qdrant-landing/content/headless/top-banner.md'
fields:
- { label: 'Text', name: 'text', widget: 'string' }
- label: 'Link'
name: 'link'
widget: 'object'
fields:
- { label: 'Text', name: 'text', widget: 'string' }
- { label: 'URL', name: 'url', widget: 'string' }
- { label: 'Start Date', name: 'start', widget: 'datetime', picker_utc: true, hint: 'The banner will be displayed starting from this date, if not set, the banner will not be displayed' }
- { label: 'End Date', name: 'end', widget: 'datetime', picker_utc: true, hint: 'If not set, the banner will be displayed indefinitely' }
@@ -1,4 +0,0 @@
<h2>Confirm your signup</h2>
<p>Follow this link to confirm your user:</p>
<p><a href="http://{{ .SiteURL }}/admin/#confirmation_token={{ .Token }}">Confirm your mail</a></p>
@@ -1,7 +0,0 @@
<h2>Confirm Change of Email</h2>
<p>
Follow this link to confirm the update of your email from
{{ .Email }} to {{ .NewEmail }}:
</p>
<p><a href="http://{{ .SiteURL }}/admin/#email_change_token={{ .Token }}">Change Email</a></p>
@@ -1,7 +0,0 @@
<h2>You have been invited</h2>
<p>
You have been invited to create a user on {{ .SiteURL }}. Follow
this link to accept the invite:
</p>
<p><a href="http://{{ .SiteURL }}/admin/#invite_token={{ .Token }}">Accept the invite</a></p>
@@ -1,5 +0,0 @@
<h2>Reset Password</h2>
<p>Follow this link to reset the password for your user:</p>
<p><a href="http://{{ .SiteURL }}/admin/#recovery_token={{ .Token }}">Reset Password</a></p>
-15
View File
@@ -1,15 +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>
<!-- Include the script that enables Netlify Identity on this page. -->
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</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>