Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

vation-ca/hugo-theme-bootstrapfour

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

A Hugo Bootstrap 4 theme

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

Features

  • Accessibility concerned
  • Bootstrap 4 is responsive using latest flexbox CSS
  • DuckDuckGo site search for privacy
  • No Google analytics, fonts for privacy
  • FontAwesome for icons

How to build

You need NodeJS installed.

Manual Steps

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 ../..

Create content

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:

License

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

About

A basic Hugo theme for an accessible site customizing Bootstrap v4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published