Skip to content

gopheracademy/gopheracademy-web

Folders and files

NameName
Last commit message
Last commit date
Nov 30, 2015
May 27, 2022
Dec 24, 2015
Nov 19, 2019
Mar 15, 2015
Jul 9, 2020
Nov 19, 2019
Feb 26, 2015
Dec 17, 2018
Nov 7, 2014
Sep 4, 2014
Sep 4, 2014
Sep 4, 2014
Dec 4, 2018
Dec 24, 2015
Nov 19, 2019
Dec 1, 2019

Repository files navigation

Contributing Articles

If you'd like to contribute an article, please fork this repository, add your article and create a pull request. Your articles should go in the content/ directory and your post images should go in static/postimages/. Please notice that the article metadata needs to be at the very top in between the +++, like so:

+++
author = ["Miles Davis"]
date = "1959-11-25T00:00:00-08:00"
title = "So What"
series = ["Birthday Bash 2014"]
draft = true
+++

The easiest way to do this is to have hugo create the new post for you from the repository root.

hugo new "section/title of post"

For example if I was writing a post for the 2014 advent called "go awesome":

hugo new "content/advent-2014/go-awesome.md"

Hugo will automatically create the file and put the proper metadata in place. Just make sure to review the metadata and adjust as needed.

Style Guide

Blog posts should be formatted using appropriate markdown. Please make sure to properly wrap lines for maximum readability, 72 columns is a good standard to apply. Please ensure no spelling or typographical errors are present. Make sure to preview your content locally to ensure that it looks correct before submitting a pull request.

Viewing the blog locally

To view the site on your local machine, you need to do the following:

  1. Clone the repo
  2. Install Hugo

Once Hugo is installed, run it from the cloned repo using:

hugo server --watch --buildDrafts --buildFuture

To view the site, visit the link provided by Hugo, usually http://localhost:1313.

About

Public Website for blog.GopherAcademy.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published