mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 06:23:39 -04: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:
parent
b878613aad
commit
5a3b470a2f
@ -1,8 +1,8 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $ttop := debug.Timer "single" }}
|
{{ $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" . }}
|
{{ partial "layouts/docsheader.html" . }}
|
||||||
<div class="content" id="content">
|
<div class="content">
|
||||||
{{ with .Params.description }}
|
{{ with .Params.description }}
|
||||||
<div class="lead">
|
<div class="lead">
|
||||||
{{ . | markdownify }}
|
{{ . | markdownify }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user