mirror of
https://git.digitalstudium.com/digitalstudium/digitalstudium.com
synced 2023-12-29 08:06:35 +00:00
...
This commit is contained in:
@@ -3,9 +3,8 @@ backend:
|
||||
|
||||
local_backend: true
|
||||
|
||||
# These lines should *not* be indented
|
||||
media_folder: "static/images" # Media files will be stored in the repo under static/images/uploads
|
||||
public_folder: "/images" # The src attribute for uploaded media will begin with /images/uploads
|
||||
media_folder: "static/images" # Media files will be stored in the repo under static/images
|
||||
public_folder: "/images" # The src attribute for uploaded media will begin with /images
|
||||
|
||||
i18n:
|
||||
structure: multiple_folders
|
||||
@@ -23,7 +22,6 @@ collections:
|
||||
view_groups:
|
||||
- label: Year
|
||||
field: date
|
||||
# groups items based on the value matched by the pattern
|
||||
pattern: \d{4}
|
||||
- label: Category
|
||||
field: category
|
||||
@@ -35,7 +33,7 @@ collections:
|
||||
- label: "Category"
|
||||
name: "category"
|
||||
widget: "select"
|
||||
options: ["/", "linux-lifehacks", "nginx-lifehacks", "python-lifehacks", "ubuntu-lifehacks"]
|
||||
options: ["/", "linux-lifehacks", "nginx-lifehacks", "python-lifehacks", "ubuntu-lifehacks", "bash-lifehacks"]
|
||||
i18n: duplicate
|
||||
- label: Filename
|
||||
name: filename
|
||||
|
@@ -8,6 +8,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<!-- Include the script that builds the page and powers Decap CMS -->
|
||||
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
|
||||
<script src="netlify-cms.js"></script>
|
||||
</body>
|
||||
</html>
|
723
static/admin/netlify-cms.js
Normal file
723
static/admin/netlify-cms.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user