doctype html
html
  head
    title Github Issues Exporter
    link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"
    link rel="stylesheet" href="#{root_path}stylesheets/app.css"
  body
    == partial 'navbar', locals: { user: @github_user } if @github_user
    == yield

  script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"
  script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"

doctype html
html
  head
    title Github Issues Exporter
    link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"
    link rel="stylesheet" href="#{root_path}stylesheets/app.css"
  body
    == partial 'navbar', locals: { user: @github_user } if @github_user
    == yield

  script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"
  script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"

  - if ENV['RACK_ENV'] == 'production'
    javascript:
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', '#{ENV['GA_TRACKING_ID']}', 'auto');
      ga('send', 'pageview');

Add google analytics in production env
Add google analytics in production env

christopherstyles/github-issues-exporter,christopherstyles/github-issues-exporter,christopherstyles/github-issues-exporter,christopherstyles/github-issues-exporter