Filtering Eleventy Collections: Customizing Static Site Content

Learn to build and apply custom JavaScript filters to organize, sort, and transform your Eleventy collections for cleaner static websites.

โฑ 40 min ๐Ÿ“š 11 pelajaran ๐ŸŽง Versi audio

Tentang kursus ini

Managing content in a static site generator can quickly become overwhelming as your project grows. Eleventy collections allow you to group your content, but learning how to filter, limit, and mutate that data is the key to building truly dynamic layouts. This text-based course guides you through the foundational concepts of the Eleventy data cascade, teaching you how to transform raw markdown and data arrays into structured, presentation-ready feeds. You will learn to write custom JavaScript filters, register them in your configuration, and apply them directly within your templates. What you'll learn: Understand the core concepts of Eleventy collections and how data flows through your templates; Create custom JavaScript filters to sort, limit, and format collection data; Apply modern ES module syntax to write clean and maintainable configuration code; Implement asynchronous filters to handle complex data processing during the build step; Render filtered collections seamlessly using template languages like Nunjucks or Liquid. This course begins with essential definitions and configuration basics before moving into hands-on code examples and practical filtering techniques. It is designed for web developers and designers who have a basic understanding of HTML and JavaScript and want to take control of their static site architecture. Start structuring your static content more efficiently today.

Apa yang anda dapat

  • ๐Ÿ“œ Sijil tamat
    Tambah ke profil LinkedIn anda
  • ๐Ÿ’ฌ Personal AI tutor
    Stuck on a lesson? Ask your built-in tutor anything, any time.
  • ๐ŸŽง Termasuk versi audio
    Belajar sambil bergerak โ€” tanpa skrin
  • โ™พ๏ธ Akses seumur hidup
    Kembali bila-bila masa, tiada tamat tempoh
  • ๐Ÿ“ฑ Telefon atau komputer
    Berfungsi di mana-mana, mana-mana peranti
  • ๐Ÿ’ธ Pulangan 30 hari
    Tanpa soalan
  • โšก Pendek dan fokus
    40 min kandungan praktikal

Ulasan

Belum ada ulasan โ€” jadilah yang pertama berkongsi pengalaman anda.

Tulis ulasan

โ˜†โ˜†โ˜†โ˜†โ˜†
Selepas hantar kami akan meminta anda log masuk โ€” draf disimpan.

Pelajar lain juga mengambil

Soalan lazim

Apa yang saya perlukan untuk mengikuti kursus ini? +

Hanya telefon atau komputer dengan internet. Tiada pemasangan, tiada perkakasan khas.

Bagaimana untuk membayar? +

Dengan kad melalui Stripe, atau kripto. Kami tidak menyimpan butiran kad โ€” Stripe menguruskannya dengan selamat.

Bolehkah saya dapatkan bayaran balik? +

Ya โ€” pulangan penuh dalam 30 hari, tanpa soalan.

Berapa lama saya akan mempunyai akses? +

Selamanya. Setelah membeli, kursus adalah milik anda โ€” boleh lawat semula bila-bila masa.

Adakah saya akan mendapat sijil? +

Ya. Setelah tamat, anda akan menerima sijil yang boleh ditambah ke profil LinkedIn anda.

Direka untuk pelajar dalam
Teknologi Reka bentuk Kewangan Pemasaran Kesihatan Pendidikan Hospitaliti Pembuatan