<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2025-06-28T12:58:13-04:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Shannon Tweezers</title><subtitle>Smart tweezers made for engineers</subtitle><author><name>Shannon Tweezers</name></author><entry><title type="html">Exclude Post from Search Index</title><link href="http://localhost:4000/jekyll/post-exclude-search/" rel="alternate" type="text/html" title="Exclude Post from Search Index" /><published>2017-11-28T00:00:00-05:00</published><updated>2018-02-19T08:06:00-05:00</updated><id>http://localhost:4000/jekyll/post-exclude-search</id><content type="html" xml:base="http://localhost:4000/jekyll/post-exclude-search/"><![CDATA[<p>This post should not appear in the search index because it has the following YAML Front Matter:</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">search</span><span class="pi">:</span> <span class="no">false</span>
</code></pre></div></div>

<p class="notice--info"><strong>Note:</strong> <code class="language-plaintext highlighter-rouge">search: false</code> only works to exclude posts when using Lunr as a search provider.</p>

<p>To exclude files when using Algolia as a search provider add an array to <code class="language-plaintext highlighter-rouge">algolia.files_to_exclude</code> in your <code class="language-plaintext highlighter-rouge">_config.yml</code>. For more configuration options be sure to check their <a href="https://community.algolia.com/jekyll-algolia/options.html">full documentation</a>.</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">algolia</span><span class="pi">:</span>
  <span class="c1"># Exclude more files from indexing</span>
  <span class="na">files_to_exclude</span><span class="pi">:</span>
    <span class="pi">-</span> <span class="s">index.html</span>
    <span class="pi">-</span> <span class="s">index.md</span>
    <span class="pi">-</span> <span class="s">excluded-file.html</span>
    <span class="pi">-</span> <span class="s">_posts/2017-11-28-post-exclude-search.md</span>
    <span class="pi">-</span> <span class="s">subdirectory/*.html</span>
</code></pre></div></div>]]></content><author><name>Shannon Tweezers</name></author><category term="Jekyll" /><summary type="html"><![CDATA[This post should not appear in the search index because it has the following YAML Front Matter:]]></summary></entry></feed>