added admin iface
Ορισμένοι έλεγχοι ανέφεραν σφάλματα
Hellug Projects/Hellug/www/pipeline/head Something is wrong with the build of this commit
Ορισμένοι έλεγχοι ανέφεραν σφάλματα
Hellug Projects/Hellug/www/pipeline/head Something is wrong with the build of this commit
Αυτό το commit περιλαμβάνεται σε:
γονέας
37cbd0db0e
commit
a868f7684b
3 αρχεία άλλαξαν με 534 προσθήκες και 0 διαγραφές
29
static/admin/config.yml
Κανονικό αρχείο
29
static/admin/config.yml
Κανονικό αρχείο
|
@ -0,0 +1,29 @@
|
||||||
|
backend:
|
||||||
|
name: gitea
|
||||||
|
repo: hellug/www
|
||||||
|
branch: staging
|
||||||
|
app_id: 2b488bae-c06e-4221-bb40-fd6fe0944663 # The Client ID provided by Gitea
|
||||||
|
api_root: https://dev.hellug.gr/api/v1 # API URL of your Gitea instance
|
||||||
|
base_url: https://dev.hellug.gr # Root URL of your Gitea instance
|
||||||
|
|
||||||
|
# This line should *not* be indented
|
||||||
|
media_folder: "static/media" # Media files will be stored in the repo under images/uploads
|
||||||
|
public_folder: "/media" # The src attribute for uploaded media will begin with /images/uploads
|
||||||
|
|
||||||
|
collections:
|
||||||
|
- name: "posts" # Used in routes, e.g., /admin/collections/blog
|
||||||
|
label: "Δημοσιεύσεις" # Used in the UI
|
||||||
|
folder: "content/posts" # The path to the folder where the documents are stored
|
||||||
|
create: true # Allow users to create new documents in this collection
|
||||||
|
editor:
|
||||||
|
preview: false
|
||||||
|
slug: "{{slug}}-{{year}}-{{month}}-{{day}}" # Filename template, e.g., YYYY-MM-DD-title.md
|
||||||
|
fields: # The fields for each document, usually in front matter
|
||||||
|
- {label: "Title", name: "title", widget: "string"}
|
||||||
|
- {label: "Layout", name: "layout", widget: "hidden", default: "news"}
|
||||||
|
- {label: "Banner template", name: "bannertemplate", widget: "hidden", default: "hellug-banner.html"}
|
||||||
|
- {label: "Ημερομηνία Δημοσίευσης", name: "date", widget: "datetime"}
|
||||||
|
- {label: "Περίληψη", name: "summary", widget: "string"}
|
||||||
|
- {label: "Ετικέτα κατηγορίας", name: "summary", widget: "string"}
|
||||||
|
- {label: "Ετικέτες", name: "tags", widget: "string"}
|
||||||
|
- {label: "Body", name: "body", widget: "markdown"}
|
492
static/admin/decap-cms.js
Κανονικό αρχείο
492
static/admin/decap-cms.js
Κανονικό αρχείο
Το diff αρχείων καταστέλλεται επειδή μία ή περισσότερες γραμμές είναι πολύ μεγάλες
13
static/admin/index.html
Κανονικό αρχείο
13
static/admin/index.html
Κανονικό αρχείο
|
@ -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="decap-cms.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα