I posted "Buy My Stuff At Design by Hümans" on June 12th, 2018

Posts Craft drawing Infinite Painter hugo buy me

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 -}}
    
  {{- end -}}
{{- end -}}

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

Other Links

Liberapay is patronage for the FOSS and CC community.

Become a patron!