Skip to content

Commit 6e99f42

Browse files
committed
feat: added "algolia search" css class to layout templates
hugo uses single and list templates: https://gohugo.io/templates/lists/ https://gohugo.io/templates/single-page-templates/ we use single templates for "leaf" pages at the bottom of and list templates for all other pages
1 parent b06765a commit 6e99f42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ define "main" }}
2-
<v-card>
2+
<v-card class="DocSearch-content">
33
<v-card-text>
44
{{ if not .Params.disable_breadcrumbs }}
55
{{ partial "breadcrumb_recursive.html" (dict "menu" .Site.Menus.main "page" . ) }}

layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ define "main" }}
2-
<v-card>
2+
<v-card class="DocSearch-content">
33
<v-card-text>
44
{{ if not .Params.disable_breadcrumbs }}
55
{{ partial "breadcrumb_recursive.html" (dict "menu" .Site.Menus.main "page" . ) }}

0 commit comments

Comments
 (0)