Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • renovate/floryn90-hugo-0.x
  • truenorth-describe-canon-output
  • add-mathematica
  • direct
  • 282-bb-attribute-also-valid-for-clusters
  • dockerz
7 results

pct.md

  • Mark Hansen's avatar
    1cdaa8cc
    Rename output 'params' field so it works with latest Hugo · 1cdaa8cc
    Mark Hansen authored
    Latest Hugo gives an error:
    
    Error: error building site: assemble: unable to cast []interface {}{"bmp"} of type []interface {} to map[string]interface{}
    
    I think this is something about it interpreting .params as similar to .Params, a method that returns a map.
    
    Anyway, let's call this 'format' instead, as these are output formats in the 'dot --help'.
    Verified
    1cdaa8cc
    History
    Rename output 'params' field so it works with latest Hugo
    Mark Hansen authored
    Latest Hugo gives an error:
    
    Error: error building site: assemble: unable to cast []interface {}{"bmp"} of type []interface {} to map[string]interface{}
    
    I think this is something about it interpreting .params as similar to .Params, a method that returns a map.
    
    Anyway, let's call this 'format' instead, as these are output formats in the 'dot --help'.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.