forked from sujaykundu777/devlopr-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4f0951
commit 5604f88
Showing
5 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,6 +102,9 @@ | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script> | ||
|
||
<!-- Netlify CMS --> | ||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> | ||
|
||
<!-- Github Button --> | ||
<script async defer src="https://buttons.github.io/buttons.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
backend: | ||
name: git-gateway | ||
branch: master | ||
|
||
media_folder: "assets/img/posts" # Media files will be stored in the repo under images/uploads | ||
# public_folder: "/assets/img/posts" # The src attribute for uploaded media will begin with /images/uploads | ||
|
||
collections: | ||
- name: "blog" # Used in routes, e.g., /admin/collections/blog | ||
label: "Blog" # Used in the UI | ||
folder: "_posts" # The path to the folder where the documents are stored | ||
create: true # Allow users to create new documents in this collection | ||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md | ||
fields: # The fields for each document, usually in front matter | ||
- {label: "Layout", name: "layout", widget: "hidden", default: "blog"} | ||
- {label: "Title", name: "title", widget: "string"} | ||
- {label: "Publish Date", name: "date", widget: "datetime"} | ||
- {label: "Featured Image", name: "thumbnail", widget: "image"} | ||
- {label: "Body", name: "body", widget: "markdown"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>devlopr - Admin</title> | ||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> | ||
</head> | ||
<body> | ||
<!-- Include the script that builds the page and powers Netlify CMS --> | ||
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script> | ||
</body> | ||
</html> |