Skip to content
Browse files

fix #1625 -- ignore post meta in two-file posts

Signed-off-by: Chris Warrick <>
  • Loading branch information
Kwpolska committed Mar 6, 2015
1 parent a4ff446 commit 41356a1ee9ad7c516ea571808259cdb39655f410
Showing with 4 additions and 2 deletions.
  1. +4 −2 nikola/
@@ -933,12 +933,14 @@ def get_meta(post, file_metadata_regexp=None, unslugify_titles=False, lang=None)

meta.update(get_metadata_from_file(post.source_path, config, lang))

if getattr(post, 'compiler', None):
compiler_meta = post.compiler.read_metadata(post, file_metadata_regexp, unslugify_titles, lang)

if not post.is_two_file:
# Meta file has precedence over file, which can contain garbage.
meta.update(get_metadata_from_file(post.source_path, config, lang))

if lang is None:
# Only perform these checks for the default language

0 comments on commit 41356a1

Please sign in to comment.
You can’t perform that action at this time.