Hugo Vsts Extension

screenshot of Hugo Vsts Extension

Generate a site using Hugo, a Fast and Flexible Website Generator, running in Visual Studio Team Services or Team Foundation Server.

Overview

Hugo is an impressive and powerful website generator renowned for its speed and flexibility. Designed to streamline the process of creating websites, it comes with a variety of features that enable developers and content creators to build dynamic sites quickly. With features that support various configurations and content management options, Hugo is a top choice for those seeking efficiency in web development.

The latest iterations of Hugo have made it even more user-friendly with enhancements and options that cater to different user needs. Whether you are a seasoned developer or a newbie, Hugo provides a comprehensive toolkit that can help you manage your site's content effortlessly, making it an essential asset in the digital space.

Features

  • Automatic Hugo Executable Download: The Build Task automatically downloads the required Hugo executable version if it's not already present on the build machine, ensuring you always have the right tools on hand.
  • Source Path Specification: Easily define the source path for your Hugo files, with defaults set to streamline your workflow, passed via the --source flag.
  • Custom Destination Path: Specify where the generated site should be stored, making it easy to manage output locations, passed through the --destination flag.
  • Version Flexibility: Choose from various Hugo versions including the latest stable release or specific versions (e.g., 0.25.1), minimizing compatibility issues.
  • Extended Version Support: Opt for the extended version of Hugo for SCSS/SASS support, enhancing your site’s styling capabilities.
  • Content Inclusion Options: Fine-tune what content is built by including drafts, expired posts, or future content with specific build flags.
  • Base URL Configuration: Set the base URL for your site, allowing you to tailor the site’s root address to your needs easily.
  • Customizable Build Arguments: With the additionalArgs option, you can now pass custom arguments to further customize the build process, enhancing flexibility and control.