Giter Club home page Giter Club logo

hugo-examples's Introduction

hugo-examples

[ Note: Under Construction ]

A repository of Hugo examples as shown in the Hugo Docs, so that you can run them yourself. Not maintained by the Hugo Team.

Get Started

  1. Install Hugo
  2. Clone or download this repository.
  3. Open your preferred terminal and navigate to one of the examples folder.
  4. Run hugo (or hugo server).

Here's an example (requires git):

echo "checking git"
git version 
echo "checking hugo"
hugo version
git clone https://github.com/acanalis/hugo-examples
cd hugo-examples
cd functions-anchorize
hugo

Notes

  • The top level folders are valid Hugo folders (you can run hugo or hugo server in them).

  • The aim is to implement all the examples from this folder of the Hugo Docs.

  • The implementation is as true as possible to the original.

  • The implementation is as minimal as possible.

  • For consistency all the configurations and front matter parameter were converted to .yaml.

  • To keep the examples minimal, this warning is considered acceptable:

    WARN 2020/12/15 20:21:41 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

    To solve it, add a layouts/_default/list.html.

hugo-examples's People

Contributors

acanalis avatar

Watchers

 avatar

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.