Skip to content
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

no styling on with my config #86

Closed
tshepang opened this issue Jul 23, 2022 · 4 comments
Closed

no styling on with my config #86

tshepang opened this issue Jul 23, 2022 · 4 comments

Comments

@tshepang
Copy link
Contributor

Am using zola v0.16 and cannot see styling for my blog. I think js is not working either, because search results in no output.

The blog is here https://github.com/tshepang/blog/tree/abridge... hopefully you will find something obvious.

@Jieiku
Copy link
Owner

Jieiku commented Jul 23, 2022

Thanks for the report!

Will take a look at it this evening (6-8 hours from now), let you know what I find then.

Edit: did not get a chance to look yet, hopefully I can in the morning.

@Jieiku
Copy link
Owner

Jieiku commented Jul 24, 2022

The issue was that you tried to configure only a few things. If you had copied the config.toml from abridge into your main site and made a few adjustments at a time you would see that it would have worked. I submitted a pull request for you that served without issue when I did zola serve. You may also want to only comment out the things you dont use instead of removing them from the config, otherwise it may be difficult to tell what has changed or been added to this file next time you update, if you simply comment out lines you can more easily diff the changes.

What I can probably do is make abridge fall back to default values for certain things. Once I have some free time I will see about doing this for some of the config values. Abridge has MANY config values, and a lot of them will not fall back to a default if they are missing, so in the case of your styles and JavaScript, they did not load because you did not have the relevant sections from the config.toml

@Jieiku Jieiku closed this as completed Jul 24, 2022
@tshepang
Copy link
Contributor Author

Thanks for this, but yeah, the config is massive, so would be nice for it to have defaults... I like only seeing the changes I care about tweaking. As for the concern of missing upcoming changes, it should not be a big issue, because I can always check commit history (or maybe changelog entries if lucky).

@Jieiku
Copy link
Owner

Jieiku commented Apr 28, 2023

This has been implemented as part of the refactor effort, will be a bit before I merge it into the main repo.

#105

git clone --branch refactor https://github.com/Jieiku/abridge
cd abridge
zola serve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants