mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed title from search results
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user