Buy My Stuff At Design by Hümans

I opened a store on the Design by Hümans site! I also made Hugo warn me when I forget purchase links.

Well, one design. I only got things going yesterday, with a quick sketch on a plain white background. Future plans include adjusting old designs and creating new ones for the store, with an intended pace of roughly one design per week.

Of course I already worked out the site integration. Everything on Random Geekery tagged "buy me" should have a direct link to its page on the store. I get a lovely Hugo errorf message if I forget the link.

{{- if in .Params.tags "buy me" -}}
  {{- if isset .Params "purchase" -}}
    {{- with .Params.purchase -}}
      <p class="cover-link">
        <a href="{{ .url }}" target="_blank">{{ .caption }}</a>
      </p>
    {{- end -}}
  {{- else -}}
    {{ errorf "%s Tagged 'buy me' without purchase front matter!" .File.Path }}
  {{- end -}}
{{- end -}}

My partial is a little clunky, but it worked. I can improve it later.