zola

  • 1
  • 2
  • 3

0.16.1 | Updated: 12 Sep 2022

Downloads:

4,746

Downloads of v 0.16.1:

311

Maintainer(s):

Software Author(s):

  • Vincent Prouillet
  • zola contributors

  • 1
  • 2
  • 3
zola 0.16.1

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

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

>

Deployment Method:

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

1. Enter Your Internal Repository Url

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


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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://community.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. Copy Your Script

choco upgrade zola -y --source="'INTERNAL REPO 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 zola -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install zola
  win_chocolatey:
    name: zola
    version: '0.16.1'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'zola' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.16.1'
end

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


cChocoPackageInstaller zola
{
    Name     = "zola"
    Version  = "0.16.1"
    Source   = "INTERNAL REPO URL"
}

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


package { 'zola':
  ensure   => '0.16.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

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


4. 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 12 Sep 2022.

Description

A fast static site generator in a single binary with everything built-in. Documentation is available on its site or
in the docs/content folder of the repository.

Supported content formats

  • Zola: markdown
  • Cobalt: markdown
  • Hugo: markdown, asciidoc, org-mode
  • Pelican: reStructuredText, markdown, asciidoc, org-mode, whatever-you-want

Template engine explanation

Cobalt gets ~ as, while based on Liquid, the Rust library doesn't implement all its features but there is no documentation on what is and isn't implemented. The errors are also cryptic. Liquid itself is not powerful enough to do some of things you can do in Jinja2, Go templates or Tera.

Hugo gets ~. It is probably the most powerful template engine in the list after Jinja2 (hard to beat python code in templates) but personally drives me insane, to the point of writing my own template engine and static site generator. Yes, this is a bit biased.

Pelican notes

Many features of Pelican are coming from plugins, which might be tricky
to use because of version mismatch or lacking documentation. Netlify supports Python
and Pipenv but you still need to install your dependencies manually.

Contributing

As the documentation site is automatically built on commits to master, all development
should happen on the next branch, unless it is fixing the current documentation.

If you want a feature added or modified, please open an issue to discuss it before doing a PR.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$packageName= $env:ChocolateyPackageName
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url      = "https://github.com/getzola/zola/releases/download/v$($env:ChocolateyPackageVersion)/zola-v$($env:ChocolateyPackageVersion)-x86_64-pc-windows-msvc.zip"

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  url           = $url
  checksum      = 'b19b8317a9a0d53339df8a5d910af0682abad5c65f593d58fcc35c6d00ab8732'
  checksumType  = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

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.

Add to Builder Version Downloads Last Updated Status
zola 0.15.3 622 Tuesday, January 25, 2022 Approved
zola 0.15.1 219 Friday, December 10, 2021 Approved
zola 0.15.0 54 Tuesday, December 7, 2021 Approved
zola 0.14.1 287 Thursday, September 2, 2021 Approved
zola 0.14.0 127 Saturday, August 7, 2021 Approved
zola 0.13.0 424 Tuesday, March 9, 2021 Approved
zola 0.12.2 474 Monday, September 28, 2020 Approved
zola 0.12.1 74 Monday, September 28, 2020 Approved
zola 0.12.0 103 Sunday, September 20, 2020 Approved
zola 0.11.0 335 Monday, May 25, 2020 Approved
zola 0.10.1 278 Friday, March 13, 2020 Approved
zola 0.10.0 190 Tuesday, February 18, 2020 Approved
zola 0.9.0 325 Saturday, October 5, 2019 Approved
zola 0.8.0 218 Wednesday, July 17, 2019 Approved
zola 0.7.0 265 Sunday, April 28, 2019 Approved
zola 0.6.0 187 Monday, March 25, 2019 Approved
zola 0.5.0 253 Saturday, November 17, 2018 Approved

0.16.1 (2022-08-14)

  • Fix many Windows bugs
  • Fix overriding built-in shortcodes
  • Support .yml files with load_data

0.16.0 (2022-07-16)

Breaking

  • Switch to pulldown-cmark anchor system rather than ours, some (very niche) edge cases are not supported anymore, you can
    also specify classes on headers now
  • Now outputs empty taxonomies instead of ignoring them
  • Unify all pages sorting variable names in templates to lower/higher in order to make it easy to re-use templates and it
    was becoming hard to come up with names to be honest

Other

  • Fix markup for fenced code with linenos
  • Make ignored_content work with nested paths and directories
  • zola serve/build can now run from anywhere in a zola directory
  • Add XML support to load_data
  • Add YAML support to load_data
  • skip_prefixes is now checked before parsing external link URLs
  • Add render attribute to taxonomies configuration in config.toml, for when you don't want to render
    any pages related to that taxonomy
  • Serialize transparent field from front-matter of sections
  • Use Zola Tera instance for markdown filter: this means you have access to the same Tera functions as in shortcodes
  • Ignore sections with render=false when looking for path collisions
  • Add support for backlinks
  • Add a warning mode for internal/external link checking in case you don't want zola to stop the build on invalid links
  • Always follow symlinks when loading the site/assets
  • Add rel="alternate" to Atom post links
  • Fix taxonomy current_path
  • Fix feed location for taxonomies not in the default language
  • Add title_bytes sorting method
  • Add insert_anchor = "heading", which allows users to use the entire heading as a link
  • Apply orientation transformation based on EXIF data
  • Fix generated homepages not having their translations filled properly

This package has no dependencies.

Discussion for the zola Package

Ground Rules:

  • This discussion is only about zola and the zola 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 zola, 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