{"id":55946,"date":"2026-03-23T11:34:11","date_gmt":"2026-03-23T09:34:11","guid":{"rendered":"https:\/\/www.main-vision.com\/richard\/blog\/?p=55946"},"modified":"2026-03-26T11:34:37","modified_gmt":"2026-03-26T09:34:37","slug":"experimenting-with-eleventy","status":"publish","type":"post","link":"https:\/\/www.main-vision.com\/richard\/blog\/experimenting-with-eleventy\/","title":{"rendered":"Experimenting With Eleventy"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p>One nice thing about switching from WordPress to Eleventy is that I start with a blank slate. By this I don&#8217;t mean that I start with nothing, because Eleventy does a lot. What I mean by this is that I can use APIs and other tools with greater ease than if I was experimenting with WordPress.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Federation example<\/h2>\n\n\n\n<p>With WordPress I need to use the activitypub plugin which seems to depend on the Jetpack plugin to function. The result is that I&#8217;m jumping through two hoops. With a few lines of JavaScript and a file called share.js, I can use Mastodon&#8217;s API via my site, to share a blog post. At this moment I&#8217;m sharing a thumbnail and the post but later I will experiment with adding two or three preview sentences. I want people to get a taste before clicking.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Strava Experiment<\/h2>\n\n\n\n<p>This morning I went for a group run, and on Saturday I went on a group ride. Within a few days I can design my blog so that my daily ride\/run\/walk or other sport displays beneath the day&#8217;s blog post. If I share photos, then you will get a contextual understanding of where I was, and what I saw.<\/p>\n\n\n\n<p>I was experimenting with plugins on WordPress but they are not that malleable. You need to use them in a specific way. If I deal with the Suunto, or Strava API directly, then I have more control on how sporting activities are displayed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Learning Opportunity<\/h2>\n\n\n\n<p>Part of the lure of switching from WordPress to Eleventy is the learning opportunity. It&#8217;s an opportunity to extend my understanding of CSS, JavaScript, APIs and more. It is also an opportunity to experiment with a much lighter user experience, both for me as a blogger, but also for users of the site. No massive PHP and react overhead.<\/p>\n\n\n\n<p>With the current workflow I can work from within terminal, only using the web browser to check the result.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">And Finally<\/h2>\n\n\n\n<p>When I was playing with Eleventy the first time I got stuck. This time I didn&#8217;t, thanks to Gemini. Before, I had to RTFM and try to decipher what was happening. When I got an error code I had to google for it, and often it would throw me to forums where I had to read dozens of responses without finding something that I understood.<\/p>\n\n\n\n<p>Now when I get an error code I cut and paste it and I get instant help. It saves time, and lowers the barrier to entry.<\/p>\n\n\n\n<p>Having said this, there are plenty of occasions where Gemini wasted hours of my time. There are times where you get an error and gemini will say &#8220;try this&#8221; and suggest trying the same thing three or more times. That&#8217;s why I eventually gave up with the Eleventy Activitypub plugin. I was tired of making no progress.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A Quick Thought on Agentic AI<\/h3>\n\n\n\n<p>With what I have seen, experimenting with Gemini and Activitypub I feel concern for people using Agentic AI. My experiment is to see how far I can get using free AI models, rather than paid ones. If I was paying for Gemini, and I saw the loops that I saw, over the last week or more, I&#8217;d be frustrated. With Euria, Le Chat and other AI models I ran out of tokens before they provided me with the end result I was looking for.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Learning about Eleventy, JavaScript and APIs is part of the learning experience, but so is learning to get great answers from Gemini and other AI models, with a minimum amount of wasted time, energy, and prompts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>One nice thing about switching from WordPress to Eleventy is that I start with a blank slate. By this I don&#8217;t mean that I start with nothing, because Eleventy does a lot. What I mean by this is that I can use APIs and other tools with greater ease than if I was experimenting with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":31129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[255],"tags":[5883,5143,1094],"class_list":["post-55946","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-swiss-walks","tag-eleventy","tag-experimenting","tag-learning"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/55946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/comments?post=55946"}],"version-history":[{"count":1,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/55946\/revisions"}],"predecessor-version":[{"id":55947,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/55946\/revisions\/55947"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media\/31129"}],"wp:attachment":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media?parent=55946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/categories?post=55946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/tags?post=55946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}