-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant edit landing page #143
Comments
Have you tried deleting the theme's |
Only one problem. |
Ah ha. Yes this is a problem. I'll look at resolving this very soon (next update). |
The workaround doesn't work, by the way. It crashes out saying that a partial failed: This sucks. Followup: https://gohugo.io/templates/data-templates/ -- There's a note about this specifically:
|
I guess, there is something inside your configuration. Can you provide file. |
Here's the most minimal repro: hero:
enable: false
featureGrid:
enable: false The full error I get:
This tells me that it's making a guess as to what template, but moreover not checking if the section has But wait, the plot thickens! The following raises a New and Interesting error: hero:
enable: false
mycoolsection:
enable: false
template: asdf this causes a NEW bug to show up:
There's actually multiple bugs here:
Edit: it appears I was on an older version. Once I forced Hugo to use the release branch, it worked. |
What version or git commit did you use to get the workaround functional? I'm on version |
@aMytho Here is my version that works https://github.com/rusinikita/changes/blob/main/docs/go.mod |
That worked for me, thank you!
|
I think this problem happens only when you use lotus docs as a submodule? I faced the same problem today my configuration is like the below hero:
....
badge:
text: custom text
color: primary # primary, secondary, success, danger, warning, info, light, dark
pill: false # boolean
soft: true # boolean
featureGrid:
enable: true
weight: 20
template: feature grid
title: This is updated.
subtitle: Lotus Docs is a highly configurable Hugo documentation theme. Hero page was working fine it override it, but feature grid just won't work. but what I used this repo as a template, and everything started working. |
I'm facing the same issue. I've installed this as a Hugo Module following the instructions here. When I add my I've tried the workaround but also didn't work. I can provide more information on my context, if you tell me what you need :) |
Use the template from the repo of the docs itself @ManuelLevi |
Thanks @chapimenge3 I've copied the contents of these files (one at a time):
to my /data/landing.yaml. Neither of them worked. I can change the Hero, but nothing else. |
Past Issues Searched
Issue is a Bug Report
Describe the bug
I already edit landing.yml on data but its nothing change, i have problem on feature grid and image compare section. I also tried to change enable to false but its still showing them, thank you
Expected behavior
Fix so i can edit landing page and its not being templated again
Screenshots
Environment
The text was updated successfully, but these errors were encountered: