Downloads:

105,293

Downloads of v 0.49:

2,867

Last Update:

01 Oct 2018

Package Maintainer(s):

Software Author(s):

  • spf13

Tags:

hugo admin blog website network

hugo

This is not the latest version of hugo available.

0.49 | Updated: 01 Oct 2018

Downloads:

105,293

Downloads of v 0.49:

2,867

Maintainer(s):

Software Author(s):

  • spf13

hugo 0.49

This is not the latest version of hugo available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install hugo, run the following command from the command line or from PowerShell:

>

To upgrade hugo, run the following command from the command line or from PowerShell:

>

To uninstall hugo, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade hugo -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade hugo -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure hugo installed
  win_chocolatey:
    name: hugo
    state: present
    version: 0.49
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'hugo' do
  action    :install
  version  '0.49'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: hugo,
    Version: 0.49,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller hugo
{
   Name     = 'hugo'
   Ensure   = 'Present'
   Version  = '0.49'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'hugo':
  provider => 'chocolatey',
  ensure   => '0.49',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install hugo version="0.49" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 01 Oct 2018.

Description

Hugo

A Fast and Flexible Static Site Generator built with love by spf13 and friends in Go.

Website |
Forum |
Developer Chat (no support) |
Documentation |
Installation Guide |
Contribution Guide |
Twitter

GoDoc
Linux and OS X Build Status
Windows Build Status
Dev chat at https://gitter.im/spf13/hugo
Go Report Card

Overview

Hugo is a static HTML and CSS website generator written in [Go][].
It is optimized for speed, easy use and configurability.
Hugo takes a directory with content and templates and renders them into a full HTML website.

Hugo relies on Markdown files with front matter for meta data.
And you can run Hugo from any directory.
This works well for shared hosts and other systems where you don’t have a privileged account.

Hugo renders a typical website of moderate size in a fraction of a second.
A good rule of thumb is that each piece of content renders in around 1 millisecond.

Hugo is designed to work well for any kind of website including blogs, tumbles and docs.

Contributing to Hugo

We welcome contributions to Hugo of any kind including documentation, themes,
organization, tutorials, blog posts, bug reports, issues, feature requests,
feature implementations, pull requests, answering questions on the forum,
helping to manage issues, etc.

The Hugo community and maintainers are very active and helpful, and the project benefits greatly from this activity.

Asking Support Questions

We have an active discussion forum where users and developers can ask questions.
Please don't use the Github issue tracker to ask questions.

Reporting Issues

If you believe you have found a defect in Hugo or its documentation, use
the Github issue tracker to report the problem to the Hugo maintainers.
If you're not sure if it's a bug or not, start by asking in the discussion forum.
When reporting the issue, please provide the version of Hugo in use (hugo version).

Analytics


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$packageName= $env:ChocolateyPackageName
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = "https://github.com/spf13/hugo/releases/download/v$($env:ChocolateyPackageVersion)/hugo_$($env:ChocolateyPackageVersion)_Windows-32bit.zip"
$url64      = "https://github.com/spf13/hugo/releases/download/v$($env:ChocolateyPackageVersion)/hugo_$($env:ChocolateyPackageVersion)_Windows-64bit.zip"

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  url           = $url
  url64bit      = $url64

  checksum      = '5853d9e9b03a041a7417688123a978506905a4285576c99213cacb5f919afc34'
  checksumType  = 'sha256'
  checksum64    = '0fd2587a27379d1962df1de8f304e7f1f17a90b54358ccc8cf58eadc0fe813c2'
  checksumType64= 'sha256'
}

Install-ChocolateyZipPackage @packageArgs
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop';

$hugoExe = Get-ChildItem $(Split-Path -Parent $MyInvocation.MyCommand.Definition) | Where-Object -Property Name -Match "hugo.exe"

if (-Not($hugoExe)) 
{
    Write-Error -Message "hugo exe is not found, please contact the maintainer of the package" -Category ResourceUnavailable
}

Write-Host "found hugo exe in $($hugoExe.FullName)"
Write-Host "attempting to remove it" 
Remove-Item $hugoExe.FullName

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Hugo 0.71.0 797 Monday, May 18, 2020 Approved
Hugo 0.70.0 1710 Wednesday, May 6, 2020 Approved
Hugo 0.69.2 1246 Friday, April 24, 2020 Approved
Hugo 0.69.1 399 Wednesday, April 22, 2020 Approved
Hugo 0.69.0 1426 Friday, April 10, 2020 Approved
Hugo 0.68.3 1604 Friday, March 27, 2020 Approved
Hugo 0.68.2 486 Tuesday, March 24, 2020 Approved
Hugo 0.68.1 354 Sunday, March 22, 2020 Approved
Hugo 0.68.0 193 Saturday, March 21, 2020 Approved

0.49 August 23rd 2018

Enhancements

Templates

  • Allow first function to return an empty slice cae07ce8 @felicianotech #5235
  • Use safeHTMLAttr instead of safeHTML for HTML attributes 4f9c109d @felicianotech #5236
  • Add collections.Append (with alias append) e27fd4c1 @bep #5190
  • Improve type handling in collections.Slice fe6676c7 @bep #5188
  • Add group template func 6667c6d7 @bep #4865
  • Add strings.FirstUpper e5d66074 @bep #5174

Core

  • Minor cleaning in the sorting code 2eed35c8 @bep
  • Make sure ambiguous lookups in GetPage gets an error 75e54345 @bep #5138
  • Allow creating page groups from any page collection cfda13b3 @vdanjean #4865
  • Do not FirstUpper taxonomy titles be3ae3ec @Schnouki #5172
  • Simplify some code e38e8812 @moorereason
  • Add missing error checks 0665a395 @moorereason
  • Remove extraneous createStaticFs call 1ed8c363 @moorereason

Other

  • Add "go mod download" to CI scripts cf47f43f @bep
  • Regenerate CLI docs 3b6bd121 @bep
  • Document group 8388cd90 @bep
  • Make Data.Integrity be of type template.HTMLAttr fe6a6f27 @bep
  • Add directory based archetypes 2650fa77 @bep #4535
  • Build on CircleCI outside of GOPATH ef525b15 @felicianotech #5135
  • Prevent symbolic links from themes f9168146 @bep
  • Update releasenotes_writer.go 4b82f748 @bep
  • Add docs for append df50c108 @bep #5190
  • Set minifier to KeepEndTags 9b26b548 @onedrawingperday
  • Make JSON minification more generic 3dafe206 @zinefer
  • Update Mage 37d64634 @bep
  • Update dependencies bb2fe814 @bep
  • Improve some godoc comments 30bc4ed0 @moorereason
  • Update to latest Mage 3b103cb7 @bep
  • Remove some duplicate code c15c7da4 @bep
  • Update Dockerfile to Go 1.11 bcbe57c6 @zyfdegh #5145
  • Init packages once ea8ef573 @bep
  • Update script to Go 1.11 293e1235 @bep #5127
  • Remove the remains of Go Dep fdf3c3b8 @bep #5115
  • Update CONTRIBUTING.md 312d2252 @bep
  • Update README.md f627903e @bep
  • Fix golint issues 400fe96a @moorereason
  • Fix golint godoc issues 3f45e729 @moorereason
  • Fix godoc comment e03eb90a @moorereason
  • Fix typo in private func name c915d0d3 @moorereason
  • Fix golint godoc issues f6f22ad9 @moorereason
  • Fix filepath issue in test d970327d @moorereason
  • Fix golint issues 0013bea9 @moorereason
  • Fix golint godoc issue ffaa73dc @moorereason
  • Fix golint godoc issue f8d8c854 @moorereason
  • Fix golint issue 10dc87bf @moorereason
  • Fix golint issues 7231869b @moorereason
  • Fix golint godoc issues 600047ff @moorereason
  • Fix golint issues 5f2e1cb8 @moorereason
  • Fix golint issues c8ce6504 @moorereason
  • Fix most golint issues a53f9623 @moorereason
  • Fix golint issues daffeec3 @moorereason
  • Fix golint errors b8b91f55 @moorereason
  • Fix golint issues f0effac8 @moorereason
  • Fix broken Travis config 2cf8fe2e @bep
  • Fix error message for go vet 47d4edce @mdhender

Fixes

  • Compare every element in pages cache ed4f1edb @bep #5239
  • Revise error handling in getJSON and getCSV 43d44652 @bep #5076
  • Show error on union or intersect of uncomparable types 4f72e791 @moorereason #3820
  • Do not set RSS as Kind in RSS output 555a5612 @bep #5138

This package has no dependencies.

Discussion for the hugo Package

Ground Rules:

  • This discussion is only about hugo and the hugo package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or hugo, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus