Add magic comments for UTF-8

This commit is contained in:
Parker Moore 2014-08-10 16:16:48 -04:00
parent 45a347c022
commit 68fb130fd0
4 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# encoding: UTF-8
module Jekyll
class Document
include Comparable
@ -82,7 +84,7 @@ module Jekyll
end
# Determine whether the document has a YAML header.
#
#
# Returns true if the file starts with three dashes
def has_yaml_header?
@has_yaml_header unless @has_yaml_header.nil?

View File

@ -1,3 +1,5 @@
# encoding: UTF-8
module Jekyll
class Renderer

View File

@ -1,3 +1,5 @@
# encoding: UTF-8
module Jekyll
class Site
attr_accessor :config, :layouts, :posts, :pages, :static_files,

View File

@ -1,3 +1,5 @@
# encoding: UTF-8
module Jekyll
module Tags
class IncludeTagError < StandardError