Posts tagged "blogging"

Lazy loading images in 11ty/eleventy

Published on
#javascript #eleventy #seo #blogging 

Here I want to show how you can create your own 11ty plugin.

Below I'm going to illustrate how to lazy load images using Eleventy plugins.

Switching to CloudFlare Pages, from AWS S3 + CloudFlare DNS

Published on
#blogging 

Read more about my experience switching the static hosting for this very site.

Namely from a combination of AWS S3 + CloudFlare, to only CloudFlare Pages.

Will get into hiccups, overall experience and ease of use.

Simple Static site/blog search in 14 Lines of JavaScript

Published on
#javascript #blogging 

This is my approach to a purely client side search feature for static blogs and sites.

I am currently using this under /posts to let readers search through my blog posts.

Read more below about how to integrate it in your site.

Comments on cri.dev are BACK

Published on
#blogging 

YES!

Comments are back, and I'm curious to see if this can spark some interesting discussions and be worth the hassle of self-hosting the comments.

Notes on 'Blogging for Business'

Published on
#blogging #marketing #business 

Here you can find my notes about the course "Blogging for business" by ahrefs.com

I highly recommend following the step by step course to convert your blogging from a waste of time to a source of potential customers and sales.

Validate your RSS feed

Published on
#rss #testing #CI #blogging 

Today a dear user made me aware that my RSS feed broke. There was a XML Parsing Error for cri.dev/rss.xml.

ASAP after work I checked the validity through validator.w3.org/feed/ and in fact there were some issues with it.

Using ┬Ácompress to dramatically optimize static assets

Published on
#javascript #blogging 

┬Ácompress is a lovely utility by WebReflection that compresses common static files.

A micro, all-in-one, compressor for common Web files

Using it since commit ce0a9e on this very website, in my GitHub Actions workflow.

devblog: yet another static site generator, seriously

devblog is yet another lightweight static site generator.

Although there are widely used SSG like 11ty (which this blog was previously based on), Jekyll (also previously used), GatsbyJS and many others, I wanted to get my hands dirty and understand how to make the process of building a static blog even simpler, if possible.

Even simpler in the sense of "it does just what I need and nothing more".

Install via npm i -g devblog or create a blog with a one-liner npx devblog init my-new-blog, cd my-new-blog and serve with npx http-server _site 8080. It's that easy.

Rebuild the blog by running npx devblog (or npm i -g devblog and then just run devblog in the main directory)

Continue reading my story of building devblog.

Don't miss out on special content for my subscribers.


View the past editions of my newsletter