Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created March 17, 2011 15:22
Show Gist options
  • Select an option

  • Save funkatron/874507 to your computer and use it in GitHub Desktop.

Select an option

Save funkatron/874507 to your computer and use it in GitHub Desktop.
EE template to export into a Jekyll-compatible format
{exp:weblog:entries weblog="default_site" limit="9999" rdf="off"}
---
layout: post
author: {author}
title: "{title}"
url_title: {url_title}
permalink: {url_title}.html
tags: "{Keywords}"
published: true
category:
{categories}- {category_name}
{/categories}
date: {entry_date format='%Y-%m-%d'}
summary: {summary}
old_entry_id: {entry_id}
---
{body}
{extended}
{if {comment_total} > 0}
{embed="exp/comments" the_entry_id="{entry_id}" the_url_title="{url_title}"}
{/if}
<!-- end of post -->
{/exp:weblog:entries}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment