Add magic comments for UTF-8
This commit is contained in:
parent
45a347c022
commit
68fb130fd0
|
@ -1,3 +1,5 @@
|
||||||
|
# encoding: UTF-8
|
||||||
|
|
||||||
module Jekyll
|
module Jekyll
|
||||||
class Document
|
class Document
|
||||||
include Comparable
|
include Comparable
|
||||||
|
@ -82,7 +84,7 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
# Determine whether the document has a YAML header.
|
# Determine whether the document has a YAML header.
|
||||||
#
|
#
|
||||||
# Returns true if the file starts with three dashes
|
# Returns true if the file starts with three dashes
|
||||||
def has_yaml_header?
|
def has_yaml_header?
|
||||||
@has_yaml_header unless @has_yaml_header.nil?
|
@has_yaml_header unless @has_yaml_header.nil?
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# encoding: UTF-8
|
||||||
|
|
||||||
module Jekyll
|
module Jekyll
|
||||||
class Renderer
|
class Renderer
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# encoding: UTF-8
|
||||||
|
|
||||||
module Jekyll
|
module Jekyll
|
||||||
class Site
|
class Site
|
||||||
attr_accessor :config, :layouts, :posts, :pages, :static_files,
|
attr_accessor :config, :layouts, :posts, :pages, :static_files,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# encoding: UTF-8
|
||||||
|
|
||||||
module Jekyll
|
module Jekyll
|
||||||
module Tags
|
module Tags
|
||||||
class IncludeTagError < StandardError
|
class IncludeTagError < StandardError
|
||||||
|
|
Loading…
Reference in New Issue