-
Notifications
You must be signed in to change notification settings - Fork 19
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
Migrate blog.lfe.io to lfe.io/blog #105
Comments
So, after some deep exploration of Zola, I don't think I can easily do what I want to do with things as they are. This essentially boils down to how taxonomies are handled (e.g., "tags", "categories", "authors", etc.): the problem being that these are all processed at the top-level directory. For us, the top-level directory is the LFE site itself; the blog will sit under that. We want Two possible ways forward are:
I've been pondering this for about a day, and still haven't landed on a decision. Will continue to weigh and experiment ... |
I want to rule out the approach of separate
So, there will probably be a git submodule setup, regardless. Also, if any content or builder code ends up in two or more separate repos, there will definitely be a main repo to consolidate these resources and reduce maintenance overhead and increase the chance of contributions. Additionally, in Zola, we can't exactly duplicate the same URLs as those produced by the existing blog, though I did get them close. Witness: Current blog: Possible new URLs:
To get Zola to be that close took some hacking / metadata duplication that will have to be scripted with These options show there's not really a clear winner in approach, thus my delay in making a decision. |
Let's see what some competing solutions might look like: Approach 1All building done in one repo (
Approach 2Keep lfe.io and blog.lfe.io content and builder code separate. no git submodules
Approach 3Keep lfe.io and blog.lfe.io content and builder code separate, but share commonalities with submodules
Approach 4Move all content to lfe.io, use symlinks for shared resources (variation on Approach 1)
Approach 5Move all build code to lfe.io, use symlinks for shared resources, publish to separate repos (variation on Approach 1)
|
I think I'm leaning toward 4 or 5. The code that I'm working on right now can be adapted to either of these. Probably 4 would be easiest to start with, and if I land on 5 I can always to the little extra work to adapt 4 code to that needed for 5. |
Staging is now viewable here: |
Approach 6Don't have the tooling bend us into pretzels; use different tooling: |
This will:
Blocked by #104
Fixes lfe/blog#29
Branch epic/105/add-blog
Tasks:
/blog
Cleanup tasks:
Old tasks:
lfe/site-staging
)The text was updated successfully, but these errors were encountered: