title: Add CSS or JavaScript files to layout head from views or partial views
body: <p>Layout pages head:</p>
  
  <pre><code>&lt;head&gt;
      &lt;link href="@Url.Content("~/Content/themes/base/Site.css")"
            rel="stylesheet" type="text/css" /&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>A View (AnotherView) from the application needs:</p>
  
  <pre><code>&lt;link href="@Url.Content("~/Content/themes/base/AnotherPage.css")"
        rel="stylesheet" type="text/css" /&gt;
  </code></pre>
  
  <p>and AnotherView has a partial view (AnotherPartial) which needs:</p>
  
  <pre><code>&lt;link href="@Url.Content("~/Content/themes/base/AnotherPartial.css")"
        rel="stylesheet" type="text/css" /&gt;
  </code></pre>
  
  <p>Question: How can we <strong>add</strong> these CSS files links <strong>AnotherView and AnotherPartial links to Layout head</strong>?</p>
  
  <p>RenderSection is not a good idea because AnotherPage can have more than one Partials. Add all CSS to head is not useful because it will change dynamicaly (it depends on Anotherpages).</p>