Closed rufuspollock closed 1 year ago
@rufuspollock nextjs redirects in netlify don't seem to work.
According to their docs: https://docs.netlify.com/integrations/frameworks/next-js/redirects-and-rewrites/
netlify.toml
or _redirects
folder in public@khalilcodes shall we try first adding the runtime plugin.
@rufuspollock added the runtime plugin and also replaced redirects to rewrites in next.config.js
but still doesn't seem to work.
So the workaround solution for now would be to add a _redirects folder in public where we can also add /:year/:month/:date/:slug /blog/:year/:month/:date/:slug
as specified in their docs here - https://docs.netlify.com/routing/redirects/redirect-options/#placeholders
@khalilcodes ok let's do workaround for now i.e. use _redirects folders.
@khalilcodes i think redirects stuff should be in #259 as that is where redirects task is. Can you confirm this is now working - see my comment there https://github.com/life-itself/community/issues/259#issuecomment-1401100516
@khalilcodes can you estimate time for the fixes item per task.
@rufuspollock just flagging that I have cleaned this up to represent only immediate next steps which need to be completed. I have moved other tasks into epic #170 and currently cleaning that up too
@khalilcodes how are you getting on with this issue?
categories have gone away - what do we do? lifeitself.org/category/institute/conscious-parenting 🚧 2023-02-02 create filter on blog page for categories which follows url category structure
@khalilcodes @nathenf i would suggest we defer this until we have a proper working tag system for the blog rather than create search filter etc. so suggest this go out of this issue - imo it is not urgent in next steps.
UPDATE: have removed this from acceptance and moved to #170
Ditto #264 can move to an item in #170 and need not be in here (it is a substantial bit of work and not urgent and needs proper analysis and relates to functionality in flowershow).
UPDATE: DONE. Removed from description and moved
Ditto for #317 - which can be hoisted to #170 and is not high priority IMO.
UPDATE: DONE. Removed from description and moved
Add latest posts slider block to homepage below contributors @khalilcodes use tailwindui.com/components/marketing/sections/blog-sections#component-720cf60b960fecb99c45f462f24db2d9 with see more button below that links to blog page
Can we make this a distinct issue. I believe we already implemented something like this on web3 for the deep dives etc. For now i'd even live with this being hardcoded (as it started out on web3) and later we can add feature to select the posts we want.
Aside: more i think more i think latest posts is less important than "key posts" or something for now which makes hard-coding even simpler.
UPDATE: @khalilcodes had already just submitted a PR #333 for this when i wrote this. Left comment in #333 and for now we can go with that.
@khalilcodes @nathenf i'll leave you to do any final tidying / updating and close this. Well done on getting this all shipped 🚢 👏
@khalilcodes @nathenf also please can we get an update on actual time spent on this (to give a rough sense of how much time we are spending on the site atm).
FIXED - All items complete leading onto #334
We have launched the new site. This is a capture issue for immediate next steps that are related to getting back to similar status of what we had before.
Parent #170
Acceptance
assets
folder (from old hugo site repo ?) (see list in notes below) ✅ Located all pdfs and uploaded to assets see #318Tasks
Fixes
blog/YYYY/mm/dd/...
resolved in commit https://github.com/life-itself/community/commit/901098761e90a00692d9ba150a9453c9e39fcda1 (~1h)/people/{name}/
✅ 2023-01-30 redirects added (~5mins)image:
frontmatter and then the actual image once in the markdown ✅ 2023-01-30 fixed (for blog pages) with commit d12bae7 (~30mins)Extra
Next Steps After Go Live
Notes
List of old PDFS