Skip to content

Conversation

@mizunashi-mana
Copy link
Contributor

  • travisがmasterブランチのみで動くよう修正
  • tagsとdateをpost表示に追加
  • postの最後にpost navigationを追加

@mizunashi-mana
Copy link
Contributor Author

solve #49

@igrep
Copy link
Member

igrep commented Nov 27, 2017

Travis CIの設定を変え、pull requestのupdate時にはビルドしないよう設定しました。

@igrep
Copy link
Member

igrep commented Nov 27, 2017

Copy link
Member

@igrep igrep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌 とりあえずマージしちゃいましょうか!

return $ subHeadingHtml ++ postedByHtml ++ tagsHtml

isDraftPost :: MonadMetadata m => Identifier -> m Bool
isDraftPost ident = do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

おお、今後使うかどうかも分からないのにわざわざ考慮していただいて申し訳ない。 🙇

getPrevPostField :: (Identifier -> Compiler b) -> Item a -> Compiler b
getPrevPostField lookupField item = do
let ident = itemIdentifier item
lookupPostField (\itemIdents -> lookup ident $ zip itemIdents (tail itemIdents)) lookupField
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なかなか面白いとき方ですな!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants