theme: "move" the id from content to article

This is the id used for Algolia records without id on the element itself.
This commit is contained in:
Bjørn Erik Pedersen 2025-02-15 14:36:22 +01:00
parent b878613aad
commit 5a3b470a2f
No known key found for this signature in database

View File

@ -1,8 +1,8 @@
{{ define "main" }}
{{ $ttop := debug.Timer "single" }}
<article class="max-w-5xl lg:max-w-3xl">
<article class="max-w-5xl lg:max-w-3xl" id="article">
{{ partial "layouts/docsheader.html" . }}
<div class="content" id="content">
<div class="content">
{{ with .Params.description }}
<div class="lead">
{{ . | markdownify }}