ravynsoft / website

ravynos.com web pages
https://ravynos.com/
6 stars 6 forks source link

Migrate to 11ty #6

Closed nayaabkhan closed 3 years ago

nayaabkhan commented 3 years ago

This is a minimal 11ty migration. Mainly to make it easy to review. But, we can do a lot more on top of it, like refactor layouts, fetch the changelog from GitHub, etc.

Some important notes:

Closes #3

mszoek commented 3 years ago

I don't actually have a paid account at Surge either :) Does this PR play nicely with the redesign work that @llui85 has done in PR #1?

nayaabkhan commented 3 years ago

I don't actually have a paid account at Surge either :)

Oh, shoot. Then we can't use ROUTE file because it seems that's a paid feature. Let me think of something else.

Does this PR play nicely with the redesign work that @llui85 has done in PR #1?

Yes, it is compatible with work done in #1. There will be a few conflicts but I can rebase this work on top of it.

~I'm also thinking of trying a few other SSGs so there's no hurry pulling this.~ ☝🏼 I wanted to give SvelteKit a try but I may not get the time to do this any time soon. Maybe, I'll come around later this week or next week.

nayaabkhan commented 3 years ago

Let me think of something else.

So @mszoek, I can think of these:

  1. Stay with URLs ending with .html: I can use the 11ty permalinks to generate URLs just like how they are now.
  2. Fix the URLs but stay free as in free 🍺: We can switch to another provider like Netlify that supports redirects in their free tier.
  3. Fix the URLs by paying surge.

If you ask me, I would recommend switching to Netlify or similar.

mszoek commented 3 years ago

I'm totally good to switch to Netlify.

mszoek commented 3 years ago

Cool cool... I'm going to merge #1 now because it's way nicer than what I had. I will set up Netlify later today for the future evolution on this branch.

nayaabkhan commented 3 years ago

Going to re-open this in another PR based on the recent changes on main.