mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user