Simon Griffee Design Photography Writing Illustration

June 2016

Covent Garden, London, UK, April 2008

Published 2016 June 24

Covent Garden, London, UK, April 2008

Published 2016 June 24

Covent Garden, London, April 2008

Published 2016 June 24

Script to Convert Django Flatpages to Hugo Markdown Files with YAML Frontmatter

I needed to export a lot of entries stored in the SQLite database of my previous Django site for importing into the new Hugo-powered SimonGriffee.com. Thankfully, Sam Kingston had already written a script to export Mezzanine blog posts to Jekyll, so I modified it to make djangoflatpage2hugo.py, below. To use it: Save the the code below in a file called djangoflatpage2hugo.py and put it in the following location: yourdjangoproject/ management/ commands/ djangoflatpage2hugo.

…continue

124th Street and St. Nicholas Avenue, Harlem, New York City, June 2016

Published 2016 June 22

42nd Street Near 8th Avenue, New York City, June 2016

Published 2016 June 22

Amber, Howard City, Michigan, June 2016

Published 2016 June 21

Bruce in Beacon, New York, June 2016

Published 2016 June 14

Washington Square South and LaGuardia Place, New York City, April 2016

Published 2016 June 13

Via dei Fori Imperiali, Rome, Italy, June 2011

Published 2016 June 12

Amsterdam Avenue Near 116th Street, New York City, August 2015

Published 2016 June 9

Bryant Park, New York City, May 2016

Published 2016 June 8

42nd Street and 5th Avenue, New York City, May 2016

Published 2016 June 7

Amber, Lastorta and Zucchina, Rome, Italy, September 2013

Published 2016 June 5

East 46th Street and Lexington Avenue, New York City, May 2016

Published 2016 June 5

5th Avenue, New York City, September 2015

Published 2016 June 4

Joshua Tree, California, January 2007

Published 2016 June 1

← Notebook Archive