Categories
Work & Productivity

Installing Hugo on Ubuntu

The following is the process I used to install Hugo on POP_OS! 19.04.

$ symbol in the steps below represent the linuxbrew or current directory within linuxbrew. In my case that’s located at…
joe@pop-os:/home/linuxbrew/$

Install Git

$ sudo apt install git

Install Homebrew for Linux

$ cd /home

$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

Hugo

$ cd linuxbrew/

$ sudo apt install linuxbrew-wrapper

$ brew install hugo

$ sudo apt install hugo

$ hugo version

$ hugo new site quickstart

$ cd quickstart/themes/

Choose and download a theme to the themes folder within quickstart. In my case i”m going to use the Ananke Gohugo Theme.

$ git clone https://github.com/budparr/gohugo-theme-ananke.git

$ cd ..

$ git init

Edit your config.toml file and add the folder name to the theme file.

baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "gohugo-theme-ananke"

Start Hugo

$ hugo server -D

If everything worked as expected your hugo site should be live at http://localhost:1313/

If you’re curious the test site I published to netlify is at https://epic-mayer-0e6e10.netlify.com/

8-bit icon of Joseph Dicksonlinuxbookpro.com

Joseph Dickson is a WordPress Developer in Los Angeles CA.

HomepagePermalink
Categories
Work & Productivity

Domino’s Pizza website accessibility lawsuit

This is an interesting accessibility issue all web designers and developers should be aware of before delivering a finished product.

Source: https://www.fastcompany.com/90385375/dominos-is-locked-in-a-legal-battle-over-the-future-of-web-design

In this case a blind / low vision customer relies on a screen reader to use the web and the website was not accessible to that assistive technology. In my opinion this is comparable to a staircase leading up to a business’s front door. If there isn’t a wheelchair ramp, lift or other way into the business that creates and situation where the business would be in violation of the American’s with Disabilities Act.

When businesses retrofit, expand or add on to an existing building they’re required to meet ADA guidelines. Similarly when a business redesigns or upgrades their website they should be required to test to meet a baseline of accessibility standards and make changes in good faith when problems are discovered.

8-bit icon of Joseph Dicksonlinuxbookpro.com

Joseph Dickson is a WordPress Developer in Los Angeles CA.

HomepagePermalink
Categories
Off Topic Work & Productivity

The WordPress Desktop App

A notification ping, a quick Ctrl+Tab swap to another website and back. Distractions are common when writing in a web browser. I find that focus can be maintained with the WordPress desktop app.

A new post becomes distraction free environment, a direct link between you and your website. The interface is identical to your post editor styles so you’ll be editing and writing within a familiar environment. Even down to the keyboard shortcuts (SHIFT+ALT+H). I find this is a welcome alternative to the standard dashboard.

The WordPress post editor Keyboard Shortcuts dialog.

The app is GPL2 licensed but comes with a caveat requiring self hosted websites use the Jetpack plugin. πŸ™

8-bit icon of Joseph Dicksonlinuxbookpro.com

Joseph Dickson is a WordPress Developer in Los Angeles CA.

HomepagePermalink