-
Notifications
You must be signed in to change notification settings - Fork 849
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
[i18n_subsites] STATIC_PATHS copied multiple times #180
Comments
Hi, thank you for pointing this out. |
Actually a simple fix is to set |
The problem with overwriting Btw the |
I think this would require something like the |
I was looking into this and I don't see a solution. All the intrasite links are made relative to the current |
@smartass101 I have code which should solve this problem. It still uses the old design (runnig pelican multiple times), but maybe it will help. I didn't posted this earlier because I am not pleased with it. Changes in Scheirle@0f574ad:
|
Doing something like that would be possible of course, but as I said before, it won't work with arbitrary |
Major highlights ................ - fixed and improved cross-linking (fixes getpelican#333) with URLs containing e.g. localized month names (thanks to issue getpelican/pelican#1198) - support for custom ``SITEURL`` and ``OUTPUT_PATH`` hierarchy (fixes getpelican#182) - sharing of static files (including those of the theme) among subsites (fixes getpelican#180) Technical highlights .................... - added a test suite (works with pelican 3.4) - translations are installed into Jinja2 environments of all generators - old locale is restored after generation, fixes autoreload The documentation has been updated and improved (mostly in terms of formatting). Known issues ............ - due to the redesign required for correct cross-linking, older versions of Pelican (<3.4) are not supported, because they lack certain signals - the ``HIDE_UNTRANSLATED_CONTENT`` setting has been deprecated in favor of the ``I18N_UNTRANSLATED_{ARTICLES,PAGES}`` settings which offer more control in order to fix getpelican#211. - the test suite works only with pelican 3.4, later versions add a timezone field to the date
Major highlights ................ - fixed and improved cross-linking (fixes getpelican/pelican-plugins#333) with URLs containing e.g. localized month names (thanks to issue getpelican/pelicangetpelican/pelican-plugins#1198) - support for custom ``SITEURL`` and ``OUTPUT_PATH`` hierarchy (fixes getpelican/pelican-plugins#182) - sharing of static files (including those of the theme) among subsites (fixes getpelican/pelican-plugins#180) Technical highlights .................... - added a test suite (works with pelican 3.4) - translations are installed into Jinja2 environments of all generators - old locale is restored after generation, fixes autoreload The documentation has been updated and improved (mostly in terms of formatting). Known issues ............ - due to the redesign required for correct cross-linking, older versions of Pelican (<3.4) are not supported, because they lack certain signals - the ``HIDE_UNTRANSLATED_CONTENT`` setting has been deprecated in favor of the ``I18N_UNTRANSLATED_{ARTICLES,PAGES}`` settings which offer more control in order to fix getpelican/pelican-plugins#211. - the test suite works only with pelican 3.4, later versions add a timezone field to the date
All files and folders in the STATIC_PATHS variable are copied in each subsite.
This is a huge problem if you have large files in it.
It would be better to just copy it once, but therefore correct the links in the subsites.
The text was updated successfully, but these errors were encountered: