Python-hugo

Latest version: v24.1.1

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 43 of 44

0.14

The v0.14.0 Hugo release brings of the most demanded features to Hugo. The foundation of Hugo is stabilizing nicely and a lot of polish has been added. We’ve expanded support for additional content types with support for AsciiDoc, Restructured Text, HTML and Markdown. Some of these types depend on external libraries as there does not currently exist native support in Go. We’ve tried to make the experience as seamless as possible. Look for more improvements here in upcoming releases.

A lot of work has been done to improve the user experience, with extra polish to the Windows experience. Hugo errors are more helpful overall and Hugo now can detect if it’s being run in Windows Explorer and provide additional instructions to run it via the command prompt.

The Hugo community continues to grow. Hugo has over 4000 stars on github, 165 contributors, 35 themes and 1000s of happy users. It is now the 5th most popular static site generator (by Stars) and has the 3rd largest contributor community.

This release represents over **240 contributions by 36 contributors** to the main Hugo codebase.

Big shout out to [bep](https://github.com/bep) who led the development of Hugo this release, [anthonyfok](https://github.com/anthonyfok), [eparis](https://github.com/eparis), [SchumacherFM](https://github.com/SchumacherFM), [RickCogley](https://github.com/RickCogley) & [mdhender](https://github.com/mdhender) for their significant contributions and [tatsushid](https://github.com/tatsushid) for his continuous improvements to the templates. Also a big thanks to all the theme creators. 11 new themes have been added since last release and the [hugoThemes repo now has previews of all of them](https://github.com/spf13/hugoThemes/blob/master/README.md#theme-list).

Hugo also depends on a lot of other great projects. A big thanks to all of our dependencies inclding:
[cobra](https://github.com/spf13/cobra), [viper](https://github.com/spf13/viper), [blackfriday](https://github.com/russross/blackfriday), [pflag](https://github.com/spf13/pflag), [HugoThemes](https://github.com/spf13/hugothemes), [BurntSushi/Toml](github.com/BurntSushi/toml), [goYaml](https://github.com/go-yaml/yaml/tree/v2), and the Go standard library.

New features
- Support for all file types in content directory.
- If dedicated file type handler isn’t found it will be copied to the destination.
- Add `AsciiDoc` support using external helpers.
- Add experimental support for [`Mmark`](https://github.com/miekg/mmark) markdown processor
- Bash autocomplete support via `genautocomplete` command
- Add section menu support for a [Section Menu for "the Lazy Blogger"](http://gohugo.io/extras/menus.md#section-menu-for-the-lazy-blogger")
- Add support for `Ace` base templates
- Adding `RelativeURLs = true` to site config will now make all the relative URLs relative to the content root.
- New template functions:
- `getenv`
- The string functions `substr` and `slicestr`
*`seq`, a sequence generator very similar to its Gnu countepart
- `absURL` and `relURL`, both of which takes the `BaseURL` setting into account

Improvements
- Highlighting with `Pygments` is now cached to disk -- expect a major speed boost if you use it!
- More Pygments highlighting options, including `line numbers`
- Show help information to Windows users who try to double click on `hugo.exe`.
- Add `bind` flag to `hugo server` to set the interface to which the server will bind
- Add support for `canonifyurls` in `srcset`
- Add shortcode support for HTML (content) files
- Allow the same `shortcode` to be used with or without inline content
- Configurable RSS output filename

Bugfixes
- Fix panic with paginator and zero pages in result set.
- Fix crossrefs on Windows.
- Fix `eq` and `ne` template functions when used with a raw number combined with the result of `add`, `sub` etc.
- Fix paginator with uglyurls
- Fix [998](https://github.com/spf13/hugo/issues/988), supporting UTF8 characters in Permalinks.

Notices
- To get variable and function names in line with the rest of the Go community, a set of variable and function names has been deprecated: These will still work in 0.14, but will be removed in 0.15. What to do should be obvious by the build log; `getJson` to `getJSON`, `getCsv` to `getCSV`, `safeHtml` to `safeHTML`, `safeCss` to `safeCSS`, `safeUrl` to `safeURL`, `Url` to `URL`, `UrlPath` to `URLPath`, `BaseUrl` to `BaseURL`, `Recent` to `Pages`, `Indexes` to `Taxonomies`.

0.13

The v0.13.0 release is the largest Hugo release to date. The release introduced
some long sought after features (pagination, sequencing, data loading, tons of
template improvements) as well as major internal improvements. In addition to
the code changes, the Hugo community has grown significantly and now has over
3000 stars on github, 134 contributors, 24 themes and 1000s of happy users.

This release represents **448 contributions by 65 contributors**

A special shout out to [bep](https://github.com/bep) and
[anthonyfok](https://github.com/anthonyfok) for their new role as Hugo
maintainers and their tremendous contributions this release.

New major features
- Support for [data files](http://gohugo.io/extras/datafiles/) in [YAML](http://yaml.org/),
[JSON](http://www.json.org/), or [TOML](https://github.com/toml-lang/toml)
located in the `data` directory ([885](https://github.com/spf13/hugo/issues/885))
- Support for [dynamic content](http://gohugo.io/extras/dynamiccontent/) by loading JSON & CSV
from remote sources via GetJson and GetCsv in short codes or other layout
files ([748](https://github.com/spf13/hugo/issues/748))
- [Pagination support](http://gohugo.io/extras/pagination/) for home page, sections and
taxonomies ([750](https://github.com/spf13/hugo/issues/750))
- Universal sequencing support
- A new, generic Next/Prev functionality is added to all lists of pages
(sections, taxonomies, etc.)
- Add in-section [Next/Prev](http://gohugo.io/templates/variables/) content pointers
- `Scratch` -- [a "scratchpad"](http://gohugo.io/extras/scratch) for your node- and page-scoped
variables
- [Cross Reference](http://gohugo.io/extras/crossreferences/) support to easily link documents
together with the ref and relref shortcodes.
- [Ace](http://ace.yoss.si/) template engine support ([#541](https://github.com/spf13/hugo/pull/541))
- A new [shortcode](http://gohugo.io/extras/shortcodes/) token of `{{</* */>}}` (raw HTML)
alongside the existing `{{%/* */%}}` (Markdown)
- A top level `Hugo` variable (on Page & Node) is added with various build
information
- Several new ways to order and group content:
- `ByPublishDate`
- `GroupByPublishDate(format, order)`
- `GroupByParam(key, order)`
- `GroupByParamDate(key, format, order)`
- Hugo has undergone a major refactoring, with a new handler system and a
generic file system. This sounds and is technical, but will pave the way for
new features and make Hugo even speedier

Notable enhancements to existing features
- The [shortcode](http://gohugo.io/extras/shortcodes/) handling is rewritten for speed and
better error messages.
- Several improvements to the [template functions](http://gohugo.io/templates/functions/):
- `where` is now even more powerful and accepts SQL-like syntax with the
operators `==`, `eq`; `!=`, `<>`, `ne`; `>=`, `ge`; `>`, `gt`; `<=`,
`le`; `<`, `lt`; `in`, `not in`
- `where` template function now also accepts dot chaining key argument
(e.g. `"Params.foo.bar"`)
- New template functions:
- `apply`
- `chomp`
- `delimit`
- `sort`
- `markdownify`
- `in` and `intersect`
- `trim`
- `replace`
- `dateFormat`
- Several [configurable improvements related to Markdown
rendering](http://gohugo.io/overview/configuration/#configure-blackfriday-rendering:a66b35d20295cb764719ac8bd35837ec):
- Configuration of footnote rendering
- Optional support for smart angled quotes, e.g. `"Hugo"` → «Hugo»
- Enable descriptive header IDs
- URLs in XML output is now correctly canonified ([725](https://github.com/spf13/hugo/issues/725), [#728](https://github.com/spf13/hugo/issues/728), and part
of [789](https://github.com/spf13/hugo/issues/789))

Other improvements
- Internal change to use byte buffer pool significantly lowering memory usage
and providing measurable performance improvements overall
- Changes to docs:
- A new [Troubleshooting](http://gohugo.io/troubleshooting/overview/) section is added
- It's now searchable through Google Custom Search ([753](https://github.com/spf13/hugo/issues/753))
- Some new great tutorials:
- [Automated deployments with
Wercker](http://gohugo.io/tutorials/automated-deployments/)
- [Creating a new theme](http://gohugo.io/tutorials/creating-a-new-theme/)
- [`hugo new`](http://gohugo.io/content/archetypes/) now copies the content in addition to the front matter
- Improved unit test coverage
- Fixed a lot of Windows-related path issues
- Improved error messages for template and rendering errors
- Enabled soft LiveReload of CSS and images ([490](https://github.com/spf13/hugo/pull/490))
- Various fixes in RSS feed generation ([789](https://github.com/spf13/hugo/issues/789))
- `HasMenuCurrent` and `IsMenuCurrent` is now supported on Nodes
- A bunch of [bug fixes](https://github.com/spf13/hugo/commits/master)

0.12

A lot has happened since Hugo v0.11.0 was released. Most of the work has been
focused on polishing the theme engine and adding critical functionality to the
templates.

This release represents over 90 code commits from 28 different contributors.
- 10 [new themes](https://github.com/spf13/hugoThemes) created by the community
- fully themable [partials](http://hugo.spf13.com/templates/partials/)
- [404 template](http://hugo.spf13.com/templates/404/) support in themes
- [shortcode](http://hugo.spf13.com/extras/shortcodes/) support in themes
- [views](http://hugo.spf13.com/templates/views/) support in themes
- inner [shortcode](http://hugo.spf13.com/extras/shortcodes/) content now treated as markdown
- support for header ids in markdown ( header {myid})
- [where](http://hugo.spf13.com/templates/list) template function to filter lists of content, taxonomies, etc
- [groupby](http://hugo.spf13.com/templates/list) & [groupbydate](/templates/list) methods to group pages
- taxonomy [pages list](http://hugo.spf13.com/taxonomies/methods/) now sortable, filterable, limitable & groupable
- general cleanup to taxonomies & documentation to make it more clear and consistent
- [showcase](http://hugo.spf13.com/showcase/) returned and has been expanded
- pretty links now always have trailing slashes
- [baseurl](http://hugo.spf13.com/overview/configuration/) can now include a subdirectory
- better feedback about draft & future post rendering
- a variety of improvements to [the website](http://hugo.spf13.com/)

0.11

- Considerably faster... about 3 - 4x faster on average
- [Live Reload](http://hugo.spf13.com/extras/livereload). Hugo will automatically reload the browser when the build is complete
- Theme engine w/[Theme Repository](http://github.com/spf13/hugoThemes)
- [Menu system](http://hugo.spf13.com/extras/menus) with support for active page
- [Builders](http://hugo.spf13.com/extras/builders) to quickly create a new site, content or theme
- [XML sitemap](http://hugo.spf13.com/templates/sitemap) generation
- [Integrated Disqus](http://hugo.spf13.com/extras/comments) support
- Streamlined [template organization](http://hugo.spf13.com/templates/overview)
- [Brand new docs site](http://hugo.spf13.com)
- Support for publishDate which allows for posts to be dated in the future
- More [sort](http://hugo.spf13.com/content/ordering) options
- Logging support
- Much better error handling
- More informative verbose output
- Renamed Indexes > [Taxonomies](http://hugo.spf13.com/taxonomies/overview)
- Renamed Chrome > [Partials](http://hugo.spf13.com/templates/partials)

0.10

- [Syntax highlighting](http://hugo.spf13.com/extras/highlighting) powered by pygments (**slow**)
- Ability to [sort content](http://hugo.spf13.com/content/ordering) many more ways
- Automatic [table of contents](http://hugo.spf13.com/extras/toc) generation
- Support for unicode urls, aliases and indexes
- Configurable per-section [permalink](http://hugo.spf13.com/extras/permalinks) pattern support
- Support for [paired shortcodes](http://hugo.spf13.com/extras/shortcodes)
- Shipping with some [shortcodes](http://hugo.spf13.com/extras/shortcodes) (highlight & figure)
- Adding [canonify](http://hugo.spf13.com/extras/urls) option to keep urls relative
- A bunch of [additional template functions](http://hugo.spf13.com/layouts/templatefunctions)
- Watching very large sites now works on mac
- RSS generation improved. Limited to 50 items by default, can limit further in [template](http://hugo.spf13.com/layout/rss)
- Boolean params now supported in [frontmatter](http://hugo.spf13.com/content/front-matter)
- Launched website [showcase](http://hugo.spf13.com/showcase). Show off your own hugo site!
- A bunch of [bug fixes](https://github.com/spf13/hugo/commits/master)

0.9

This is the most significant update to Hugo ever!
It contains contributions from dozens of contributors and represents hundreds of features, fixes and improvements.

Major New Features
- New command based interface similar to git (`hugo server -s ./`)
- Amber template support
- Full Windows support
- Better index support including ordering by content weight
- Add params to site config, available in `.Site.Params` from templates
- Support for html & xml content (with front matter support)
- Support for top level pages (in addition to homepage)

Notable Fixes and Additions
- Friendlier json support
- Aliases (redirects)
- Support for summary content divider (`<!--more-->`)
- HTML & shortcodes supported in summary (when using divider)
- Complete overhaul of the documentation site
- Added "Minutes to Read" functionality
- Support for a custom 404 page
- Cleanup of how content organization is handled
- Loads of unit and performance tests
- Integration with Travis CI
- Static directory now watched and copied on any addition or modification
- Support for relative permalinks
- Fixed watching being triggered multiple times for the same event
- Watch now ignores temp files (as created by Vim)
- Configurable number of posts on homepage
- Front matter supports multiple types (int, string, date, float)
- Indexes can now use a default template
- Addition of truncated bool to content to determine if should show 'more' link
- Support for `linkTitles`
- Better handling of most errors with directions on how to resolve
- Support for more date / time formats
- Support for Go 1.2
- Loads more... see commit log for full list.

Page 43 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.