Commit 0006f902 authored by rinpatch's avatar rinpatch

config.rb: fix symbol blog names breaking creating new posts

parent 1d8d08e9
Pipeline #23717 passed with stages
in 2 minutes and 53 seconds
......@@ -68,7 +68,7 @@ helpers do
def page_title
category =
if current_page.metadata[:page][:blog] or current_resource.blog_controller
config[:blog_titles][blog.options[:name]]
config[:blog_titles][blog.options[:name].to_sym]
else
"Pleroma"
end
......@@ -107,7 +107,7 @@ end
#
activate :blog do |blog|
blog.prefix = "blog"
blog.name = :blog
blog.name = "blog"
blog.summary_separator = /<!--more-->/
blog.paginate = true
blog.layout = "article"
......@@ -116,7 +116,7 @@ end
activate :blog do |blog|
blog.prefix = "announcements"
blog.name = :announcements
blog.name = "announcements"
blog.summary_separator = /<!--more-->/
blog.paginate = true
blog.layout = "article"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment