Skip to content

Основной сайт Рабочей Группы 21 C++

Notifications You must be signed in to change notification settings

cpp-ru/cpp-ru.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

effdc92 · May 8, 2025

History

50 Commits
May 8, 2025
May 25, 2022
May 23, 2022
May 12, 2022
May 24, 2022
Nov 15, 2023
Sep 4, 2024
May 25, 2022
Apr 28, 2022
Apr 28, 2022
May 4, 2022
May 12, 2022
Jun 30, 2023
May 12, 2022
May 12, 2022
May 25, 2022
Jun 30, 2023
May 22, 2022
May 17, 2022
May 12, 2022
May 16, 2022
May 18, 2022
May 22, 2022
May 23, 2022

Repository files navigation

Setup

Project is built for GitHub Pages using Jekyll framework.

Install and Run

To install:

  • Run rvm use (currently used Ruby version 2.7.2)
  • Run bundle install (to install packages)

To launch run:

  • bundle exec jekyll serve --livereload (to launch dev mode for local development)

Content

Content is generally managed through .json files.

Text and Block Contents

Textual content is stored in json files in _data directory. General content of the pages is stored in files with names starting with page*, e.g. page_index.json contains text for the Home page, etc.

Content of the specific blocks and sections of the site may be stored in corresponding files as well.

Most of content supports Markdown syntax.

SEO

SEO (title, description, keywords, og:title) managed via Front Matter variables at the top of each page. Default values are stored in _config.yml (og:title falls back to page title if not set explicitly on the page).

It is possible to specify name of the thumbnail OpenGraph images (which may be displayed when sharing a link on social media). These images should be stored in /assets/images directory and are referenced by Front Matter variables thumbnail (Facebook requirements, default), thumbnailVK (for VK, optional), thumbnailTw (for Twitter, optional).

Settings

Additional global settings may be stored in _config.yml, e.g. settings for enabling/disabling some functionality based on boolean flags.

Images

Images are stored in /assets/images directory. This includes images placed with <img> tag in HTML files as well as images referenced as background in SCSS partials.

SVG assets that should be injected in HTML with <use xlink:href=''> tag (for additional styling options) are stored in svg-defs.html partial.