title: Adding Meta data to a codeigniter view from a controller
body: <p>In my controller I have added this code.For different view files there are different functions.How can I add meta tags for different function for different views?
  This is my controller:</p>
  
  <pre><code>&lt;?php
  class home extends CI_Controller {
  
  
  
      function index()
      {
                  $data['meta_title'] = 'Tracenow | iOS Version';
                  $data['meta_description'] = 'Responsive HTML5 Theme in iOS Style';
                  $data['meta_keywords'] = 'responsive html5 theme, ios, android, material design, landing, application, mobile, blog, portfolio, bootstrap 3, css, jquery, flat, modern';
                  $data['meta_author'] = '8Guild';
                  $data['meta_viewport'] = 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no';
          $this-&gt;load-&gt;view('home_page/home_page');
  
  
      }
  
          function about()
      {
          $this-&gt;load-&gt;view('home_page/about');
  
      }
  
          function blog()
      {
          $this-&gt;load-&gt;view('home_page/blog');
  
      }
  
          function blog_single()
      {
          $this-&gt;load-&gt;view('home_page/blog-single');
  
      }
  
  
  }
  ?&gt;
  </code></pre>