[Bug 234424] www/gohugo: Update to 0.53

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 26 20:05:22 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234424

            Bug ID: 234424
           Summary: www/gohugo: Update to 0.53
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: ben.lavery at hashbang0.com

Created attachment 200538
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200538&action=edit
svn diff to upgrade to 0.53

gohugo has been updated to 0.53
(https://github.com/gohugoio/hugo/releases/tag/v0.53)

The attached svn diff brings this port up from 0.52 to 0.53

Change log:
 - You can now split your configuration into directories per environment. Hugo
did support multiple configuration files before this release, but it was hard
to manage for bigger sites, especially those with multiple languages. With this
we have also formalized the concept of an environment; the defaults are
production (when running hugo) or development (when running hugo server) but
you can create any environment you like. We will update the documentation, but
all the details are in this issue. Also, see this PR for how the refactored
configuration for the Hugo website looks like.
 - transform.Unmarshal (see the documentation is a new and powerful template
function that can turn Resource objects or strings with JSON, TOML, YAML or CSV
into maps/arrays.
 - Two new global variables in site and hugo. hugo gives you version info etc.
({{ hugo.Version }}, {{ hugo.Environment }}), but the site is probably more
useful, as it allows you to access the current site's variables (e.g. {{
site.RegularPages }}) without any context (or ".").


Build successfully against amd64/i386 11.2-RELEASE, 11.2-STABLE, 12.0-RELEASE,
and 13.0-CURRENT.

portlint -AC:
looks fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list