diff --git a/_layouts/home.html b/_layouts/home.html index 9154849..2dba164 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,103 +1,126 @@ - + - {% include head.html -%} - - {% include navbar.html -%} -
- -
-
-

The CentOS Project

-

Community-driven free software effort focused around the goal of providing a rich base platform for open source communities to build upon.

- -
-
-
- -
-
-

-

Contribute

-
-
-
- -
-
-

-

Forums

-
-
-
- -
-
-

-

Mailing Lists

-
-
-
- -
-
-

-

IRC

-
-
-
- -
-
-

-

Calendar & IRC Meeting List

-
-
-
- -
-
-

-

Blog

-
-
-
- -
-
-

-

Submit Bug

-
-
-
+ {% include base/head.html -%} + + + {% include base/navbar.html -%} + + {% if page.with_breakingnews and page.with_breakingnews.size > 0 -%} + {% assign height = 38 %} +
+ {% for news in page.with_breakingnews %} + {% assign height = height | plus: height %} + {% include base/breakingnews.html + title=news.title + content=news.content + color=news.color + url=news.url + -%} + {% endfor %} + +
+ {% endif %} + +
+ + {% if page.with_announcements and page.with_announcements.size > 0 -%} + {% for announcement in page.with_announcements %} + {% include base/announcements.html + title=announcement.title + content=announcement.content + color=announcement.color + -%} + {% endfor %} + {% endif -%} + + {% if page.with_breadcrumbs == true or page.with_locales.size > 0 %} +
+
+ {% if page.with_breadcrumbs == true %} + {% include base/breadcrumbs.html %} + {% endif %} +
+
+ {% if page.with_locales.size > 0 %} + {% include base/languages.html %} + {% endif %} +
+
+ {% endif %} + +
+
+
CentOS
+
{{ site.data.centos.project.title }}
+
{{ site.data.centos.project.description }}
+ +
+
+ +
+ {% assign community_items = site.data.centos.navbar | where: "name", "Community" %} + {% for community_item in community_items %} + {% for shortcut in community_item.menu %} + {{ shortcut.name }} + {% endfor %} + {% endfor %} +
+ + {% if page.with_content == true %} +
+
+
+ {{ content }}
-
-
-
-
-
-
-
+
+ {% endif %} - {{ content }} - {% include home/news-and-events.html %} - {% include home/planet.html %}
- {% include footer.html -%} + {% if page.with_footer == true %} + + {% endif %} - - - + {% include base/script.html -%} diff --git a/index.md b/index.md index 951561d..fe7d88b 100644 --- a/index.md +++ b/index.md @@ -2,17 +2,59 @@ # Feel free to add content and custom Front Matter to this file. # To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults -layout: home title: The CentOS Project title_lead: | Community-driven free software effort focused on delivering a robust open source ecosystem around a Linux platform. +layout: home +with_toc: false +with_breadcrumbs: false +with_title: false --- -