All Projects → kidsil → Hugo Data To Pages

kidsil / Hugo Data To Pages

Licence: mit
Generate pages from data on Hugo

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Hugo Data To Pages

Hugodocs
The source for https://gohugo.io/
Stars: ✭ 637 (+1416.67%)
Mutual labels:  hugo
Hugo Elasticsearch
Generate Elasticsearch indexes for Hugo static sites by parsing front matter
Stars: ✭ 19 (-54.76%)
Mutual labels:  hugo
Solar Theme Hugo
A port of solar-theme-ghost for Hugo
Stars: ✭ 37 (-11.9%)
Mutual labels:  hugo
Hugo Theme Jane
A readable & concise theme for Hugo
Stars: ✭ 669 (+1492.86%)
Mutual labels:  hugo
Hugo Social Metadata
Hugo theme component to add social metadata to your Hugo site with minimal configuration
Stars: ✭ 17 (-59.52%)
Mutual labels:  hugo
Hoor
Add Shamsi(Jalali) date to Hugo based websites with ease
Stars: ✭ 27 (-35.71%)
Mutual labels:  hugo
Actions Hugo
GitHub Actions for Hugo ⚡️ Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
Stars: ✭ 588 (+1300%)
Mutual labels:  hugo
Hugo Tanka
📝 A minimalist, text-oriented, and performant theme for Hugo/blogdown.
Stars: ✭ 40 (-4.76%)
Mutual labels:  hugo
Hugo Utilitybelt
A theme consisting of partials that can be added as a theme component for any Hugo site
Stars: ✭ 17 (-59.52%)
Mutual labels:  hugo
Redislabs Docs
Source files for Redis Labs Enterprise documentation
Stars: ✭ 37 (-11.9%)
Mutual labels:  hugo
Hugo Tranquilpeak Theme
A gorgeous responsive theme for Hugo blog framework
Stars: ✭ 686 (+1533.33%)
Mutual labels:  hugo
Hugo Theme Terminal
A simple, retro theme for Hugo
Stars: ✭ 832 (+1880.95%)
Mutual labels:  hugo
Hugo Debugprint
Hugo "debugprint.html" partial
Stars: ✭ 35 (-16.67%)
Mutual labels:  hugo
Wowchemy Hugo Modules
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, build with widgets! 创建在线课程,学术简历或初创网站。
Stars: ✭ 6,093 (+14407.14%)
Mutual labels:  hugo
Hunter
A fast, incremental, concurrent framework to develop compile plugin for android project to manipulate bytecode
Stars: ✭ 999 (+2278.57%)
Mutual labels:  hugo
Website
Let's Encrypt Website and Documentation
Stars: ✭ 629 (+1397.62%)
Mutual labels:  hugo
Dominhhai.github.io
My Blog
Stars: ✭ 8 (-80.95%)
Mutual labels:  hugo
Blog Pwa
An experiment in mixing Hugo, lit-element, and Polymer PRPL into a progressive web app blog.
Stars: ✭ 41 (-2.38%)
Mutual labels:  hugo
Slick
A fast, minimal, responsive theme for Hugo which honours your privacy
Stars: ✭ 41 (-2.38%)
Mutual labels:  hugo
Gh Actions Hugo Deploy Gh Pages
Github Actions : Hugo static site generator
Stars: ✭ 37 (-11.9%)
Mutual labels:  hugo

Hugo Data to Pages

Allows for generating pages (or any archetypes) from data (json/yaml) on Hugo. Related to issues #140 and 5074.

Getting Started

This script is a simple wrapper that:

  • Generates the pages under your content folder
  • Runs Hugo
  • And finally, removes the generated pages

The entire script is in hugo.js, the example/ is just an example hugo site.

Prerequisites

  • hugo
  • node & npm

Installing & Running

  • Run npm install to install dependencies
  • Run node hugo.js to build
  • (optional) Run chmod +x hugo.js to allow for direct execution, i.e. ./hugo.js
  • Go to localhost:1313 to see links to the generated pages

Commands

There are 3 available commands:

  • ./hugo.js (basically hugo build to public directory)
  • ./hugo.js generate (only generate folders/files from data, same as above but without executing hugo build)
  • ./hugo.js server (basically hugo server, with cleanup on exit)
  • ./hugo.js clean (trigger cleanup in case the script didn't remove the generated folders)

Flags:

  • -c FILE.json or --configFile FILE.json flag to override default config (check hugoConfig-example.json)
  • -f or --force flag to skip folder removal prompts (be careful with this one!)

Author

kidsil

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].