hextra icon indicating copy to clipboard operation
hextra copied to clipboard

Custom attribute from front matter for side menu title

Open mnlbox opened this issue 1 year ago • 1 comments

Feature Description Hi,

I would like to use .Date variable of page for side menu text value. As I checked title.html partial it seems you are using filename value as fallback. How can I change this behaviour and overwrite this partial without forking Hextra? https://github.com/imfing/hextra/blob/7b7eb0f1f32c401d5f76337b32af4996cfc67d94/layouts/partials/utils/title.html#L16

Sorry if it's simple, I'm new in Hugo.

Problem/Solution

Alternatives Considered

Additional Context

mnlbox avatar Oct 30 '24 19:10 mnlbox

https://discourse.gohugo.io/t/how-to-override-a-themes-partials/47227

imfing avatar Oct 30 '24 19:10 imfing