Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


jipiboily edited this page · 14 revisions


Initializer sample

# config/initializers/monologue.rb

# Version 0.1.0+
Monologue.site_name            = "This is my blog"
Monologue.site_subtitle        = "I write about..."
Monologue.site_url             = ""
Monologue.disqus_shortname     = "example_disqus_username" # register on if you don't have one
Monologue.meta_description     = "This is the description that will be seen on Google by default for the main page"
Monologue.meta_keyword         = "those, are, meta, key, words, that, you, should, enter, comma, delimited, just, like, this"
Monologue.twitter_username     = "twitter_user_name"
Monologue.twitter_locale       = "en" # This is the locale for twitter. "en" for english or "fr" for french. There is much more!
Monologue.facebook_like_locale = "en_US" # same, but for facebook. French is "fr_CA"
Monologue.google_plusone_locale = "en" # same for Google +
Monologue.admin_force_ssl       = true # that can be set to false if you don't have SSL, but it is not recommended
Monologue.posts_per_page      = 5 # OPTIONAL: number of posts per page on main page. It defaults to 10 currently
Monologue.google_analytics_id  = "GA-CODE-HERE" # OPTIONAL: Your Google Analytics code should be here if you have one.

# Version 0.1.1+
Monologue.layout               = "layouts/monologue/application" # set the layout you want to use if you want to use your main_app layout

# Version 0.2.0+
Monologue.sidebar = ["latests_posts", "latests_tweets"]
Something went wrong with that request. Please try again.