Skip to content
jipiboily edited this page Nov 10, 2012 · 15 revisions

Configuration

Initializer sample

In config/initializers/monologue.rb:

Version 0.2.0+

Monologue.sidebar              = ["latest_posts", "latest_tweets"]   # this will add the latests posts and latests tweets in the right sidebar.
Monologue.show_rss_icon        = true # will show the RSS icon (with link) in the header)
Monologue.facebook_url         = "https://www.facebook.com/jipiboilycom" # if set, this will enable Facebook icon and link it to your Facebook page.
Monologue.google_plus_account_url = "https://plus.google.com/115273180419164295760/posts" # if set, this will enable Google+ icon and link it to that URL.
Monologue.linkedin_url         = "http://www.linkedin.com/in/jipiboily" # if set, will enable Linked In icon and link to this URL.
Monologue.github_username      = "http://github.com/jipiboily"  # if set, will enable Github icon and link to this URL.
Monologue.gauge_analytics_site_id = "your-gaug.es-id-here" # add your [Gaug.es](http://get.gaug.es/) id here to enable it.
Monologue.facebook_logo           = 'logo.png'  # used in the open graph protocol to display an image when a post is liked

Also, starting from 0.2, you might need to configure some cache stuff here.

See wiki here.

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.1.0+

Monologue.site_name            = "This is my blog"
Monologue.site_subtitle        = "I write about..."
Monologue.site_url             = "http://example.com"
Monologue.disqus_shortname     = "example_disqus_username" # register on disqus.com 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.
Clone this wiki locally