From b0a4588a6e710d84eb19de604331836080cb4b07 Mon Sep 17 00:00:00 2001 From: Ricky de Laveaga Date: Tue, 20 Aug 2024 09:31:13 -0700 Subject: [PATCH] add data-heading-anchors-optout to pages (#45) --- content/about/index.md | 2 +- content/archive.njk | 2 +- content/index.njk | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/about/index.md b/content/about/index.md index ab53ebf..78648fc 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -5,7 +5,7 @@ eleventyNavigation: order: 3 --- -# About eleventeen 🌈📓 +

About eleventeen 🌈📓

Eleventeen is an evolving variation of [Eleventy Base Blog](https://github.com/11ty/eleventy-base-blog), a starter repository showing how to build a blog with [Eleventy (11ty)](https://www.11ty.dev/), the award-winning open source site generator created and maintained by [Zach Leatherman](https://www.zachleat.com/), who [blogs about Eleventy](https://www.zachleat.com/web/?category=eleventy) often. diff --git a/content/archive.njk b/content/archive.njk index c7e04d6..44efced 100644 --- a/content/archive.njk +++ b/content/archive.njk @@ -4,7 +4,7 @@ eleventyNavigation: key: Archive order: 2 --- -

Archive

+

Archive

{% set postslist = collections.posts %} {% include "postslist.njk" %} diff --git a/content/index.njk b/content/index.njk index 4b04324..4f0afe7 100644 --- a/content/index.njk +++ b/content/index.njk @@ -7,7 +7,7 @@ numberOfLatestPostsToShow: 12 --- {% set postsCount = collections.posts | length %} {% set latestPostsCount = postsCount | min(numberOfLatestPostsToShow) %} -

Latest {% if latestPostsCount != 1 %}{{ latestPostsCount }} {% endif %}Post{% if latestPostsCount != 1 %}s{% endif %}

+

Latest {% if latestPostsCount != 1 %}{{ latestPostsCount }} {% endif %}Post{% if latestPostsCount != 1 %}s{% endif %}

{% set postslist = collections.posts | head(-1 * numberOfLatestPostsToShow) %} {% set postslistCounter = postsCount %} diff --git a/package.json b/package.json index ab60bde..cff3581 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eleventeen", - "version": "9.2.24-beta.1", + "version": "9.2.25-beta.1", "description": "Starter repository for a website built with Eleventy + eleventeen", "type": "module", "scripts": {