Downloads:

123,525

Downloads of v 0.26:

237

Last Update:

18 Sep 2017

Package Maintainer(s):

Software Author(s):

  • spf13

Tags:

hugo admin blog website network

hugo

This is not the latest version of hugo available.

0.26 | Updated: 18 Sep 2017

Downloads:

123,525

Downloads of v 0.26:

237

Maintainer(s):

Software Author(s):

  • spf13

hugo 0.26

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.26
    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.26'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: hugo,
    Version: 0.26,
    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.26'
   Source   = 'STEP 3 URL'
}

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


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

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


salt '*' chocolatey.install hugo version="0.26" 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.

This package was approved as a trusted package on 18 Sep 2017.

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      = '72ce595aeed787c94b7ed89e6beb074e432a6849426196d39e4af8d63731dbb8'
  checksumType  = 'sha256'
  checksum64    = '50c415eed9fcaff2371b8de8e357f2b51cf478861e27debfae0e8d296f131350'
  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.76.4 661 Monday, October 12, 2020 Approved
Hugo 0.76.3 550 Thursday, October 8, 2020 Approved
Hugo 0.76.2 305 Wednesday, October 7, 2020 Approved
Hugo 0.76.0 152 Tuesday, October 6, 2020 Approved
Hugo 0.75.1 2061 Tuesday, September 15, 2020 Approved
Hugo 0.75.0 240 Monday, September 14, 2020 Approved
Hugo 0.74.3 3943 Thursday, July 23, 2020 Approved
Hugo 0.74.2 754 Friday, July 17, 2020 Approved
Hugo 0.74.1 574 Tuesday, July 14, 2020 Approved

0.26 August 7th 2017

Hugo 0.26 is the Language Style Edition.

This release brings a choice of AP Style or Chicago Style Title Case (8fb594bf #989). You can also now configure Blackfriday to render « French Guillemets » (cb9dfc26 #3725). To enable French Guillemets, put this in your site config.toml:

[blackfriday]
angledQuotes = true
smartypantsQuotesNBSP = true

Oh, and this release also fixes it so you should see no ugly long crashes no more when you step wrong in your templates (794ea21e).

Hugo 0.26 represents 46 contributions by 11 contributors to the main Hugo code base.

@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @anthonyfok, @jorinvo, and @digitalcraftsman for their ongoing contributions. And as always a big thanks to @digitalcraftsman for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 838 contributions by 30 contributors. A special thanks to @rdwatters, @bep, @digitalcraftsman, and @budparr for their work on the documentation site.

This may look like a Waiting Sausage, a barbecue term used in Norway for that sausage you eat while waiting for the steak to get ready. And it is: We're working on bigger and even more interesting changes behind the scenes. Stay tuned!

Hugo now has:

*18802+ stars
*457+ contributors
*175+ themes

Notes

sourceRelativeLinks has been deprecated for a while and has now been removed. 9891c0fb @bep #3766
The title template function and taxonomy page titles now default to following the AP Stylebook for title casing. To override this default to use the old behavior, set titleCaseStyle to Go in your site configuration. 8fb594bf @bep #989

Enhancements

Templates

Use hash for cache key 6cd33f69 @RealOrangeOne #3690
Add some empty slice tests to intersect e0cf2e05 @bep #3686

Core

Support reflinks starting with a slash dbe63970 @bep #3703
Make template panics into nice error messages 794ea21e @bep

Other

  • Make the title case style guide configurable 8fb594bf @bep #989
  • Add support for French Guillemets cb9dfc26 @bep #3725
  • Add support for French Guillemets c4a0b6e8 @bep #3725
  • Switch from fork bep/inflect to markbates/inflect 09907d36 @jorinvo
  • Remove unused dependencies from vendor.json 9b4170ce @jorinvo
  • Add --debug option to be improved on over time aee2b067 @maxandersen
  • Reduce Docker image size from 277MB to 27MB bfe0bfbb @ellerbrock #3730#3738
  • Optimize Docker image size 606d6a8c @ellerbrock #3674
  • Add --trace to asciidoctor args b60aa1a5 @miltador #3714
  • Add script to pull in docs changes ff433f98 @bep
  • Add HasShortcode deccc540 @bep #3707
  • Improve the twitter card template 00b590d7 @bep #3711
  • Add GOEXE to support building with different versions of go ea5e9e34 @mdhender

Fixes

Templates

  • Fix intersect on []interface{} handling 55d0b894 @moorereason #3718

Other

  • Fix broken TaskList in Markdown 481924b3 @mpcabd #3710

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