mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +00:00
fix the post template
This commit is contained in:
parent
4ee0654120
commit
8583925978
1 changed files with 2 additions and 2 deletions
4
blog.rb
4
blog.rb
|
|
@ -127,11 +127,11 @@ class Blag
|
||||||
private
|
private
|
||||||
|
|
||||||
def post_template
|
def post_template
|
||||||
@article_template ||= File.read(File.join('templates', 'blog', 'post.mustache'))
|
@post_template ||= File.read(File.join('templates', 'blog', 'post.mustache'))
|
||||||
end
|
end
|
||||||
|
|
||||||
def link_template
|
def link_template
|
||||||
@article_template ||= File.read(File.join('templates', 'blog', 'link.mustache'))
|
@link_template ||= File.read(File.join('templates', 'blog', 'link.mustache'))
|
||||||
end
|
end
|
||||||
|
|
||||||
def blog_file
|
def blog_file
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue