show & tell - who is hugo?

16
Who the heck is ?

Upload: dandineenuob

Post on 11-Apr-2017

142 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: Show & tell - Who is Hugo?

Who the heck is ?

Page 2: Show & tell - Who is Hugo?

Hugo is a static site generator

tl;dl

Page 3: Show & tell - Who is Hugo?

> Install & use Hugo > via the command line > There’s no GUI :-(

Page 4: Show & tell - Who is Hugo?

CONTENTASSETSLAYOUT WEBSITE!

Page 5: Show & tell - Who is Hugo?

Dynamic site Static site

Database

Website Website

HUGO

Page 6: Show & tell - Who is Hugo?

PerformanceStatic assets are super quick and super robust

Page 7: Show & tell - Who is Hugo?

How fast can Hugo compile a page?

Pretty darned fast actually…

Page 8: Show & tell - Who is Hugo?

25ms*

* Milliseconds

Page 9: Show & tell - Who is Hugo?

We use Hugo at the end of our publishing process to turn structured content into HTML.

Save your content in the CMS editor,

click publish & Hugo goes to work…

Page 10: Show & tell - Who is Hugo?

Initially a lot of the front end work was

to be done with Hugo.

But Hugo can be a frustrating beast…

Page 11: Show & tell - Who is Hugo?

Templating with Hugo

Page 12: Show & tell - Who is Hugo?

- Inconsistent documentation

- Rigid & inflexible templates

- Repetitious structure

- Reliance on Markdown

It was tricky to really do what we wanted…

So what’s wrong with Hugo?

Page 13: Show & tell - Who is Hugo?

The Dev & Design contingent

Tom Trentham

Tom Natt

Kelvin Gan

Phil Wilson

Liam McMurray

Dan Dineen

Page 14: Show & tell - Who is Hugo?

So, in the

we iterated...

Spirit of Agile

Page 15: Show & tell - Who is Hugo?

We now play directly to its strengths &

simply use Hugo to compile the site at

the end of everything else…

Page 16: Show & tell - Who is Hugo?

> Oh, and Liam > the -w flag at the end > of the hugo server -w > command tells Hugo to > watch files and recompile > the site if any files change