1. Edit the _data/metadata.json with your site's information.
  2. (Optional) Edit .eleventy.js with your configuration preferences.
  3. Delete this message from _includes/layouts/base.njk.

This is an Eleventy project created from the eleventy-starter repo.

Convert Plist to JSON

As long as you have Xcode installed, you can simply do:

plutil -convert json Data.plist -o Data.json

Or go one step further and create a Service with Automator:

for f in "$@"
do
filename="${f%.*}"
plutil -convert json "$filename".plist -o "$filename".json
done
  1. Open Automator and create a new workflow with Service type.
  2. Choose Run Shell Script.
  3. Copy the above code snippet to the code field.
  4. Save the workflow. The name of the workflow is up to you, it will become the service name.

Now, just choose a .json file in Finder, pop up the context menu, choose Convert to json (or whatever name you just gave), and there should be a .plist file of the same name in the same directory.

Share on Twitter