Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Extension does not seem to recognize Hugo site #3

@balaji-dutt

Description

@balaji-dutt

Hi,

I'm a little confused on how to get the extension to work with my local Hugo environment.

Extension version:

0.1.0

My Environment

  • Windows 10 Professional x64
  • VSCode 1.58.2

Expected Behavior

  • When I run the command gohugo: Start Server, the command should launch a local hugo server.
  • When I run the command gohugo: Create New Content, the command should place an empty post file

Actual Behavior

  • When I run the command gohugo: Start Server, navigating to localhost:1313 results in a "Site cannot be reached error"
  • When I run the command gohugo: Create New Content, no file is created

Steps to reproduce the problem:

Steps to reproduce:

  • Install the extension from VSCode Marketplace. Ensure the extension settings are as follows:
    Code_h160ySu1gO
  • Create a VSCode workspace and add the folder with the Hugo site to the workspace.
    MOYIUPS3EU
  • Verify that config.toml exists in the root of the folder and has the following configuration:
baseurl = "https://myblog.domain.tld"
DefaultContentLanguage = "en"
title = "My Hugo Blog"
theme = "beautifulhugo"
contentDir = "content"
languageCode = "en-us"
  • Run the command gohugo: Start Server. The following Terminal window appears:
    Code_xELL6NSyri

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions