aerohub / hugrid

Hugrid (Hugo+grid) is a simple grid theme for Hugo. It's a kind of boilerplate to perform anyone or anything quickly. Portfolio, collection, bookmarks, contacts and so on.
MIT License
166 stars 79 forks source link

new box-grid #14

Closed Karolinehc closed 6 years ago

Karolinehc commented 6 years ago

Hello there @aerohub :) please Can you tell me what I must type on the command line windows to appear a new box or grid? I have added it on the configuration items tolm a new "items" but it hasn't worked, Any indication would be appreciated

aerohub commented 6 years ago

Hello, @Karolinehc You have to copy exampleSite folder content to your project root. Then fill file data/items.toml with your data. You may delete unnecessary example items and add yours according this structure:

[[items]]
title = "..."                                # title of your box
image = "images/full/..."                    # full image url
thumb = "images/thumbs/..."                  # thumbnail url
alt = "..."                                  # alt attribute for image
description = "..."                          # short text description
url = "..."                                  # button url

And then run hugo server -w on commandline to see your grid in action. When your grid is ready run hugo to build everything. Youl find your grid files in public folder in the root of your project

Karolinehc commented 6 years ago

Thank you very much, @aerohub I will follow your advice :) if I have another question I will ask you.