Comments (5)
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? ๐คจ
from mycorrhiza.
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.
from mycorrhiza.
The default robots.txt disallow all user-agents but people probably wants their wiki to be available on search engines.
And personally, don't want to run a server only to serve one file.
So being able to replace it completely would be great.
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.
from mycorrhiza.
For example, completely redefine styles,
You can do that, see file structure docs. static/default.css
is the file you need to make.
For the styling it's easy to simply overwrite the defaults with the custom.css file.
See above.
The default robots.txt disallow all user-agents but people probably wants their wiki to be available on search engines.
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, robots.txt
can be redefined. I didn't remember that! I think I should make it more transparent and known.
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.
I don't think it's true. Can you please provide a reproduction instruction?
from mycorrhiza.
This is not true, Mycorrhiza is seen in search engines.
Sorry it was probably a problem with my browser cache.
robots.txt
can be redefined. I didn't remember that! I think I should make it more transparent and known.
I just tried it to remove ChatGPT from my website and I can confirm that it works. Maybe all that is missing is some docs.
from mycorrhiza.
Related Issues (20)
- External links with a globe icon should always be on the same line HOT 7
- Add local time buttons in the editor
- Interwiki transclusion
- Can't remove media file from hypha HOT 4
- Math/LaTeX support in markup HOT 2
- Decrease tab-size HOT 1
- Search in hyphae content HOT 3
- Auto rename backlinks HOT 9
- Mycorrhiza 1.15.1 HOT 1
- Save and edit
- Very technical error message, when trying to edit a hypha being logged out HOT 2
- A future Zero TODO comment policy HOT 1
- Shortcuts like Cmd+A and Cmd+C misbehave critically
- Golang version bump to v1.22 not needed? Broken Win7 compatibility HOT 1
- Embed Fediverse posts HOT 1
- Redesign auth forms HOT 2
- Rethink category editing
- Add a way to view all top-level hyphae
- Relative link to help page appears as a red link
- Disable contacts autocomplete in Safari
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mycorrhiza.