class Post

An object representing a post on the Jekyll website

Attributes

author[RW]
contents[RW]
file_path[RW]

Path to the markdown post starting at the root of the repository

github_ref[RW]

The GitHub ref the post's markdown is at. This is used to indicate whether a post is in PR or not

hero[RW]
images[RW]
overlay[RW]
tags[RW]
title[RW]

Public Class Methods

new() click to toggle source
# File lib/models/post.rb, line 27
def initialize
  @images = []
end