mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2026-02-21 19:12:05 +00:00
Set basic middleman settings for the blog
This commit is contained in:
parent
775e563555
commit
5cd75a4f5b
24
config.rb
24
config.rb
@ -22,7 +22,7 @@ end
|
||||
# Blog settings
|
||||
###
|
||||
|
||||
# Time.zone = "UTC"
|
||||
Time.zone = "UTC"
|
||||
|
||||
activate :blog do |blog|
|
||||
# This will add a prefix to all links, template references and source paths
|
||||
@ -30,23 +30,23 @@ activate :blog do |blog|
|
||||
|
||||
# blog.permalink = "{year}/{month}/{day}/{title}.html"
|
||||
# Matcher for blog source files
|
||||
blog.sources = "articles/{year}-{month}-{day}-{title}.html"
|
||||
blog.taglink = "tag/{tag}.html"
|
||||
# blog.layout = "layout"
|
||||
# blog.summary_separator = /(READMORE)/
|
||||
# blog.summary_length = 250
|
||||
# blog.year_link = "{year}.html"
|
||||
# blog.month_link = "{year}/{month}.html"
|
||||
# blog.day_link = "{year}/{month}/{day}.html"
|
||||
# blog.default_extension = ".markdown"
|
||||
blog.sources = 'articles/{year}-{month}-{day}-{title}.html'
|
||||
blog.taglink = 'tag/{tag}.html'
|
||||
blog.layout = "layout"
|
||||
blog.summary_separator = /(READMORE)/
|
||||
blog.summary_length = 250
|
||||
blog.year_link = "{year}.html"
|
||||
blog.month_link = "{year}/{month}.html"
|
||||
blog.day_link = "{year}/{month}/{day}.html"
|
||||
blog.default_extension = ".md.erb"
|
||||
|
||||
blog.tag_template = "tag.html"
|
||||
# blog.calendar_template = "calendar.html"
|
||||
|
||||
# Enable pagination
|
||||
blog.paginate = true
|
||||
# blog.per_page = 10
|
||||
# blog.page_link = "page/{num}"
|
||||
blog.per_page = 10
|
||||
blog.page_link = "page/{num}"
|
||||
end
|
||||
|
||||
set :casper, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user