carlwgeorge / centos / centos.org

Forked from centos/centos.org 3 years ago
Clone
459948
92cce8
<html lang="{{ page.lang | default: 'en' }}">
459948
  {% include base/head.html -%}
459948
  <body id="top" class="bg-dots">
459948
459948
    {% include base/navbar.html -%}
459948
459948
    {% if page.with_breakingnews and page.with_breakingnews.size > 0 -%}
459948
    {% assign height = 38 %}
459948
    
459948
      {% for news in page.with_breakingnews %}
459948
      {% assign height = height | plus: height %}
459948
      {% include base/breakingnews.html
459948
          title=news.title
459948
          content=news.content
459948
          color=news.color
459948
          url=news.url
459948
      -%}
459948
      {% endfor %}
459948
      <style>
459948
        main {
459948
          .content > h1,
459948
          .content > h2,
459948
          .content > h3,
459948
          .content > h4,
459948
          .content > h5,
459948
          .content > h6 {
459948
            scroll-margin-top: {{ 80 | plus: height }}px;
459948
          }
459948
        }
459948
      </style>
459948
    
459948
    {% endif %}
459948
459948
    <main class="container bg-body py-3">
459948
459948
      {% if page.with_announcements and page.with_announcements.size > 0 -%}
459948
      {% for announcement in page.with_announcements %}
459948
      {% include base/announcements.html
459948
          title=announcement.title
459948
          content=announcement.content
459948
          color=announcement.color
459948
      -%}
459948
      {% endfor %}
459948
      {% endif -%}
459948
459948
      {% if page.with_breadcrumbs == true or page.with_locales.size > 0 %}
459948
      
459948
        
459948
        {% if page.with_breadcrumbs == true %}
459948
        {% include base/breadcrumbs.html %}
459948
        {% endif %}
459948
        
459948
        
459948
          {% if page.with_locales.size > 0 %}
459948
          {% include base/languages.html %}
459948
          {% endif %}
459948
        
459948
      
459948
      {% endif %}
459948
459948
      
459948
        
459948
          
CentOS
459948
          
{{ site.data.centos.project.title }}
459948
          
{{ site.data.centos.project.description }}
459948
          
459948
        
459948
      
459948
459948
      
459948
      {% assign community_items = site.data.centos.navbar | where: "name", "Community" %}
459948
      {% for community_item in community_items %}
459948
      {% for shortcut in community_item.menu %}
459948
       {{ shortcut.name }}
459948
      {% endfor %}
459948
      {% endfor %}
459948
      
459948
459948
      {% if page.with_content == true %}
459948
      
Shaun McCance ecefa1
        
459948
          
459948
          {{ content }}
16a25f
          
459948
        
16a25f
      
459948
      {% endif %}
16a25f
92cce8
    </main>
92cce8
459948
    {% if page.with_footer == true %}
459948
    <footer class="footer small bg-dark bg-image text-light">
459948
      {% if page.with_shortcuts != false %}
459948
      
459948
        {% include base/shortcuts.html %}
459948
      
459948
      {% endif %}
459948
459948
      {% if page.with_finale == true %}
459948
      
459948
      {% include base/finale.html %}
459948
      
459948
      {% endif %}
459948
459948
      {% if page.with_sponsors == true %}
459948
      
459948
        
459948
        {% include sponsors/carousel.html -%}
459948
        
459948
      
459948
      {% endif %}
459948
459948
      {% if page.with_copyright == true %}
459948
      
459948
        {% include base/copyright.html %}
459948
      
459948
      {% endif %}
459948
459948
    </footer>
459948
    {% endif %}
92cce8
459948
    {% include base/script.html -%}
92cce8
92cce8
  </body>
92cce8
</html>