Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 904 Bytes

10-posts.md

File metadata and controls

35 lines (29 loc) · 904 Bytes
title permalink excerpt sidebar modified
Working with Posts
/docs/posts/
title nav
v3.0
docs
2016-04-13 15:54:02 -0400

{% include base_path %}

Posts are stored in the _posts directory and named according to the YEAR-MONTH-DAY-title.MARKUP format as per the usual.

Recommended Front Matter Defaults:

defaults:
  # _posts
  - scope:
      path: ""
      type: posts
    values:
      layout: single
      author_profile: true
      read_time: true
      comments: true
      share: true
      related: true

Adding the above to _config.yml will assign the single layout and enable: author profile, reading time, comments, social sharing links, and related posts, for all posts.

ProTip: Remember to write unique excerpt descriptions for each post for improved SEO and archive listings. {: .notice--info}