Simon Griffee · Design · Photography · Writing · Illustration

What: hugo

HTML Form to File.txt

Summary: HTML/JavaScript form that saves user input into a text file in Markdown format with YAML front matter for use on your local computer. Use to quickly create a post for publishing with a static website generator such as Hugo or Jekyll. After my recent site redesign my photo publishing workflow is as follows: After choosing a photograph in Lightroom, I export it into the images folder of my Hugo-powered site on my computer.

…continue

Website Redesign

Ferns in spring in Inwood Hill Park, New York City, May 2016. After eleven years apart, hypertexthero.com (design) and simongriffee.com (photography) were combined into one — this — website. If you came here looking for photographs, don’t worry, those are not going away and regular entries depicting the streets of New York will resume shortly right here in the Notebook (the front page). A mailing list is still available for my six faithful subscribers, as is an RSS syndication feed, and you can now browse content by keyword, time, location and the randomness of life thanks to Hugo’s wonderful Taxonomies system.

…continue

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