| |
@@ -28,18 +28,25 @@
|
| |
menu:
|
| |
- name: "Contribute"
|
| |
link: "https://wiki.centos.org/Contribute"
|
| |
+ icon: "fas fa-hands-helping"
|
| |
- name: "Forums"
|
| |
link: "https://www.centos.org/forums/"
|
| |
+ icon: "fas fa-comments"
|
| |
- name: "Mailing Lists"
|
| |
link: "https://wiki.centos.org/GettingHelp/ListInfo"
|
| |
+ icon: "fas fa-envelope"
|
| |
- name: "IRC"
|
| |
link: "https://wiki.centos.org/irc"
|
| |
+ icon: "fas fa-hashtag"
|
| |
- name: "Calendar & IRC Meeting List"
|
| |
link: "/community/calendar/"
|
| |
+ icon: "fas fa-calendar-alt"
|
| |
- name: "Planet"
|
| |
link: "http://planet.centos.org/"
|
| |
+ icon: "fas fa-newspaper"
|
| |
- name: "Submit Bug"
|
| |
link: "https://wiki.centos.org/ReportBugs"
|
| |
+ icon: "fas fa-bug"
|
| |
- name: "Documentation"
|
| |
icon: "fas fa-book"
|
| |
link: "#"
|
| |
The website design is based on Minima theme and all the customization is set on top of it. As consequence, design changes take place in the website repository itself, along the content. This proposal decouples the website design changes from content changes using a gem-based theme named jekyll-theme-centos.
Relevant structural changes:
Design changes in the website are controlled by changing the theme property in the
Gemfile
andGemfile.lock
files. So, it is possible to freeze a jekyll-theme-centos version in production while its development continues rolling. Each modification toGemfile.lock
requires to stop and start anyjekyll build --watch
process so the jekyll-theme-centos gem is downloaded and installed before building the site. This allows both upgrade and downgrade actions related to theme without affecting content.Add YAML files to manage key components like downloads, navigation bar links, identity and footer. These YAML files are organized in
_data/centos/
directory and provide a single source of information reused consistently in different places. This is based on https://jekyllrb.com/docs/datafiles/.Add blog-like style for news and events. Previously, entries in the news-and-events section were controlled by changing HTML files and information was eventually lost when new entries came in. Now, entries are cumulative and have a detailed page for their content. They are based on https://jekyllrb.com/docs/posts/.
Add a search page based on Instantsearch.js and jekyll-algolia plugin. This functionality is in place but not configured, yet. A ticket is open for it.
Remove design-related files already provided by jekyll-theme-centos gem-based theme.
Relevant visual changes:
Merge distributions download information in a single card that is built dynamically based in
_data/centos/distribution.yml
file. You can add and remove distributions from a list and the result will be reflected in the download card. This file also controls the distribution buttons in the home page.Add shadow to navbar bottom to reinforce a floating effect. Update background color to reinforce integration with darker color in the header background. Control links and menus using the
_data/centos/navbar.yml
file.Move main content area from right to left and table-of-content from left to right. This makes the main content to be vertically aligned on the left side with the page title on the heading section.
Add header background image to footer background to reinforce visual identity.
Tests:
Sources and contributions: