Add default favicon and logo

This commit is contained in:
riggraz
2019-09-23 17:06:32 +02:00
parent 95ffd32420
commit e70d3bbda6
8 changed files with 19 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ module App
ENV["EMAIL_CONFIRMATION"] == "1"
end
def show_logo?
ENV["SHOW_LOGO"] == "1"
end
def posts_per_page
ENV["POSTS_PER_PAGE"].to_i
end