Giter VIP home page Giter VIP logo

gallerydeluxe_starter's Introduction

Netlify Status

This is a starter project for the Gallery Deluxe Hugo Module. You need Hugo and Go to run this project.

  1. Click on use "Use this template" and give your new GitHub project a suitable name.
  2. Edit go.mod and replace the path with your new GitHub project's path1.
  3. Edit config.toml etc. to match your setup and replace the images inside content/images with your own.
  4. Add your custom logo in layouts/partials/logo.html

This starter projects can be previewd at gallerydeluxe.netlify.app. A bigger gallery can be found at staticbattery.com.

Note: This isn't a theme; it's meant to be used as a standalone Hugo project. You can edit/add/move files in this project as you please.

Update theme

Run hugo mod get -u to update to a newer version of Gallery Deluxe if one exists.

Footnotes

  1. I wish GitHub's template project feature had support for variable replacements.

gallerydeluxe_starter's People

Contributors

bep 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  avatar

Watchers

 avatar  avatar  avatar

gallerydeluxe_starter's Issues

deployment issues

Hello,

After adding some more photos lately I have noticed that the deploy is no longer functioning as expected. I also did an upgrade recently of the theme. Any idea what the issue could be? If anything I am happy to redeploy from a fresh version.

Thanks.

2:51:13 PM: Error: Error building site: failed to render pages: render of "home" failed: "/opt/build/repo/layouts/index.html:19:17": execute of template failed: template: index.html:19:17: executing "index.html" at <partial "gallerydeluxe/init.html" (dict "sourcePath" "images")>: error calling partial: "/opt/build/cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/bep/[email protected]/layouts/partials/gallerydeluxe/init.html:8:18": execute of template failed: template: partials/gallerydeluxe/init.html:8:18: executing "partials/gallerydeluxe/init.html" at <partial "gallerydeluxe/create-thumbs.html" .>: error calling partial: "/opt/build/cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/bep/[email protected]/layouts/partials/gallerydeluxe/create-thumbs.html:3:9": execute of template failed: template: partials/gallerydeluxe/create-thumbs.html:3:9: executing "partials/gallerydeluxe/create-thumbs.html" at <.Resize>: error calling Resize: this method is only available for image resources

Images inside content/images

I installed the theme as a module, added images to content/images and configured config.
Along with this, I get images of cars :) that are not editable.
What is misconfigured?

Logo change

I am using this template to make my website.
With beautiful girls :-)

How to change the logo correctly (I mean: "staticbattery.com") so that the settings do not fall off during the update?

failed to deploy started site in azure

looking at some of the other issues i ran "hugo mod clean" and this does not resolve the issue.

Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:19:17: executing "index.html" at <partial "gallerydeluxe/init.html" (dict "sourcePath" "images")>: error calling partial: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/bep/[email protected]/layouts/partials/gallerydeluxe/init.html:27:22": execute of template failed: template: partials/gallerydeluxe/init.html:27:22: executing "partials/gallerydeluxe/init.html" at <$20.Colors>: can't evaluate field Colors in type *resources.resourceAdapter

Thanks

The starter gallery does not build...

Start building sites …
hugo v0.110.0+extended darwin/arm64 BuildDate=unknown
Error: Error building site: failed to render pages: render of "home" failed: "/Users/thomas/Downloads/gallerydeluxe_starter-main/layouts/index.html:10:7": execute of template failed: template: index.html:10:7: executing "index.html" at <partial "gallerydeluxe/head.html" .>: error calling partial: partial "gallerydeluxe/head.html" not found

deployment issue can't evaluate field FNV32a in type interface {}

I had hugo and gallerydeluxe successfully working and build site on my Mac and Ubuntu but not working on my newly installed Ubuntu.

I git cloned : gallerydeluxe_starter - and when i compile it - it returns error like below- any clues?

go version go1.18.1 linux/arm64
hugo v0.92.2+extended linux/arm64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1

:hugo
Start building sites …
hugo v0.92.2+extended linux/arm64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1
Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:23:17: executing "index.html" at <partial "gallerydeluxe/init.html" (dict "images" $images)>: error calling partial: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/bep/[email protected]/layouts/partials/gallerydeluxe/init.html:22:35": execute of template failed: template: partials/gallerydeluxe/init.html:22:35: executing "partials/gallerydeluxe/init.html" at : can't evaluate field FNV32a in type interface {}

issue with bundle ID generation or slice of photos

This happens when I follow the install instructions of "use this template" - create a name for it, adjust config.toml and go.mod, etc. I have not replaced any of the images included. I cannot serve the site, hugo terminates after the Built message.

Start building sites … 
hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1
Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:23:17: executing "index.html" at <partial "gallerydeluxe/init.html" (dict "sourcePath" "images")>: error calling partial: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/bep/[email protected]/layouts/partials/gallerydeluxe/init.html:22:35": execute of template failed: template: partials/gallerydeluxe/init.html:22:35: executing "partials/gallerydeluxe/init.html" at <crypto>: can't evaluate field FNV32a in type interface {}
Built in 36 ms

My go.mod:

module github.com/wojakcafe/imagegallery

go 1.19

require github.com/bep/gallerydeluxe v0.11.1 // indirect

My config.toml is essentially unchanged besides title.

hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1
go1.18.1 linux/amd64

I'm going to try adding a repo for a newer version of go that will match with the 1.19 expected and see if that fixes it.

Noob issue

Hello,

I've never deployed a hugo site. I've followed in the instructions in the readme and then when i run hugo, i get this:

❯ hugo                                                                                                             х INT
go: no module dependencies to download
Start building sites …
hugo v0.108.0+extended darwin/amd64 BuildDate=unknown
Error: Error building site: failed to render pages: render of "home" failed: "/Users/home/git/hackers/layouts/index.html:10:7": execute of template failed: template: index.html:10:7: executing "index.html" at <partial "gallerydeluxe/head.html" .>: error calling partial: partial "gallerydeluxe/head.html" not found
Total in 1869 ms

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.