All Projects → Linaro → website

Linaro / website

Licence: other
This repository stores the content used in our static Jekyll based website. If you need to make a change to the website please submit a PR to this repository with your changes.

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
SCSS
7915 projects
PHP
23972 projects - #3 most used programming language
hack
652 projects

Projects that are alternatives of or similar to website

Staticdeploy
Open-Source Platform for Deploying Static Apps
Stars: ✭ 226 (+769.23%)
Mutual labels:  static
avl array
High performance templated AVL tree using a fixed size array. Extensive test suite passing.
Stars: ✭ 33 (+26.92%)
Mutual labels:  static
website
The Algorithms website providing GitHub's largest open-source algorithm library.
Stars: ✭ 616 (+2269.23%)
Mutual labels:  static
Staticvec
Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
Stars: ✭ 236 (+807.69%)
Mutual labels:  static
gochk
Static Dependency Analysis Tool for Go Files
Stars: ✭ 68 (+161.54%)
Mutual labels:  static
ffmpeg-builds
MOVED: https://gitlab.com/q3aql/ffmpeg-builds
Stars: ✭ 71 (+173.08%)
Mutual labels:  static
Django Webpack Loader
Transparently use webpack with django
Stars: ✭ 2,327 (+8850%)
Mutual labels:  static
vittorioromeo.info
Latest iteration of my static webpage/blog generator
Stars: ✭ 50 (+92.31%)
Mutual labels:  static
vscode-flow-ide
Visual Studio Code extension for javascript Flowtype static type checker
Stars: ✭ 55 (+111.54%)
Mutual labels:  static
vulnscan
A static binary vulnerability scanner
Stars: ✭ 47 (+80.77%)
Mutual labels:  static
Gitdocs
Easy to use, SEO-friendly, beautiful documentation that lives in your git repo.
Stars: ✭ 252 (+869.23%)
Mutual labels:  static
htmlhost
hostHTML.live is downright the fastest way of hosting your single page HTML!
Stars: ✭ 21 (-19.23%)
Mutual labels:  static
nextjs-boilerplate
Jam3 NextJS Generator for SPA, SSG, SSR and JAMStack applications
Stars: ✭ 95 (+265.38%)
Mutual labels:  static
Go Html Boilerplate
Starter pack for doing web development in Go
Stars: ✭ 229 (+780.77%)
Mutual labels:  static
Chisai
Chīsai - A small website generator, editable and hosted on github, with automatic deployment!
Stars: ✭ 33 (+26.92%)
Mutual labels:  static
Netlify Cms
A Git-based CMS for Static Site Generators
Stars: ✭ 14,776 (+56730.77%)
Mutual labels:  static
django-freeze
🧊 convert your dynamic django site to a static one with one line of code.
Stars: ✭ 81 (+211.54%)
Mutual labels:  static
docs
Documentation site for LFE
Stars: ✭ 23 (-11.54%)
Mutual labels:  static
sandboni-core
Sandboni - Java test optimization library which reduces test execution time without compromising quality
Stars: ✭ 27 (+3.85%)
Mutual labels:  static
osm-static-maps
Openstreetmap static maps is a nodejs lib, CLI and server open source inspired on google static map service
Stars: ✭ 130 (+400%)
Mutual labels:  static

Linaro.org Static Jekyll Site

This is the git repository for Linaro's static Jekyll-based website https://www.linaro.org.

Hosted in this repo are the markdown content files associated with the website. Feel free to submit a PR / Issue if there is anything you would like to change.

This static Jekyll site is using the jumbo-jekyll-theme. Please take a moment to review the guides on the theme's GitHub wiki.


Contributing

To make it easier to contribute to the content, Linaro provides a couple of Docker containers for building and checking the site. All you need is Docker installed on your computer and enough RAM and disc space.

To build the site:

cd <git repository directory>
SKIP_JEKYLL_DOCTOR="true" ./build-site.sh

To build the site and then serve it so that you can check your contribution appears:

cd <git repository directory>
JEKYLL_ACTION="serve" SKIP_JEKYLL_DOCTOR="true" ./build-site.sh

To check that your contribution doesn't include any broken links:

cd <built web site directory>
../check-links.sh

The built web site directory will be production.linaro.org.

For more information, please see the build container wiki and the link checker wiki.


Guides

Generic guides for Linaro static websites based on the jumbo-jekyll-theme:

Linaro.org specific guides:

TODO


Adding events to the events page

Adding Other Events

Events listed on the events/ page are added through simply adding the event:true front matter value to your event page. The events will then be listed based on the date value in front matter of that specific page.

---
event: true

Adding Connect Events

Connect events are added through the _data/connects.yml data file. Simply copy and existing entry in this file and add the new Connect event. Make sure to update the date specified in the entry as this is what is used to make sure the events are listed in the correct order (most recent first).

- id: YVR18
  placeholder: yvr18.jpg
  long-name: Linaro Connect Vancouver 2018
  start-date: 2018-09-17 09:00:00
  end-date: 2018-09-21 09:00:00
  location:
    venue: Hyatt Regency Vancouver
    city: Vancouver
    country: Canada

URL Redirections

Redirection rules are defined in _data/routingrules.json. Please note that if the left hand side does not reference a file then it must end with (/?|/index.html)$ otherwise the URL will not match.

Multi-lingual support

The website now supports multiple languages, with English defined as the default.

Add an additional language

To add a new language, edit _config.yml and change languages: ["en", "ch"] to add the language code as required.

Add multi-lingual markdown

For each top-level folder, e.g. _pages, there should be a sub-directory with the matching language code, e.g. ch. Within that folder should be copies of the original English pages but translated to the appropriate language.

IMPORTANT! Pages must have lang: xx after the --- opening line, where xx is the matching language code. Without this line, the translated page may be displayed instead of the default English page.

Add multi-lingual HTML

Under _data there should be a sub-directory with the matching language code, e.g. ch. Within that folder should be - at a minimum - the file translations.yml. Each entry in that file should be translated to the appropriate language. This will then be used by HTML within the website.

If adding new HTML to the website, replace direct text with a handlebars tag like {{site.data.translations.services.form2_email}} where services.form2_email gets replaced with the appropriate tag combination from the translation file.

Netlify CMS Config

The createNetlifyCMSConfig.js Node.js script will generate the required NetlifyCMS YAML config file and output at admin/config.yml.

yarn install && node createNetlifyCMSConfig.js
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].