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:
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
|
||||
): HTMLElement {
|
||||
return (
|
||||
<a href={location} title={title} class={css.link} tabIndex={-1}>
|
||||
<a href={location} class={css.link} tabIndex={-1}>
|
||||
<article class={css.article}>
|
||||
<h1 class={css.title}>{title}</h1>
|
||||
{text.length
|
||||
|
@ -53,7 +53,7 @@ export function renderSectionDocument(
|
||||
{ location, title, text }: SectionDocument
|
||||
): HTMLElement {
|
||||
return (
|
||||
<a href={location} title={title} class={css.link} tabIndex={-1}>
|
||||
<a href={location} class={css.link} tabIndex={-1}>
|
||||
<article class={css.article}>
|
||||
<h1 class={css.title}>{title}</h1>
|
||||
{text.length
|
||||
|
Loading…
Reference in New Issue
Block a user