Output different on OSX and Ubuntu

I have successfully built and deployed a web site using OS X as my development platform.

I am attempting to Dockerize Hugo and I am using Ubuntu 14.04 as my base operating system for the container.

I notice that I am getting output that contains map structures when I run Hugo on Ubuntu:

map[honorificSuffix:MBA author:Randolph Kahle bio:Architect - Mentor - Trainer - Consultant location:Fort Collins, CO site_description:Guide to Resourceful Computing copyright:Copyright Databliss, LLC 2016 Powered by Hugo. Theme by PPOffice. name:Randolph Kahle nickName:Randy Kahle avatar:images/randolphkahle/randy_headshot_square.jpg url:http://www.randolphkahle.info]

When the output generated on OS X has this output in proper H2, H3, etc blocks.

It looks like a template is not running correctly. Am I missing some Go language support? Some packages in Ubuntu?

Not likely, there must be “something else” in play, which is impossible to tell without the full context.

Hugo execution context, site definition context, or both?

Both, I guess. As in the source of your repo (Github repo?) + the output of hugo version both OSX and Ubuntu.

My Dockerfile is:

# Runs Hugo static site generator
FROM ubuntu:14.04

ENV VIRTUAL_HOST hugo.docker

RUN apt-get update && \
    apt-get install -y -qq curl && \
    apt-get install -y -qq python-pip python-dev build-essential && \
    pip install --upgrade pip && \
    pip install --upgrade virtualenv

RUN curl -o hugo.tar.gz -L https://github.com/spf13/hugo/releases/download/v0.15/hugo_0.15_linux_amd64.tar.gz 
RUN tar -xvf hugo.tar.gz
RUN cp hugo_0.15_linux_amd64/hugo_0.15_linux_amd64 /usr/local/bin/hugo

WORKDIR /development


#CMD hugo --renderToDisk=true --watch=true --bind="" --baseURL="http://hugo.docker:1313" server /development

My OS X output is on my website: http://www.resourcefulcomputing.com

MY Ubuntu output is at this GitHub repo: https://github.com/RandyKahle/hugo-output-ubuntu

Note in particular this line from the generated index.html file: https://github.com/RandyKahle/hugo-output-ubuntu/blob/master/public/index.html#L106

That shows a map construct in the HTML file.

The input source for the website: https://github.com/resourcefulcomputing/www.resourcefulcomputing.com

The input source for the theme: https://github.com/resourcefulcomputing/hugo-icarus-theme

Thank you for any help!

It is @digitalcraftsman s theme, maybe he can shed some light on the mystery, but:

It expects author to be a string, but gets a map.

What is the hugo version when you test this OK on OS X?

I am using “released” 0.15 for everything.

OK - my mistake.

I changed the structure of the metadata and must have made a mistake with Git and updates.

I was returning the map structure.

Thank you very much for your time. Your observation is what guided me to figure this out.