Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 1.71 KB

README.md

File metadata and controls

67 lines (42 loc) · 1.71 KB

Multi-author example Hugo site

Ever wondered how to create an author page in Hugo that displays the author’s name, their bio, and a list of their articles, like Wordpress does? Me too!

This repository is an example site based on the Victor Hugo boilerplate that shows how it can be done.

You can see the example live at https://hugo-multiauthor-example.netlify.com/

Usage

System Requirements

Setup

Clone this repository and run:

yarn

This will take some time and will install all packages necessary to run Victor Hugo and its tasks.

Development

To run the site locally in development mode:

yarn start

Then visit http://localhost:3000/ - or a new browser windows popped-up already - to preview your new website. BrowserSync will automatically reload the CSS or refresh the whole page, when stylesheets or content changes.

Build

To build a static version of the website run:

yarn build

See package.json or the included gulp file for all tasks.

Deploying to Netlify

Now Netlify will build and deploy your site whenever you push to git.

You can also click the Deploy to Netlify button below – Netlify will clone this repo into your account and deploy it for you.

Deploy to Netlify

Enjoy!! 😸