Skip to content

Commit

Permalink
Update SourcePost
Browse files Browse the repository at this point in the history
  • Loading branch information
opoo committed Aug 5, 2015
1 parent 6b30176 commit bf9b65b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/org/opoo/press/impl/SourcePost.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public SourcePost(Site site, Source source) {

Map<String, Object> frontMatter = getSource().getMeta();

id = (String) frontMatter.get("id");
Object id = frontMatter.get("id");
this.id = id != null ? id.toString() : null;

excerptable = isExcerptable(site);
initExcerpt(site, frontMatter);
Expand Down

0 comments on commit bf9b65b

Please sign in to comment.