jcpunk / centos / centos.org

Forked from centos/centos.org 17 days ago
Clone

d66007 Update visual presentation

Authored and Committed by areguera 3 years ago
71 files changed. 503 lines added. 3166 lines removed.
404.html
file removed
-11
404.md
file added
+10
Gemfile
file modified
+12 -6
Gemfile.lock
file modified
+59 -30
_config.yml
file modified
+119 -24
_data/centos/distributions.yml
file added
+140
_data/centos/footer.yml
file added
+27
_data/centos/identity.yml
file added
+11
_data/centos/navbar.yml
file added
+63
_includes/breadcrumbs.html
file removed
-11
_includes/centos-around.html
file removed
-13
_includes/centos-download-cards.html
file removed
-10
_includes/centos-linux-download.html
file removed
-140
_includes/centos-news.html
file removed
-25
_includes/centos-sponsorship.html
file removed
-10
_includes/centos-stream-download.html
file removed
-129
_includes/footer.html
file removed
-43
_includes/head.html
file removed
-11
_includes/header-home.html
file removed
-13
_includes/header-page.html
file removed
-10
_includes/header.html
file removed
-29
_includes/toc.html
file removed
-96
_layouts/default.html
file removed
-14
_layouts/home.html
file removed
-28
_layouts/page-download-mirror.html
file removed
-34
_layouts/page-download.html
file removed
-27
_layouts/page-single.html
file removed
-12
_layouts/page-sponsors.html
file removed
-19
_layouts/page.html
file removed
-18
about.md
file modified
+1 -3
about/governance.md
file modified
+1 -3
about/governance/appendix-glossary.md
file modified
+1 -3
about/governance/board-responsibilities.md
file modified
+1 -3
about/governance/board.md
file modified
+2 -5
about/governance/director-requirements.md
file modified
+1 -3
about/governance/joining-the-project.md
file modified
+1 -3
about/governance/sigs.md
file modified
+1 -3
about/governance/voting.md
file modified
+1 -3
assets/bootstrap/css/bootstrap.min.css
file removed
-6
assets/bootstrap/js/bootstrap.min.js
file removed
-7
assets/css/styles.css
file removed
-46
assets/css/styles.min.css
file removed
-1
assets/fonts/fontawesome5-overrides.min.css
file removed
-1
assets/fonts/ionicons.eot
file removed
-0
assets/fonts/ionicons.min.css
file removed
-11
assets/fonts/ionicons.svg
file removed
-2230
assets/fonts/ionicons.ttf
file removed
-0
assets/fonts/ionicons.woff
file removed
-0
assets/img/centos-motif.png
file removed
-0
assets/img/favicon.png
file removed
-0
assets/js/bootstrap.min.js
file removed
-7
assets/js/script.min.js
file removed
-1
centos-linux-eol.md
file modified
+1 -3
centos-linux.md
file modified
+4 -4
centos-stream.md
file modified
+4 -5
cl-vs-cs.md
file modified
+1 -3
code-of-conduct.md
file modified
+1 -3
community/calendar.md
file modified
+1 -3
community/stories.md
file modified
+1 -3
distro-faq.md
file modified
+1 -3
download.md
file modified
+22 -3
download/aws-images.md
file modified
+4 -8
download/mirrors-altarch.md
file modified
+2 -3
download/mirrors.md
file modified
+2 -3
keys.md
file modified
+1 -3
legal.md
file modified
+1 -3
legal/licensing-policy.md
file modified
+1 -3
legal/privacy.md
file modified
+1 -3
legal/trademarks.md
file modified
+2 -3
sponsors.md
file modified
+1 -2
variants.md
file modified
+1 -3
    Update visual presentation
    
    This update introduces structural changes to the way we manage content
    in the website. I tried to reduce the number of changes introduced here
    as much as possible, however, and despite of that, there are still lots
    of structural changes that we need to apply in order to implement the
    gem-based model and the layouts it provides correctly. This commit
    describes such changes.
    
    - Previously, for changing the website visual presentation we change
      files in the website itself, based on minima the default theme gem
      jekyll uses. Now, changes to website visual presentation take place in
      jekyll-theme-centos gem.  Please check:
    
      * https://jekyllrb.com/docs/themes/
      * https://rubygems.org/gems/jekyll-theme-centos
      * https://gitlab.com/areguera/jekyll-theme-centos
    
      To protect the website against undesired visual presentation changes
      in jekyll-theme-centos gem, we set specific versions of
      jekyll-theme-centos gem we want to use in the Gemfile and Gemfile.lock
      files.  This way we can decouple presentation in different
      environments (e.g., development, staging and production). To update
      gems to a new version is necessary to run "bundle update" command.
      Please check:
    
      * https://jekyllrb.com/docs/step-by-step/10-deployment/
    
      The _layouts and _includes in the website directory structure were
      removed to reuse them from jekyll-theme-centos gem theme instead.  The
      information previously stored in the website _layouts and _includes
      directories was migrated to Data Files (see bellow).
    
      The assets/css directory in the website was also removed to promote
      usage of that one provided by jekyll-theme-centos.
    
      jekyll-theme-centos doens't maintain information related to CentOS
      sponsors, so images related to CentOS sponsors was preserved under
      assets/img/sponsors/ directory.
    
      File paths in the webiste directory structure replace paths in
      jekyll-theme-centos gem theme directory structure.
    
    - Previously, for maintaining entries in sections like news-and-events
      it was required to edit some specific layout files and write HTML code
      in them. This edition model was replaced by the "post" feature jekyll
      provides. So, instead of changing HTML code to maintain new entries in
      news-and-events section, you create new post files in markdown format
      under the special _posts/ directory. Please check:
    
      * https://jekyllrb.com/docs/posts/
    
      The entries related to posts in the news-and-events category are
      retained and can be subject of searching.
    
    - Previously, for maintaining the download matrix related to
      centos-linux and centos-stream distributions it was necessary to edit
      files under _layouts and _includes then write HTML code to reflect the
      change. This model was replaced by the "Data Files" feature jekyll
      provides. Now you write one YAML file and that information is taken to
      render the download matrix related to centos-linux and centos-stream
      distributions during the website building process. We also use YAML
      files to render other elements like navbar menu and footer sections.
      Please check:
    
      * https://jekyllrb.com/docs/datafiles/
      * _data/centos/distributions.yml (controls distributions data)
      * _data/centos/footer.yml (controls website footer data)
      * _data/centos/navbar.yml (controls website header navbar menu data)
    
      The intention of this change is to simplify the edition process for
      those elements and provide a more consistent experience for editors.
    
        
file removed
-11
file added
+10
file modified
+12 -6
file modified
+59 -30
file modified
+119 -24
file removed
-43
file removed
-11
file removed
-29
file removed
-96
file removed
-14
file removed
-28
file removed
-18
file modified
+1 -3
file modified
+1 -3
file modified
+2 -5
file modified
+1 -3
file modified
+1 -3
file removed
-46
file removed
-2230
file removed
-0
file modified
+1 -3
file modified
+4 -4
file modified
+4 -5
file modified
+1 -3
file modified
+1 -3
file modified
+1 -3
file modified
+1 -3
file modified
+1 -3
file modified
+22 -3
file modified
+4 -8
file modified
+2 -3
file modified
+2 -3
file modified
+1 -3
file modified
+1 -3
file modified
+1 -3
file modified
+1 -3
file modified
+2 -3
file modified
+1 -2
file modified
+1 -3