-
Notifications
You must be signed in to change notification settings - Fork 23
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
Replace default static files #225
Comments
For now you can redefine static files with a reverse proxy. Some people use nginx for that. The question is, why would one want to replace these files? 🤨 |
For example, completely redefine styles, or redefine robots.txt the file. So that the styles are not formed as a large file, which then needs to be repeated to redefine all incoming elements. |
The default robots.txt disallow all user-agents but people probably wants their wiki to be available on search engines. For the styling it's easy to simply overwrite the defaults with the custom.css file. Set all the values that exists in the default style. But the result can be a bit bloated. |
You can do that, see file structure docs.
See above.
This is not true, Mycorrhiza is seen in search engines. For example, in Duck Duck Go. In the default robots.txt, you can see that only the following subset is indexed: Allow: /help/
Allow: /hypha/
Allow: /recent-changes
Allow: /list
# the rest is Disallow I'm not a big fan of tens of spiders triggering Git for outdated historic content, so I limited the indexed scope to the useful stuff only. Moreover, turns out,
I don't think it's true. Can you please provide a reproduction instruction? |
|
Currently, a file system from two sources is used for static files:
according to the Open function used, the search is performed by sources in the specified order. And if the file was found, it just comes back.
As a result, if we have a file in the source of the embedded files, we cannot redefine it, that is, there is no way to simply replace it if necessary.
How about starting to sort through the sources starting from the directory? And in the event that there is no specified file in it, should I search in the embedded?
This will make it much easier to manage styles, scripts and the same files, robots.txt for example.
The text was updated successfully, but these errors were encountered: