<script>vardoNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];functiongtag(){dataLayer.push(arguments)}gtag("js",newDate),gtag("config","G-XYFD95KB4J",{anonymize_ip:!1})}</script><body><divid=search-container><divid=search-space><inputautocomplete=offid=search-barname=searchtype=textaria-label=Searchplaceholder="Search for something..."><divid=results-container></div></div></div><scriptsrc=https://cdn.jsdelivr.net/npm/flexsearch@0.7.21/dist/flexsearch.bundle.jsintegrity="sha256-i3A0NZGkhsKjVMzFxv3ksk0DZh3aXqu0l49Bbh0MdjE="crossorigin=anonymousdefer></script>
<scriptdefersrc=https://quartz.jzhao.xyz/js/search.bc849b857f2c1b822264d40635bb67b6.min.js></script><divclass=singlePage><header><h1id=page-title><ahref=https://quartz.jzhao.xyz/>🪴 Quartz 3.2</a></h1><svgtabindex="0"id="search-icon"aria-labelledby="title desc"role="img"xmlns="http://www.w3.org/2000/svg"viewBox="0 0 19.9 19.7"><titleid="title">Search Icon</title><descid="desc">Icon to open search</desc><gclass="search-path"fill="none"><pathstroke-linecap="square"d="M18.5 18.3l-5.4-5.4"/><circlecx="8"cy="8"r="7"/></g></svg><divclass=spacer></div><divclass=darkmode><inputclass=toggleid=darkmode-toggletype=checkboxtabindex=-1>
</span></span></code></pre></td></tr></table></div></div><p><code>ignoreFiles</code> supports the use of Regular Expressions (RegEx) so you can ignore patterns as well (e.g. ignoring all <code>.png</code>s by doing <code>\\.png$</code>).
To ignore a specific file, you can also add the tag <code>draft: true</code> to the frontmatter of a note.</p><divclass=highlight><divclass=chroma><tableclass=lntable><tr><tdclass=lntd><pretabindex=0class=chroma><code><spanclass=lnt>1
</span></span></code></pre></td></tr></table></div></div><p>More details in
<ahref=https://gohugo.io/getting-started/configuration/#ignore-content-and-data-files-when-renderingrel=noopener>Hugo’s documentation</a>.</p><h3id=global-ignore>Global Ignore</h3><p>However, just adding to the <code>ignoreFiles</code> will only prevent the page from being access through Quartz. If you want to prevent the file from being pushed to GitHub (for example if you have a public repository), you need to also add the path to the <code>.gitignore</code> file at the root of the repository.</p></article><hr><divclass=page-end><divclass=backlinks-container><h3>Backlinks</h3><ulclass=backlinks><li><ahref=/notes/editing>Editing Content in Quartz</a></li><li><ahref=/notes/troubleshooting>Troubleshooting and FAQ</a></li></ul></div><div><scriptsrc=https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.jsintegrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI="crossorigin=anonymous></script><h3>Interactive Graph</h3><divid=graph-container></div><style>:root{--g-node:var(--secondary);--g-node-active:var(--primary);--g-node-inactive:var(--visited);--g-link:var(--outlinegray);--g-link-active:#5a7282}</style><scriptsrc=https://quartz.jzhao.xyz/js/graph.27e8521c25c27c79dea35f434c486167.js></script>