diff --git a/defaults/layouts/partials/styles.html b/defaults/layouts/partials/styles.html index 356ed90..3d1a4ec 100644 --- a/defaults/layouts/partials/styles.html +++ b/defaults/layouts/partials/styles.html @@ -230,5 +230,65 @@ label.margin-toggle:not(.sidenote-number) { } {{/params.stylesheets}} + {{#params.stylesheets}} {{/params.stylesheets}} diff --git a/site/content/docs.md b/site/content/docs.md index aeb39e5..09a96b0 100644 --- a/site/content/docs.md +++ b/site/content/docs.md @@ -617,7 +617,7 @@ Essentially, each tool is just a bash-style commandline string with a few specia -```json +```json5 // thor.json { "tools": { @@ -629,7 +629,7 @@ Essentially, each tool is just a bash-style commandline string with a few specia Both `{{in}}` and `{{out}}` exist to support tools that can't read from `stdin` and/or can't write to `stdout`. If your tool can do those things, it is ***highly recommended*** to avoid `{{in}}` + `{{out}}`, as each requires thor to make **a full round-trip** to the file system, rather than keeping everything in memory. -```json +```json5 // thor.json { "tools": { @@ -661,7 +661,7 @@ Both `{{in}}` and `{{out}}` exist to support tools that can't read from `stdin` Thor supports [Open Graph](https://ogp.me/) tags, allowing you to customize how your site looks when linked to on social media or in apps like Discord. It is accessible through the `{{>opengraph}}` template, which should be automatically included in your header by your theme. ```html -TODO: {{>opengraph shorcode here}} +TODO: {{opengraph shorcode here}} ``` The options are sourced [using the context stack], first from your page frontmatter, and then from your site config. Thor will attempt to infer as much information as possible, to keep you from needing to set them explictly. @@ -693,9 +693,11 @@ TODO: Modules TODO: Themes -## Zen -> The guding principals behind Thor. +
+

Zen

+

The guding principals behind Thor.

+
Simpler is Better diff --git a/site/content/guide.md b/site/content/guide.md index 8dbd1fc..74d79f8 100644 --- a/site/content/guide.md +++ b/site/content/guide.md @@ -17,7 +17,7 @@ At the heart of any good SSG is the content files. Thor supports markdown (`.md` Let's make a home page - copy the following text and place it into `./index.md` -```md +```markdown # Hello, World! Welcome to your new site. diff --git a/site/thor.json b/site/thor.json index 8960571..fa944d4 100644 --- a/site/thor.json +++ b/site/thor.json @@ -4,7 +4,8 @@ "format": "January 2, 2006" }, "markdown_extensions": { - "footnotes": true + "footnotes": true, + "highlight": true }, "menus": { "main": [ @@ -23,5 +24,7 @@ "https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.blue.min.css", "/css/main.css" ] - } + }, + "grammars": "~/.config/helix/runtime/grammars/", + "queries": "/nix/store/n9da8d007ygbgsx983jr3ar3wb1fsh6q-helix-25.07.1/lib/runtime/queries" } \ No newline at end of file