Code Monkey home page Code Monkey logo

hugofy-vscode's Introduction

hugofy README

Hugofy is a plugin for Visual Studio Code to make life easier to use Hugo static site generator

Features

  1. Create new hugo site
  2. Create posts
  3. Build site
  4. Run and stop server
  5. Download available hugo themes.

Usage

Use command pallete Ctrl+Shift+P and type Hugofy Once the server has been started you can view the output by directing your browser to: http://localhost:9081

Extension Settings

Known Issues

Release Notes

0.1.0

[Fix] Fixed start server error

0.0.2

[Fix] Server Stop works on windows

0.0.1

Initial Release

hugofy-vscode's People

Contributors

akmittal avatar coliff avatar dependabot[bot] avatar dpastoor avatar foobraco avatar intermernet avatar nykkolas avatar rpeshkov avatar yogat3ch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hugofy-vscode's Issues

Server Start "Default theme not set"

I am new to Hugo. When I run my project from the command line it build and runs fine. When I use hugofy I get:

Default theme not set. Please set one.

Is there a configuration that hugofy is expecting that the server safely ignores?

Error: Cannot find module 'vscode'

When I follow the vsc-extension-quickstart.md, got some exception
at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object.<anonymous> (/Users/mac/IdeaProjects/Github/akmittal/hugofy-vscode/src/extension.ts:4:1) at Module._compile (module.js:649:14) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) Waiting for the debugger to disconnect...

Does anyone know what's going on? Thanks.

Error running server

When i use Start Server in VS Code in Mac OS 10.12.3 it throws me Error running server

use the default theme archtype default for post headers

right now if you create a new post via it is the bare minimum.

If i run the hugo cli command for casper

hugo new post/good1

it results in

---
title: "Good1"
date: 2018-05-23T00:00:03-07:00
draft: true
---

if i run

hugo new post/good1.md
it will use the archtype for the config theme

such a as:

+++
author = ""
comments = true	# set false to hide Disqus
date = "2018-05-23T00:00:23-07:00"
draft = true
image = ""
menu = ""		# set "main" to add this content to the main menu
share = true	# set false to hide share buttons
slug = "post-title"
tags = ["tag1","tag2"]
title = ""
+++

I'm not sure if there s a reason for this but I think the default should use the themes archtype header.

as it ties together the system much better. I think this should be an easy fix but if theres a reason not to pursue I'd love to know.

drawbacks I can see is that maybe the archtype theme will not translate to others

option to disable console log

When you build, the extension shows a "INFO" log, which manually has to be closed. Either give an option to turn it off, or better, an option for the message to disappear after X seconds (if possible in vscode)

Error running server

Env:

  • Visual Studio Code 1.20.1
  • Hugo Static Site Generator v0.37 linux/amd64 BuildDate: 2018-02-27T09:15:25Z

I can not see the error log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.