-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
Override the theme settings #102
Comments
Can you rephrase the question and explain what you want to do, not what you want to override? |
I have the same issue. I have added the following in
The menu correctly updates to show |
Meanwhile a configurable sidebar comes around... I ended up using the I generated the patch using This will break every minor version, but it's better than what we had in Hexo 4. This also doesn't work in all environments, like yarn with protected node_modules, PNMP, shared node hosts like Runkit or Glitch. // My package.json
"re-install": "echo 'Node Bug Workaround.' && rm -r node_modules && npm install",
"postinstall": "rm -r node_modules_orig || :; cp -a node_modules node_modules_orig",
"prebuild": "git apply -p2 --directory='node_modules' patch || echo 'Patch already applied?'",
"build": "hexo generate",
"postbuild": "git diff --no-index node_modules_orig node_modules > patch || :", |
Understood! Not sure what you are proposing? |
This is primarily a problem with the Hexo API at this point. Though I've seen them state it's a problem with the theme. With the _config.landscape.yml Hexo 5 endpoint, We currently have no exposed way of removing the Archived menu link, or removing any widgets. I think what Hexo folks want us to do is use minimal defaults, unless the theme is completely unconfigured. One way to do that would be to use have a minimal _config.yml, and with softlogic, such as checking if |
Hello,
In my _config.yml I can override the menu settings but not the sidebar parameter.
Has the override limitations for this theme ?
The text was updated successfully, but these errors were encountered: