Skip to content

Commit d0469dc

Browse files
authored
[feat] more targetted search (only index blog posts) (#97)
1 parent 6e0be58 commit d0469dc

File tree

41 files changed

+50
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+50
-46
lines changed

.claude/settings.local.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"Read(//Users/johnlarkin/Desktop/Screenshots/**)",
1414
"Bash(npx sass:*)",
1515
"Bash(npx postcss:*)",
16-
"Skill(document-skills:frontend-design)"
16+
"Skill(document-skills:frontend-design)",
17+
"Bash(wc:*)",
18+
"WebSearch"
1719
],
1820
"deny": []
1921
}

_includes/search-modal.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!-- Search Modal -->
22
<div
33
class="search-modal"
4+
data-pagefind-ignore="all"
45
role="dialog"
56
aria-modal="true"
67
aria-labelledby="search-modal-title"

_includes/shortcuts-modal.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!-- Keyboard Shortcuts Modal -->
22
<div
33
class="shortcuts-modal"
4+
data-pagefind-ignore="all"
45
role="dialog"
56
aria-modal="true"
67
aria-labelledby="shortcuts-modal-title"

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h1 class="hero__title">{{ page.title }}</h1>
5151
<main class="site__content">
5252

5353
<div class="container">
54-
<div class="page-content">
54+
<div class="page-content" data-pagefind-ignore="all">
5555

5656
{{ content }}
5757

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h1 class="hero__title">{{ page.title }}</h1>
6363

6464
<main class="site__content">
6565
<div class="container">
66-
<article class="post-content" itemprop="articleBody">
66+
<article class="post-content" itemprop="articleBody" data-pagefind-body>
6767
{% if page.encrypted %}
6868
<body>
6969
<div class="protected">

_site/2016/helpful-vim-commands/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_site/2016/particle-filter/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_site/2016/self-selecting-terrorists/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_site/2016/setting-up-blog/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_site/2016/sudoku-solver/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)