Skip to content

Instantly share code, notes, and snippets.

@heytxz
Last active April 21, 2018 15:37
Show Gist options
  • Save heytxz/da727782819d3c73181451f0b0f2a1d2 to your computer and use it in GitHub Desktop.
Save heytxz/da727782819d3c73181451f0b0f2a1d2 to your computer and use it in GitHub Desktop.
2nd staticman yml file
# Site settings
title: Popcorn - A Staticman sample page
email: your-email@domain.com
description: Test
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your site
twitter_username: jekyllrb
github_username: jekyll
movieFormUrl: https://staticman.net/api/v1/entries/5622d244c4bf944a1a3e3001
# Build settings
markdown: kramdown
# Staticman
staticman:
allowedFields: ['address', 'name', 'title', 'description', 'rating']
branch: gh-pages
commitMessage: "Hey human, here is a new entry."
filename: "entry{@timestamp}"
format: yml
moderation: true
path: "_data/reviews"
requiredFields: ['name', 'title', 'description', 'rating']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment