better search, fix spacing support, bump hugo-obsidian
6 files modified
2 files renamed
| | |
| | | - uses: actions/checkout@v2 |
| | | |
| | | - name: Build Link Index |
| | | uses: jackyzha0/hugo-obsidian@v2.4 |
| | | uses: jackyzha0/hugo-obsidian@v2.5 |
| | | with: |
| | | index: true |
| | | input: content |
| | |
| | | ## Get Started |
| | | > 📚 [Setup your own digital garden using Quartz](notes/setup.md) |
| | | |
| | | Not convinced yet? Look at some [community digital gardens](moc/showcase) built with Quartz, or read about [why I made Quartz](notes/philosophy.md) to begin with! |
| | | Not convinced yet? Look at some [community digital gardens](moc/showcase) built with Quartz, or read about [[notes/philosophy | why I made Quartz]] to begin with! |
| | | |
| | | ## Troubleshooting |
| | | - 🚧 [Troubleshooting and FAQ](notes/troubleshooting.md) |
| | |
| | | ### Ignoring Files |
| | | Only want to publish a subset of all of your notes? Don't worry, Quartz makes this a simple two-step process. |
| | | |
| | | ❌ [Excluding pages from being published](notes/ignore-notes.md) |
| | | ❌ [Excluding pages from being published](notes/ignore%20notes.md) |
| | | |
| | | ### Folder Structure |
| | | Here's a rough overview of what's what. |
| | |
| | | ``` |
| | | |
| | | ### Front Matter |
| | | Hugo is picky when it comes to metadata for files. Ensure that you have a title defined at the top of your file like so: |
| | | Hugo is picky when it comes to metadata for files. Make sure that your title is double-quoted and that you have a title defined at the top of your file like so: |
| | | |
| | | ```markdown |
| | | --- |
| | |
| | | ## Previewing Changes |
| | | This step is purely optional and mostly for those who want to see the published version of their digital garden locally before opening it up to the internet. This is *highly recommended*. |
| | | |
| | | 👀 [Preview Quartz Changes](notes/preview-changes.md) |
| | | 👀 [Preview Quartz Changes](notes/preview%20changes.md) |
| | | |
| | | For those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing. |
| | | |
| | |
| | | --- |
| | | title: Quartz Philosophy |
| | | title: "Quartz Philosophy" |
| | | --- |
| | | |
| | | > “[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming |
| | |
| | | |
| | | ## Common Pitfalls |
| | | ### Can I publish only a subset of my pages? |
| | | Yes! Quartz makes selective publishing really easy. Heres a guide on [excluding pages from being published](notes/ignore-notes.md). |
| | | Yes! Quartz makes selective publishing really easy. Heres a guide on [excluding pages from being published](notes/ignore%20notes.md). |
| | | |
| | | ### Can I host this myself and not on GitHub Pages? |
| | | Yes! All built files can be found under `/public` in the `master` branch. More details under [hosting](notes/hosting.md). |
| | |
| | | return [...results[0].result] |
| | | } |
| | | } |
| | | const allIds = [...getByField('title'), ...getByField('content')] |
| | | const finalResults = allIds.map(fetch) |
| | | const allIds = new Set([...getByField('title'), ...getByField('content')]) |
| | | const finalResults = [...allIds].map(fetch) |
| | | |
| | | // display |
| | | if (finalResults.length === 0) { |