Skip to content

bep/galleriesdeluxe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Status

Note: The photos in this repo are not for reuse. They are used for demo purposes only.

See the demo at galleriesdeluxe.netlify.app.

This is built on top of and the plural version of gallerydeluxe.

I will create a starter template for this theme later, but for now see the exampleSite folder.

Configuration

See vars.css for a list of CSS custom properties.

These can be overridden either via Hugo config or by adding a CSS file to your project:

  1. In your Hugo config via params.galleriesdeluxe.cssvars (highest priority):
[params.galleriesdeluxe]
    [params.galleriesdeluxe.cssvars]
        color-background = "#1d1e2c"
  1. By adding a assets/css/galleriesdeluxe/vars-custom.css file to your project.

Don't want category navigation?

Add this to your hugo.toml:

disableKinds = ["taxonomy", "term"]

Sass was replaced with CSS in v0.6.0

Starting with v0.6.0, this theme uses plain CSS with css.Build instead of Sass. Dart Sass is no longer required.

If you have customized the theme, you need to migrate:

  1. Rename your assets/scss/galleriesdeluxe/vars-custom.scss to assets/css/galleriesdeluxe/vars-custom.css.
  2. Convert Sass variables to CSS custom properties, e.g. $color-primary: #3a98b9 !default; becomes --color-primary: #3a98b9; inside a :root {} block.
  3. Rename params.galleriesdeluxe.sassvars to params.galleriesdeluxe.cssvars and remove params.galleriesdeluxe.sass_transpiler from your Hugo config. Note that the variable names are now CSS custom property names (e.g. color-background instead of color_background).
  4. If you relied on the automatic light/dark text color (the old dc mixin), set --color-text and --color-text-footer explicitly in your vars-custom.css.

About

Multi gallery Hugo theme.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors