I see " * Side-project development logs" in “About the computing talkgroup,” so here goes!
Code: GitHub - judytuna/spot-to-11ty
Screenshot of the Wordpress site, https://spottheoctop.us/ currently:
New 11ty site with no styling yet up at All Posts :
I’m using these tutorials:
-
Taking WordPress to Eleventy - Josh Can Help
- comprehensive
- explicitly does not copy over comments.
- instead of their export-to-markdown script, i used the WP plugin “WP Gatsby Markdown Exporter” Export WordPress Content to Markdown and Gatsby | Tina Blog which i found from duckduckgo searching a few weeks ago when helping a friend convert their wordpress to 11ty
- i used their starter code: GitHub - joshcanhelp/wordpress-to-11ty: Sample Eleventy structure using WordPress data
-
How To Migrate From WordPress To The Eleventy Static Site Generator — Smashing Magazine
- using this for reference
-
Exporting Disqus Comments and Adding Them to Eleventy
- i don’t use disqus, but i found this while i was searching for “export wordpress comments to eleventy”
- this post is how i found out about Webmentions: Webmention - IndieWeb
- now i’m sidetracked adding IndieWeb to my personal wordpress blog
-
How to Deploy Eleventy to GitHub Pages With GitHub Actions | rockyourcode
- you must set a
path prefix
to view your site if you’re using github pages as a user (or organization), because the default pages url is .github.io/- 11ty docs on path prefix: Configuration — Eleventy
- i used this for a while, then stopped because i added a custom domain
- example
.github/workflows/eleventy-build.yml
file is very helpful - further reading section with links at the bottom is also very helpful
- you must set a
-
Build Eleventy Using Github Actions and Github Pages
- another example
eleventy-build.yml
file to use with Github Actions
- another example
-
https://danielcanetti.com/blog/eleventy-github-pages/
- a really simple example of using Github Actions, again
-
Make the Jump from Jekyll to JavaScript • stedman.dev
- more example Github Actions config
- GitHub - peaceiris/actions-gh-pages: GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
Deployment flow, as I understand it (which is not completely):
- push to github
- triggers a github action, which follows
eleventy-build.yml
- builds it to a
docs
folder somewhere on some linux server, i don’t know lol - copies the
docs
folder over to my branchgh-pages
- adds a CNAME file to
gh-pages
- serves root at
gh-pages
to my custom domain (i’m usingspottheoctopus.com
as my “staging” server for now)