Added netlify

parent 0aec1847
Pipeline #2981 passed with stages
in 30 seconds
......@@ -2,6 +2,7 @@ image: ruby:2.3
- curl -L -o admin/netlify-cms.js^2.0.0/dist/netlify-cms.js
- bundle install --path vendor/bundle
- bundle exec jekyll build -d public --config "_config.yml,"
name: gitlab
repo: eliotberriot/ # Path to your GitLab repository
auth_type: implicit # Required for implicit grant
app_id: 6c03940a6dc5a51e37006943c1eae9e1ccb90ee45944a44b25b7683230c884c6 # Application ID from your GitLab settings
auth_endpoint: oauth/authorize
media_folder: assets/posts
- name: "blog" # Used in routes, e.g., /admin/collections/blog
label: "Blog post" # 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}}/{{year}}-{{month}}/{{day}}-{{slug}}" # Filename template, e.g.,
fields: # The fields for each document, usually in front matter
- {label: "Layout", name: "layout", widget: "hidden", default: "post"}
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Body", name: "body", widget: "markdown"}
<!doctype html>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="netlify-cms.js"></script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment