There is something wrong with this line #949
andrewwhiteingale
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
vichan/templates/themes/index/index.html
Line 10 in 4927644
its not a technical error it is another type of error with twig and caching I don't know honestly I tried everything to fix it but the problem is css does not function properly for index page
I tried creating new config, the error is still the same.
Issue.
Whenever twig replaces html for some unknown reason correctly yet the cache doesn't update html page but specifically it doesn't update css.
no, it is not browser cache, that's the weirdest part. sometimes it keeps switching between different stylesheets as well.
I will repeat what Ive said, basically the config itself correctly changes the twig and anything on index changes respectively in the html file that people view with exception of the css which does not change despite it being changed in the page Anyway Ive concluded index.html theme is not wanting to update in the first place.
>TLDR IGNORE EVERYTHING ABOVE
turns out it loads header.html
My original suspicion was that board configs for style mess up with it. so Ive simply made {% if config.index_stylesheet[1] != '' %}
then I went to header.html, page.html and other genetic templates and swapped it from default to index.stylesheet that way its made things work out˙✧˖°ʕ•ﻌ•ʔᡣ𐭩⋆。˚
However, I don't understand why rebuilding from /themes/index fails? I thought it should be the same as global rebuild.
whatever, I am so goddamn fucking tired dealing with this shit I am just glad it finally updated
TL;DR
make $config[index_stylesheet] to configure the index page.
ʕつ╥﹏╥ʔつ
Beta Was this translation helpful? Give feedback.
All reactions