Skip to main content

29 posts in 'Shortcodes'

Adding Random Content Using Eleventy

Learn how to use Eleventy to add dynamic, random content like film quotes or targeted Q&A sections to your website. A step-by-step guide with practical examples and code snippets.

Dec 13, 2024

Categories: Data CascadeHow to...Nunjucks/MacrosShortcodes

Integrating Jupyter Notebook Cells in Eleventy Posts

Blog about programming, scientific machine learning and the related techniques and methods.

Nov 13, 2024

Categories: How to...ImagesPluginsShortcodes

Dynamic social share images using Cloudinary

Automatically generate unique Open Graph images for each page of your website

Oct 24, 2024

Categories: ImagesShortcodesSocial Media

Building a Blog with Eleventy (blind, any%)

I recently felt like getting back into blogging. But setting up and maintaining WordPress felt like more than I was looking for. I was looking for something much simpler. Preferably file-based and with Markdown support. That was my introduction to Eleventy.

Oct 19, 2024

Categories: BloggingCSS/SassCollectionsConfigurationData CascadeFiltersGetting StartedGlobal DataLayoutsMarkdownNavigationPaginationPluginsShortcodes

Dynamic Importing with Eleventy

After organising Eleventy filters, shortcodes etc I had an idea to tidy the code even more and make it dynamic. I wanted to automatically import any new functions that were added, including…

Aug 28, 2024

Categories: CollectionsConfigurationFiltersHow to...Shortcodes

Organising Eleventy Filters, Shortcodes and more…

I work a lot with the Laravel framework, which scaffolds much of your initial setup and has conventions for where code should be stored. Starting a brand new Eleventy project from scratch do…

Aug 22, 2024

Categories: ConfigurationFiltersHow to...Shortcodes

Using templates, shortcodes, and the Eleventy supplied data for highlighting the current page in navigation

Jul 6, 2024

Categories: CSS/SassHow to...Shortcodes

JavaScript code to convert Obsidian image links to Nunjucks short codes.

May 29, 2024

Categories: How to...ImagesShortcodes

Getting started with Eleventy

The missing getting-started guide for the Eleventy (11ty) static-site generator.

May 27, 2024

Categories: Asset PipelinesConfigurationGetting StartedLayoutsShortcodes

Upgrading to Eleventy 1.0.1

If it ain’t broke, clearly you gotta fix it.

May 1, 2024

Categories: ImagesMarkdownShortcodesUpgrading

How I Eleventy

Documenting a refactor that introduced a folder structure and configuration changes, which summarises how I Eleventy.

Mar 13, 2024

Categories: ConfigurationHow to...LayoutsMarkdownPermalinksShortcodes

Refactor by shortcode

I decided to take on some overdue refactoring of the 11tybundle.dev site. Here's what I did.

Feb 20, 2024

Categories: FiltersHow to...Nunjucks/MacrosShortcodes

Image Optimization In Eleventy

writings of a coder + sysadmin

Jun 23, 2023

Categories: How to...ImagesShortcodes

11ty image shortcode best practice

Quick reminder to myself about how to use the 11ty shortcode for images

Jun 6, 2023

Categories: ImagesHow to...MarkdownShortcodes

CAUTION

The posts below were published before the release of Eleventy v2.0.0 (Feb 8, 2023). Information in these posts may be out of date. The current stable release is 2.0.1. Eleventy v3.0 is currently under development and available for testing.

Eleventy - Shortcode for Embedding Codepen

Don't know what eleventy is? Before you read further, check out this amazing series of articles by... Tagged with webdev, javascript, beginners, eleventy.

Jul 7, 2022

Categories: How to...Shortcodes

Using Storybook With 11ty

Storybook is great for component-driven development. This blog post shows you how to use Storybook with 11ty.

Apr 6, 2022

Categories: How to...ShortcodesWebC

CAUTION

The posts below were published before the release of Eleventy v1.0.0 (Jan 9, 2022). Information in these posts may be out of date. The current stable release is 2.0.1. Eleventy v3.0 is currently under development and available for testing.

Enabling Emoji Shortcodes in Eleventy Markdown Files

Turn on emoji shortcodes in markdown files in Eleventy by adding the markdwon-it-emoji plugin.

Nov 24, 2021

Categories: How to...MarkdownShortcodes

Using Nunjucks shortcodes in Markdown files in Eleventy

Unlock the power of Eleventy Image in your md posts

Jul 29, 2021

Categories: MarkdownNunjucks/MacrosShortcodes

11ty Date Shortcodes and Filters

Use this shortcode and filter as a starting point for your date transformation needs.

Mar 27, 2021

Categories: DatesHow to...FiltersShortcodes

Understanding Filters, Shortcodes and Data in 11ty

Sometimes it’s a little confusing what the difference between shortcodes, data and filters really is, and frankly the boundaries can become a little blurred with 11ty.

Dec 8, 2020

Categories: Data CascadeHow to...FiltersShortcodes

Let's Learn Eleventy (11ty) - Slots, includes and shortcodes

This is the third part of the Let't Learn Eleventy series. We'll learn how to use slots, includes and shortcodes.

Oct 21, 2020

Categories: How to...Shortcodes

Get the blog by email (or RSS)

Powered by Buttondown