Thanks to visit codestin.com
Credit goes to github.com

Skip to content

qzhou-2020/McHugo

 
 

Repository files navigation

Academic Template for Hugo

I created this template as a quick and easy way for job market candidates to set up their website. It is a stripped down version of the Hugo Academic template. For full features of this template, see its documentation.

The colours come from McGill's visual identity guide.

Here's the demo.

Getting Started

Initial setup

  • On GitHub, fork this repo
  • On Netlify
    • Sign up with your GitHub account
    • Create a new site, using the repo you just forked. Your website is now live!
    • Get your own domain, either from Netlify or from another provider. See details here

Editing your site

  • Clone your repo to work on it locally
git clone [email protected]:$YourGitHubUsername/McHugo.git
cd ./McHugo
  • Change the website info in ./config/_default/config.yaml

  • Update relevant info (SEO, initials) in ./config/params.yaml

  • Change the contents in ./content/

  • Add linked files to ./static/files/

  • Add your profile picture to ./content/authors/default/avatar.jpg

  • Copy this image to ./assets/media/sharing.jpg for it to show up in search engines

  • Pushing updates to GitHub will automatically trigger Netlify to rebuild your website

git add .
git commit -am 'Updated content XYZ'

To preview your site locally, you will need to install Hugo Extended and Go

  • See instructions for installing Go and Hugo. On MacOS with homebrew:
brew update
brew install go hugo
  • To preview your site locally, run
hugo server
  • To get more advanced features (e.g.: view draft website on netlify, debug serverless Lambda functions), check out the Netlify CLI

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.8%
  • CSS 40.4%
  • Shell 2.9%
  • JavaScript 1.9%