From b7c5731d2f821a603122a12687acec63ac8105a6 Mon Sep 17 00:00:00 2001 From: Konstantin Kostov Date: Tue, 9 Apr 2024 09:47:51 +0200 Subject: [PATCH] headings have an id, version 34 --- Makefile | 2 +- base/templates/base/blocks/heading_block.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 370bfe4..db3edc8 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .PHONY: help build publish -VERSION = 1.0.33 +VERSION = 1.0.34 help: @perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' diff --git a/base/templates/base/blocks/heading_block.html b/base/templates/base/blocks/heading_block.html index e3776a9..08991d0 100644 --- a/base/templates/base/blocks/heading_block.html +++ b/base/templates/base/blocks/heading_block.html @@ -1,7 +1,7 @@ {% if self.size == 'h2' %} -

{{ self.heading_text }}

+

{{ self.heading_text }}

{% elif self.size == 'h3' %} -

{{ self.heading_text }}

+

{{ self.heading_text }}

{% elif self.size == 'h4' %} -

{{ self.heading_text }}

+

{{ self.heading_text }}

{% endif %} \ No newline at end of file