mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-02-07 14:31:26 +01:00
Removed title from search results
This commit is contained in:
parent
c1f0d4ab9a
commit
4e76da9647
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -53,7 +53,7 @@ export function renderArticleDocument(
|
|||||||
{ location, title, text }: ArticleDocument
|
{ location, title, text }: ArticleDocument
|
||||||
): HTMLElement {
|
): HTMLElement {
|
||||||
return (
|
return (
|
||||||
<a href={location} title={title} class={css.link} tabIndex={-1}>
|
<a href={location} class={css.link} tabIndex={-1}>
|
||||||
<article class={css.article}>
|
<article class={css.article}>
|
||||||
<h1 class={css.title}>{title}</h1>
|
<h1 class={css.title}>{title}</h1>
|
||||||
{text.length
|
{text.length
|
||||||
|
@ -53,7 +53,7 @@ export function renderSectionDocument(
|
|||||||
{ location, title, text }: SectionDocument
|
{ location, title, text }: SectionDocument
|
||||||
): HTMLElement {
|
): HTMLElement {
|
||||||
return (
|
return (
|
||||||
<a href={location} title={title} class={css.link} tabIndex={-1}>
|
<a href={location} class={css.link} tabIndex={-1}>
|
||||||
<article class={css.article}>
|
<article class={css.article}>
|
||||||
<h1 class={css.title}>{title}</h1>
|
<h1 class={css.title}>{title}</h1>
|
||||||
{text.length
|
{text.length
|
||||||
|
Loading…
x
Reference in New Issue
Block a user