While you’re here, join our Discord :)"><title>Troubleshooting and FAQ</title><metaname=viewportcontent="width=device-width,initial-scale=1"><linkrel="shortcut icon"type=image/pnghref=https://quartz.jzhao.xyz//icon.png><linkhref="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&family=Fira+Code:wght@400;700&display=swap"rel=stylesheet><linkhref=https://quartz.jzhao.xyz/styles.cd61336c89ed6e03702366ce4a492b75.min.cssrel=stylesheet><scriptsrc=https://quartz.jzhao.xyz/js/darkmode.46b07878b7f5d9e26ad7a3c40f8a0605.min.js></script>
<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>
<labelid=toggle-label-lightfor=darkmode-toggletabindex=-1><svgxmlns="http://www.w3.org/2000/svg"xmlns:xlink="http://www.w3.org/1999/xlink"id="dayIcon"viewBox="0 0 35 35"style="enable-background:new 0 0 35 35"><title>Light Mode</title><pathd="M6 17.5C6 16.672 5.328 16 4.5 16h-3C.672 16 0 16.672.0 17.5S.672 19 1.5 19h3C5.328 19 6 18.328 6 17.5zM7.5 26c-.414.0-.789.168-1.061.439l-2 2C4.168 28.711 4 29.086 4 29.5 4 30.328 4.671 31 5.5 31c.414.0.789-.168 1.06-.44l2-2C8.832 28.289 9 27.914 9 27.5 9 26.672 8.329 26 7.5 26zm10-20C18.329 6 19 5.328 19 4.5v-3C19 .672 18.329.0 17.5.0S16 .672 16 1.5v3C16 5.328 16.671 6 17.5 6zm10 3c.414.0.789-.168 1.06-.439l2-2C30.832 6.289 31 5.914 31 5.5 31 4.672 30.329 4 29.5 4c-.414.0-.789.168-1.061.44l-2 2C26.168 6.711 26 7.086 26 7.5 26 8.328 26.671 9 27.5 9zM6.439 8.561C6.711 8.832 7.086 9 7.5 9 8.328 9 9 8.328 9 7.5c0-.414-.168-.789-.439-1.061l-2-2C6.289 4.168 5.914 4 5.5 4 4.672 4 4 4.672 4 5.5c0 .414.168.789.439 1.06l2 2.001zM33.5 16h-3c-.828.0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5h3c.828.0 1.5-.672 1.5-1.5S34.328 16 33.5 16zM28.561 26.439C28.289 26.168 27.914 26 27.5 26c-.828.0-1.5.672-1.5 1.5.0.414.168.789.439 1.06l2 2C28.711 30.832 29.086 31 29.5 31c.828.0 1.5-.672 1.5-1.5.0-.414-.168-.789-.439-1.061l-2-2zM17.5 29c-.829.0-1.5.672-1.5 1.5v3c0 .828.671 1.5 1.5 1.5s1.5-.672 1.5-1.5v-3C19 29.672 18.329 29 17.5 29zm0-22C11.71 7 7 11.71 7 17.5S11.71 28 17.5 28 28 23.29 28 17.5 23.29 7 17.5 7zm0 18c-4.136.0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5S21.636 25 17.5 25z"/></svg></label><labelid=toggle-label-darkfor=darkmode-toggletabindex=-1><svgxmlns="http://www.w3.org/2000/svg"xmlns:xlink="http://www.w3.org/1999/xlink"id="nightIcon"viewBox="0 0 100 100"style="enable-background='new 0 0 100 100'"><title>Dark Mode</title><pathd="M96.76 66.458c-.853-.852-2.15-1.064-3.23-.534-6.063 2.991-12.858 4.571-19.655 4.571C62.022 70.495 50.88 65.88 42.5 57.5 29.043 44.043 25.658 23.536 34.076 6.47c.532-1.08.318-2.379-.534-3.23-.851-.852-2.15-1.064-3.23-.534-4.918 2.427-9.375 5.619-13.246 9.491-9.447 9.447-14.65 22.008-14.65 35.369.0 13.36 5.203 25.921 14.65 35.368s22.008 14.65 35.368 14.65c13.361.0 25.921-5.203 35.369-14.65 3.872-3.871 7.064-8.328 9.491-13.246C97.826 68.608 97.611 67.309 96.76 66.458z"/></svg></label></div></header><article><h1>Troubleshooting and FAQ</h1><pclass=meta>Last updated April 10, 2022</p><ulclass=tags></ul><asideclass=mainTOC><details><summary>Table of Contents</summary><navid=TableOfContents><ol><li><ol><li><ahref=#does-quartz-have-latex-support>Does Quartz have Latex support?</a></li><li><ahref=#can-i-use-obsidian-plugin-in-quartz>Can I use <Obsidian Plugin> in Quartz?</a></li><li><ahref=#my-github-pages-is-just-showing-the-readme-and-not-quartz>My GitHub pages is just showing the README and not Quartz</a></li><li><ahref=#some-of-my-pages-have-january-1-0001-as-the-last-modified-date>Some of my pages have ‘January 1, 0001’ as the last modified date</a></li><li><ahref=#can-i-publish-only-a-subset-of-my-pages>Can I publish only a subset of my pages?</a></li><li><ahref=#can-i-host-this-myself-and-not-on-github-pages>Can I host this myself and not on GitHub Pages?</a></li><li><ahref=#command-not-found-hugo-obsidian><code>command not found: hugo-obsidian</code></a></li><li><ahref=#how-come-my-notes-arent-being-rendered>How come my notes aren’t being rendered?</a></li><li><ahref=#my-custom-domain-isnt-working>My custom domain isn’t working!</a></li><li><ahref=#how-do-i-setup-google-analytics>How do I setup Google Analytics?</a></li><li><ahref=#how-do-i-change-the-content-on-the-home-page>How do I change the content on the home page?</a></li><li><ahref=#how-do-i-change-the-colours>How do I change the colours?</a></li><li><ahref=#how-do-i-add-images>How do I add images?</a></li><li><ahref=#my-interactive-graph-and-backlinks-arent-up-to-date>My Interactive Graph and Backlinks aren’t up to date</a></li><li><ahref=#can-i-use-reactvuesome-other-framework>Can I use React/Vue/some other framework?</a></li></ol></li>
<ahref=https://discord.gg/cRFFHYye7trel=noopener>Discord</a> :)</p><h3id=does-quartz-have-latex-support>Does Quartz have Latex support?</h3><p>Yes! See
<ahref=/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95rel=noopenerclass=internal-linkdata-src=/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95>CJK + Latex Support (测试)</a> for a brief demo.</p><h3id=can-i-use-obsidian-plugin-in-quartz>Can I use <Obsidian Plugin> in Quartz?</h3><p>Unless it produces direct Markdown output in the file, no. There currently is no way to bundle plugin code with Quartz.</p><p>The easiest way would be to add your own HTML partial that supports the functionality you are looking for.</p><h3id=my-github-pages-is-just-showing-the-readme-and-not-quartz>My GitHub pages is just showing the README and not Quartz</h3><p>Make sure you set the source to deploy from <code>master</code> (and not <code>hugo</code>) using <code>/ (root)</code>! See more in the
<ahref=/notes/hostingrel=noopenerclass=internal-linkdata-src=/notes/hosting>hosting</a> guide</p><h3id=some-of-my-pages-have-january-1-0001-as-the-last-modified-date>Some of my pages have ‘January 1, 0001’ as the last modified date</h3><p>This is a problem caused by <code>git</code> treating files as case-insensitive by default and some of your posts probably have capitalized file names. You can turn this off in your Quartz by running this command.</p><divclass=highlight><divclass=chroma><tableclass=lntable><tr><tdclass=lntd><pretabindex=0class=chroma><code><spanclass=lnt>1
</span><spanclass=lnt>2
</span><spanclass=lnt>3
</span><spanclass=lnt>4
</span><spanclass=lnt>5
</span></code></pre></td><tdclass=lntd><pretabindex=0class=chroma><codeclass=language-shelldata-lang=shell><spanclass=line><spanclass=cl><spanclass=c1># in the root of your Quartz (same folder as config.toml)</span>
</span></span></code></pre></td></tr></table></div></div><h3id=can-i-publish-only-a-subset-of-my-pages>Can I publish only a subset of my pages?</h3><p>Yes! Quartz makes selective publishing really easy. Heres a guide on
<ahref=/notes/ignore-notesrel=noopenerclass=internal-linkdata-src=/notes/ignore-notes>excluding pages from being published</a>.</p><h3id=can-i-host-this-myself-and-not-on-github-pages>Can I host this myself and not on GitHub Pages?</h3><p>Yes! All built files can be found under <code>/public</code> in the <code>master</code> branch. More details under
<ahref=/notes/hostingrel=noopenerclass=internal-linkdata-src=/notes/hosting>hosting</a>.</p><h3id=command-not-found-hugo-obsidian><code>command not found: hugo-obsidian</code></h3><p>Make sure you set your <code>GOPATH</code> correctly! This will allow your terminal to correctly recognize <code>hugo-obsidian</code> as an executable.</p><divclass=highlight><divclass=chroma><tableclass=lntable><tr><tdclass=lntd><pretabindex=0class=chroma><code><spanclass=lnt>1
</span><spanclass=lnt>2
</span><spanclass=lnt>3
</span><spanclass=lnt>4
</span><spanclass=lnt>5
</span><spanclass=lnt>6
</span></code></pre></td><tdclass=lntd><pretabindex=0class=chroma><codeclass=language-shelldata-lang=shell><spanclass=line><spanclass=cl><spanclass=c1># Add the following 2 lines to your ~/.bash_profile</span>
</span></span></code></pre></td></tr></table></div></div><h3id=how-come-my-notes-arent-being-rendered>How come my notes aren’t being rendered?</h3><p>You probably forgot to include front matter in your Markdown files. You can either setup
<ahref=/notes/obsidianrel=noopenerclass=internal-linkdata-src=/notes/obsidian>Obsidian</a> to do this for you or you need to manually define it. More details in
<ahref=/notes/editingrel=noopenerclass=internal-linkdata-src=/notes/editing>the ‘how to edit’ guide</a>.</p><h3id=my-custom-domain-isnt-working>My custom domain isn’t working!</h3><p>Walk through the steps in
<ahref=/notes/hostingrel=noopenerclass=internal-linkdata-src=/notes/hosting>the hosting guide</a> again. Make sure you wait 30 min to 1 hour for changes to take effect.</p><h3id=how-do-i-setup-google-analytics>How do I setup Google Analytics?</h3><p>You can edit it in <code>config.toml</code> and either use a V3 (UA-) or V4 (G-) tag.</p><h3id=how-do-i-change-the-content-on-the-home-page>How do I change the content on the home page?</h3><p>To edit the main home page, open <code>/content/_index.md</code>.</p><h3id=how-do-i-change-the-colours>How do I change the colours?</h3><p>You can change the theme by editing <code>assets/custom.scss</code>. More details on customization and themeing can be found in the
<ahref=/notes/configrel=noopenerclass=internal-linkdata-src=/notes/config>customization guide</a>.</p><h3id=how-do-i-add-images>How do I add images?</h3><p>You can put images anywhere in the <code>/content</code> folder.</p><divclass=highlight><divclass=chroma><tableclass=lntable><tr><tdclass=lntd><pretabindex=0class=chroma><code><spanclass=lnt>1
</span><spanclass=lnt>2
</span></code></pre></td><tdclass=lntd><pretabindex=0class=chroma><codeclass=language-markdowndata-lang=markdown><spanclass=line><spanclass=cl>Example image (source is in content/notes/images/example.png)
</span></span></code></pre></td></tr></table></div></div><h3id=my-interactive-graph-and-backlinks-arent-up-to-date>My Interactive Graph and Backlinks aren’t up to date</h3><p>By default, the <code>linkIndex.json</code> (which Quartz needs to generate the Interactive Graph and Backlinks) are not regenerated locally. To set that up, see the guide on
<ahref=/notes/editingrel=noopenerclass=internal-linkdata-src=/notes/editing>local editing</a></p><h3id=can-i-use-reactvuesome-other-framework>Can I use React/Vue/some other framework?</h3><p>Not out of the box. You could probably make it work by editing <code>/layouts/_default/single.html</code> but that’s not what Quartz is designed to work with. 99% of things you are trying to do with those frameworks you can accomplish perfectly fine using just vanilla HTML/CSS/JS.</p><h2id=still-stuck>Still Stuck?</h2><p>Quartz isn’t perfect! If you’re still having troubles, file an issue in the GitHub repo with as much information as you can reasonably provide. Alternatively, you can message me on
<ahref=https://twitter.com/_jzhaorel=noopener>Twitter</a> and I’ll try to get back to you as soon as I can.</p><p>🐛
<ahref=https://github.com/jackyzha0/quartz/issuesrel=noopener>Submit an Issue</a></p></article><hr><divclass=page-end><divclass=backlinks-container><h3>Backlinks</h3><ulclass=backlinks><li><ahref=/>🪴 Quartz 3.2</a></li><li><ahref=/notes/config>Configuration</a></li><li><ahref=/notes/editing>Editing Content in Quartz</a></li><li><ahref=/notes/hosting>Deploying Quartz to the Web</a></li><li><ahref=/notes/setup>Setup</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>