Giter Club home page Giter Club logo

gopheracademy's Introduction

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.

gopheracademy's People

Contributors

bketelsen avatar brainstormbuddy avatar dgryski avatar davecheney avatar samuell avatar tebeka avatar erikstmartin avatar mattfarina avatar narqo avatar chewxy avatar chrislusf avatar ayang64 avatar spf13 avatar ardan-bkennedy avatar dmitshur avatar dwhitena avatar sbinet avatar orrchen avatar mholt avatar quintessence avatar jcaberio avatar mewmew avatar flowchartsman avatar krylovsk avatar raphael avatar vdemario avatar dlsniper avatar mdlayher avatar fd0 avatar filosottile avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.