Exclude project indices from search

This commit is contained in:
Leilukin 2025-05-09 12:43:59 +08:00
parent 375d638626
commit 8df1355275

View File

@ -16,7 +16,7 @@ eleventyComputed:
{{ container "section", "content__section" }} {{ container "section", "content__section" }}
## My Code Projects ## My Code Projects
<ul> <ul data-pagefind-ignore>
{{ for project of collections["code projects"] }} {{ for project of collections["code projects"] }}
<li><a href="{{ project.url }}">{{ project.data.title }}</a> — {{ project.data.desc }}</li> <li><a href="{{ project.url }}">{{ project.data.title }}</a> — {{ project.data.desc }}</li>
{{ /for }} {{ /for }}
@ -25,7 +25,7 @@ eleventyComputed:
{{ container "section", "content__section" }} {{ container "section", "content__section" }}
## My Code Snippets ## My Code Snippets
<ul> <ul data-pagefind-ignore>
{{ for snippet of collections["code snippets"] }} {{ for snippet of collections["code snippets"] }}
<li><a href="{{ snippet.url }}">{{ snippet.data.title }}</a> — {{ snippet.data.desc }}</li> <li><a href="{{ snippet.url }}">{{ snippet.data.title }}</a> — {{ snippet.data.desc }}</li>
{{ /for }} {{ /for }}
@ -44,7 +44,7 @@ My drawings can be found on my art blog on Tumblr:
## My Video Game Mods ## My Video Game Mods
I have created mods (short for "modifications") for the following video games: I have created mods (short for "modifications") for the following video games:
<ul> <ul data-pagefind-ignore>
{{ for mods of collections["video game mods"] }} {{ for mods of collections["video game mods"] }}
<li> <li>
<a href="{{ mods.url }}">{{ mods.data.title }}</a> <a href="{{ mods.url }}">{{ mods.data.title }}</a>