This repo will be archived as I am moving all my sites to Publish and am tired of all the npm security fixes. I leave it here as an example of adding JSON-LD metadata and some template with accessibity considered (circa 2017)
still under development Blog describing the first phase at vation.ca
- Accessibility concerned
- Bootstrap 4 is responsive using latest flexbox CSS
- DuckDuckGo site search for privacy
- No Google analytics, fonts for privacy
- FontAwesome for icons
You need NodeJS installed.
Simply follow the commands listed below given you have the appropriate files (config.yml|toml etc) at the project root.
hugo new site `website`
cd `website`/themes
git clone https://github.com/vation-ca/hugo-theme-bootstrapfour.git bootstrapfour && cd bootstrapfour
npm install
npm run build
Go back to website top level
cd ../..
A config.yaml file that was used to develop this theme
BaseUrl: "https://vation.ca/"
ContentDir: "content"
LayoutDir: "layouts"
PublishDir: "public"
BuildDrafts: true
languageCode: "en-us"
Title: "Vation.ca"
PluralizeListTitles: False
googleAnalytics: ""
menu:
Params:
Author: "Vation Team"
Banner: "Providing information on work being done by the Vation team!"
DateForm: "2006-01-02"
disqusShortname: ""
Search: "vation.ca"
ShowRelatedPost: True
Slogan: "Portfolio site for Vation Inc."
taxonomies:
tag: "tags"
permalinks:
post: /post/:year/:slug/
MetadataFormat: "yaml"
theme: "bootstrapfour"
sitemap:
changefreq: "monthly"
priority: 0.5
filename: "sitemap.xml"
To use hugo to launch a development local site with options to help monitor
hugo server -t bootstrapfour --disableFastRender -v
Assembled with inspiration and snippets from:
This repository contains the code of Bootstrap, which is licensed under the MIT license, and Font Awesome, which uses various licenses.
Otherwise, the Code: MIT License