comparison piecrust/importing/jekyll.py @ 355:28b021be74eb

import: Use the proper baker setting in the Jekyll importer.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 20 Apr 2015 22:34:15 -0700
parents 2823ea40cfac
children 727110ea112a
comparison
equal deleted inserted replaced
354:779c67decff6 355:28b021be74eb
72 post_url = post_url.replace('//', '/').strip('/') 72 post_url = post_url.replace('//', '/').strip('/')
73 config['site']['post_url'] = post_url 73 config['site']['post_url'] = post_url
74 if 'exclude' in config: 74 if 'exclude' in config:
75 if 'baker' not in config: 75 if 'baker' not in config:
76 config['baker'] = {} 76 config['baker'] = {}
77 config['baker']['skip_patterns'] = list(map( 77 config['baker']['ignore'] = list(map(
78 lambda i: '^/_%s/' % re.escape(i))) 78 lambda i: '^/_%s/' % re.escape(i)))
79 if 'jinja' not in config: 79 if 'jinja' not in config:
80 config['jinja'] = {} 80 config['jinja'] = {}
81 config['jinja']['auto_escape'] = False 81 config['jinja']['auto_escape'] = False
82 if 'markdown' in config: 82 if 'markdown' in config: