halogenica / beautifulhugo

Theme for the Hugo static website generator
Other
1.13k stars 601 forks source link

Position attribute documented in exampleSite config.toml doesn't do anything #457

Open WJBarnes456 opened 1 year ago

WJBarnes456 commented 1 year ago

In exampleSite's config.toml, there is a documented "position" field of Params.bigimg https://github.com/halogenica/beautifulhugo/blob/33fdbfed9219de3b30ab4e68c9d3a832038e7c4e/exampleSite/config.toml#L39

Configuration for applying this position attribute is implemented by the Javascript in main.js https://github.com/halogenica/beautifulhugo/blob/33fdbfed9219de3b30ab4e68c9d3a832038e7c4e/static/js/main.js#L124, but populating the required data-img-position-$n attribute is not implemented anywhere in the theme.