Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 3.33 KB

README.md

File metadata and controls

76 lines (56 loc) · 3.33 KB

Website

Personal website built using [Hugo].

Configuration

Please consult the Minimo theme documentation for further instructions.

Installing Hugo

This repository is presently using the Hugo extended 0.101.0 version.

Cloning

The following will give you a project that is set up and ready to use.

The hugo server command builds and serves the site.

If you just want to build the site, run hugo instead.

git clone https://github.com/sylus/website
cd website
./dev.sh

The theme is included as part of a Hugo module:

▶ hugo mod graph
project github.com/zeon-studio/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/icons/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/components/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/components/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/components/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/components/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/components/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/shortcodes/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/shortcodes/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/seo-tools/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/seo-tools/[email protected]+vendor
project github.com/gethugothemes/hugo-modules/seo-tools/[email protected]+vendor

If you want to do SCSS edits and want to publish these, you need to install PostCSS (not needed for hugo server):

npm install

Running the website locally

Once you've cloned the site repo, from the repo root folder, run:

./dev.sh

Linting

To lint all Markdown files in a Node.js project (excluding dependencies), the following commands might be used:

markdownlint 'content/**/*.md' --ignore node_modules --fix