-
Notifications
You must be signed in to change notification settings - Fork 24
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
Static Site Generator #85
Comments
I am interested. Since Cypht is in PHP, I'd prefer something in PHP so we can easily upstream enhancements. Also, Cypht uses Bootstrap, so this would also be our ideal choice. Any SSGs to recommend? |
I have to admit I'm less familiar with PHP SSG's than others, but I can definitely take a look into it! I'm personally partial to Eleventy due to its minimal setup/clutter, but it relies on Node.JS, which not be preferable. |
Ok, thanks. Let's first explore PHP options. |
Hi! Some testing out of PHP-powered ssg's found on jamstack.org. Possibility:
Not great options:
Feel free to let me know if any of the options sound good, and I'll try to recreate this website into that ssg. |
Maybe I will regret writing this, but I am OK with that, as I don't expect we need more than Markdown. |
Yeah, it’s the weighoff of no extra tool required to build the website vs freedom of content formatting. Unless further notice I’ll try to make a cypht-website fork and you can see how it looks post-markdown-translation. (Although, now I’m thinking about it, won’t a markdown limitation mess with bootstrap class utility? I’ll try to check if html-in-markdown works for Cecil) |
Hey hey! Early draft, but here you go: deployment & repo/branch
If the new repo structure looks good to you, I'll move the rest of the content into it! Otherwise, no harm no foul. |
Great! Please proceed!
Please merge the code as soon as you are ready. cypht.org auto-updates (not sure the frequency but at least once per day). If there are any issues, we can iterate after that. It will be much more fun with a SSG :-) Thank you very much! |
Will do! Should be within the next days if that's alright. Public reminder for once this gets merged, gotta remember to change the Pages configuration to "from branch" to "from Actions" Sounds good 😌 My pleasure! |
Super! I highly recommend FOSDEM! I added info about Cypht related topics: cypht-org/cypht#1396 |
@marclaporte Due to Cecil's pretty urls & GitHub Pages handling of it, as it stands now: Is this an okay trade-off for pretty urls, or do you prefer if it is turned off for the sake of preserving old links? |
I prefer pretty URLs. Can we have 301 redirects?
Is there a canonical tag? |
No canonical tag as of now, can be added though! What's your preferred notation?
Update: explored, changes visible in PR. Is not a full 301 (since I don't know if that's possibly with a static site unless you use nginx/caddy, but I'd love to be proven wrong), but it does redirect users. Newer update: everything done aside from canonical url & linking towards them! |
cypht.org/security |
Alright, that's updated, PR is now ready! |
Well done! I asked @Baraka24 to review. Thanks! |
Is there any interest in using a static site generator (e.g. Eleventy, Jekyll) to allow general layout changes to happen easier? Or is the current html system intentional/preferred?
The text was updated successfully, but these errors were encountered: