mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 19:32:10 -05:00
25 lines
1.9 KiB
Markdown
25 lines
1.9 KiB
Markdown
|
---
|
||
|
title: Bypass Censorship
|
||
|
date: 2019-06-16
|
||
|
description: "Showcase: Bypass Censorship find and promote tools that provide Internet access to everyone."
|
||
|
siteURL: https://www.bypasscensorship.org/
|
||
|
byline: "[Fredrik Jonsson](https://xdeb.net/), Web developer & Linux sysadmin"
|
||
|
|
||
|
---
|
||
|
|
||
|
The British Broadcasting Corporation (BBC) (UK), Deutsche Welle (DW) (Germany), France Médias Monde (FMM) (France), the U.S. Agency for Global Media (USAGM) (US) and the Open Technology Fund (OTF) (US) co-sponsor the Bypass Censorship website.
|
||
|
|
||
|
Websites of international news agencies are often blocked in many countries. In order to connect people to these sites, Bypass Censorship feature and recommend tools in the following languages: English, French, Spanish, Arabic, Farsi, Chinese, and Russian.
|
||
|
|
||
|
One of the tools is the Bypass Censorship Extension for Firefox and Chrome. The extension help direct people to mirrors of partners sites if they are being censored.
|
||
|
|
||
|
The first version of the site was built in Drupal 8 but it was relaunched as a static site built with Hugo in 2019.
|
||
|
|
||
|
Security, page load time and easy of hosting is the main reasons for switching to a static site. As the lead developer I had good experience with Hugo and was interested in exploring the multilingual features.
|
||
|
|
||
|
It's a simply site, basically one page in seven languages. I had no problems getting Hugo to output what I wanted. Found the multilingual support straight forward and easy to work with.
|
||
|
|
||
|
Thanks to the design by [Leyla Avsar](https://www.leylaavsar.com/) the site also looks good. I used the [Hugo Zen theme](https://github.com/frjo/hugo-theme-zen) with a few custom templates and the needed CSS.
|
||
|
|
||
|
The editors can maintain content via [Forestry.io CMS](https://forestry.io/) or directly via Git. Forestry does unfortunately not have multilingual support. All the language versions are in one pile making it harder to find the right file to edit, but it works.
|