GithubHelp home page GithubHelp logo

pugo's Introduction

PuGo

a simple static site generator.

Why ?

I wanted to learn how to use golang, so I decided to write a simple static site generator. Even 'Hugo' is fully static site generator, but I just want a simple blog generator.

Usage

create a folder named 'demo' to start site project.

$ mkdir demo
$ cd demo
$ pugo init

build site:

$ pugo build ./cmd/pugo

site locally on 'http://localhost:18080/':

$ pugo server

pugo's People

Contributors

fuxiaohei avatar tonyzzp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

redzl tonyzzp

pugo's Issues

init失败

2023/05/06 14:52:24 INFO PuGo 0.1.18
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\404.html', open default\404.html: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\archives.html', open default\archives.html: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\footer.html', open default\footer.html: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\head.html', open default\head.html: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\header.html', open default\header.html: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\page.html', open default\page.html: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\post-list.html', open default\post-list.html: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\post.html', open default\post.html: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\tailwind.config.js', open default\tailwind.config.js: file does not exist
2023/05/06 14:52:24 WARN failed to extract theme file: 'default\theme_config.toml', open default\theme_config.toml: file does not exist
2023/05/06 14:52:24 INFO initialized sample site in the current directory successfully

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.