diff --git a/content/private/A note on the state of content within this site.md b/content/private/A note on the state of content within this site.md deleted file mode 100644 index f4569edf0..000000000 --- a/content/private/A note on the state of content within this site.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: On the state of content within this site -date: 2023-08-21 -lastmod: 2023-08021 -draft: false ---- - -This site is an ongoing work in progress. The links within are an attempt to capture a lot of moving targets. This means that the information here may or may not be the bleeding edge of what is true with respect the development within the Logos Collective projects. - -It is our aim to continuously get closer to that target, but we will continuously fail at that. If you know something is out of date or incorrect, raise an issue or make a PR. \ No newline at end of file diff --git a/content/authoring content.md b/content/private/quartz/authoring content.md similarity index 100% rename from content/authoring content.md rename to content/private/quartz/authoring content.md diff --git a/content/build.md b/content/private/quartz/build.md similarity index 100% rename from content/build.md rename to content/private/quartz/build.md diff --git a/content/configuration.md b/content/private/quartz/configuration.md similarity index 100% rename from content/configuration.md rename to content/private/quartz/configuration.md diff --git a/content/hosting.md b/content/private/quartz/hosting.md similarity index 100% rename from content/hosting.md rename to content/private/quartz/hosting.md diff --git a/content/layout.md b/content/private/quartz/layout.md similarity index 100% rename from content/layout.md rename to content/private/quartz/layout.md diff --git a/content/migrating from Quartz 3.md b/content/private/quartz/migrating from Quartz 3.md similarity index 100% rename from content/migrating from Quartz 3.md rename to content/private/quartz/migrating from Quartz 3.md diff --git a/content/philosophy.md b/content/private/quartz/philosophy.md similarity index 100% rename from content/philosophy.md rename to content/private/quartz/philosophy.md diff --git a/content/showcase.md b/content/private/quartz/showcase.md similarity index 100% rename from content/showcase.md rename to content/private/quartz/showcase.md diff --git a/content/upgrading.md b/content/private/quartz/upgrading.md similarity index 100% rename from content/upgrading.md rename to content/private/quartz/upgrading.md diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index 424839502..000000000 --- a/layouts/404.html +++ /dev/null @@ -1,16 +0,0 @@ - - -{{ partial "head.html" . }} - - -
- {{partial "darkmode.html" .}} -
-

404.

-

Hey! You look a little lost. This page doesn't exist (or may be private).

- ↳ Let's get you home. -
-
- - - diff --git a/layouts/_default/_markup/render-codeblock-mermaid.html b/layouts/_default/_markup/render-codeblock-mermaid.html deleted file mode 100644 index 6aeb6f09a..000000000 --- a/layouts/_default/_markup/render-codeblock-mermaid.html +++ /dev/null @@ -1,4 +0,0 @@ -
-    {{- .Inner | safeHTML }}
-
-{{ .Page.Store.Set "hasMermaid" true }} \ No newline at end of file diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html deleted file mode 100644 index dbcf732fd..000000000 --- a/layouts/_default/_markup/render-image.html +++ /dev/null @@ -1,9 +0,0 @@ -{{$src := .Destination | safeURL }} -{{$width := index (split .Text "|") 1 | default "auto" }} -{{$external := strings.HasPrefix $src "http" }} -{{- if $external -}} -{{ .Text }} -{{- else -}} -{{$fixedUrl := (cond (hasPrefix $src "/") $src (print "/" $src)) | urlize}} -{{ .Text }} -{{- end -}} diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html deleted file mode 100644 index 4757b7284..000000000 --- a/layouts/_default/_markup/render-link.html +++ /dev/null @@ -1,16 +0,0 @@ -{{$trimmed := strings.TrimSuffix ".md" (.Destination | safeURL)}} -{{$dashedurl := replace $trimmed "%20" "-" }} -{{$external := strings.HasPrefix $dashedurl "http" }} -{{- if $external -}} -{{ .Text | safeHTML }} -{{- else -}} -{{$spacedurl := replace $trimmed "%20" " " }} -{{$fixedUrl := (cond (hasPrefix $spacedurl "/") $spacedurl (print "/" $spacedurl)) | urlize}} -{{$nonexistent := eq (.Page.GetPage $spacedurl).RelPermalink ""}} -{{$rooted := default $spacedurl ((.Page.GetPage $spacedurl).RelPermalink) }} -{{- .Text | safeHTML -}} - -{{- end -}} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index ccb3b93ac..000000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,10 +0,0 @@ - - -{{ block "head" . }} -{{ end }} - - -{{ block "main" . }} -{{ end }} - - \ No newline at end of file diff --git a/layouts/_default/section.html b/layouts/_default/section.html deleted file mode 100644 index 96611c4ce..000000000 --- a/layouts/_default/section.html +++ /dev/null @@ -1,22 +0,0 @@ - - -{{ partial "head.html" . }} - - -{{partial "search.html" .}} -
- - {{partial "header.html" .}} -
-

All {{.Title}}

- {{with .Params.description}} -

{{.}}

- {{end}} - {{partial "page-list.html" .Paginator.Pages.ByLastmod.Reverse }} - {{ template "_internal/pagination.html" .}} -
- {{partial "contact.html" .}} -
- - - diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index 0c3efe219..000000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,34 +0,0 @@ - - -{{ partial "head.html" . }} - -{{partial "search.html" .}} -
- - {{partial "header.html" .}} -
- {{if .Title}}

{{ .Title }}

{{end}} -

- Last updated {{ partial "date-fmt.html" .}} - {{ partial "github.html" . }} -

- - {{partial "toc.html" .}} - {{partial "textprocessing.html" . }} -
- {{partial "footer.html" .}} - {{ if .Page.Store.Get "hasMermaid" }} - - {{ end }} -
- - - - diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html deleted file mode 100644 index 7e401ae03..000000000 --- a/layouts/_default/taxonomy.html +++ /dev/null @@ -1,31 +0,0 @@ - - -{{ partial "head.html" . }} - - -{{partial "search.html" .}} -
- - {{partial "header.html" .}} -
-

All {{.Title}}

- {{with .Params.description}} -

{{.}}

- {{end}} -
- {{ range .Site.Taxonomies.tags.ByCount }} -
-

{{ .Page.Title | humanize }}

-

{{ .Count }} notes with this tag {{if gt .Count 10}}(showing first 10 results){{end}}

-
- {{ with ($.Site.GetPage (printf "/tags/%s" .Page.Title)) }} - {{partial "page-list.html" (first 10 .Pages.ByLastmod.Reverse)}} - {{ end }} - {{ end }} -
-
- {{partial "contact.html" .}} -
- - - diff --git a/layouts/_default/term.html b/layouts/_default/term.html deleted file mode 100644 index 79bd4eb05..000000000 --- a/layouts/_default/term.html +++ /dev/null @@ -1,22 +0,0 @@ - - -{{ partial "head.html" . }} - - -{{partial "search.html" .}} -
- - {{partial "header.html" .}} -
-

Tag: {{ .Title }}

- {{with .Params.description}} -

{{.}}

- {{end}} - {{partial "page-list.html" .Paginator.Pages}} - {{ template "_internal/pagination.html" . }} -
- {{partial "contact.html" .}} -
- - - diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index c7871e9f6..000000000 --- a/layouts/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - -{{ partial "head.html" . }} - - -{{partial "search.html" .}} -
- - {{partial "header.html" .}} -
- {{partial "toc.html" .}} - {{partial "textprocessing.html" . }} - {{if $.Site.Data.config.enableRecentNotes}} - {{partial "recent.html" . }} - {{end}} -
- {{partial "footerIndex.html" .}} -
- - diff --git a/layouts/partials/backlinks.html b/layouts/partials/backlinks.html deleted file mode 100644 index 23c9091a5..000000000 --- a/layouts/partials/backlinks.html +++ /dev/null @@ -1,30 +0,0 @@ -

Backlinks

- diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html deleted file mode 100644 index e52dc4474..000000000 --- a/layouts/partials/contact.html +++ /dev/null @@ -1,14 +0,0 @@ - -
- -
diff --git a/layouts/partials/darkmode.html b/layouts/partials/darkmode.html deleted file mode 100644 index d7540c22a..000000000 --- a/layouts/partials/darkmode.html +++ /dev/null @@ -1,15 +0,0 @@ -
- - - -
\ No newline at end of file diff --git a/layouts/partials/date-fmt.html b/layouts/partials/date-fmt.html deleted file mode 100644 index 6104226e2..000000000 --- a/layouts/partials/date-fmt.html +++ /dev/null @@ -1,7 +0,0 @@ -{{if .Date}} -{{.Date.Format "Jan 2, 2006"}} -{{else if .Lastmod}} -{{.Lastmod.Format "Jan 2, 2006"}} -{{else}} -Unknown -{{end}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index cab44cb9b..000000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,16 +0,0 @@ - - -
- -{{if $.Site.Data.config.enableFooter}} - -{{end}} - -{{partial "contact.html" .}} diff --git a/layouts/partials/footerIndex.html b/layouts/partials/footerIndex.html deleted file mode 100644 index 5b73fa45d..000000000 --- a/layouts/partials/footerIndex.html +++ /dev/null @@ -1,24 +0,0 @@ -{{if $.Site.Data.config.enableFooter}} - {{if $.Site.Data.graphConfig.enableGlobalGraph}} - - {{else}} -
- - {{end}} -{{end}} - -{{partial "contact.html" .}} diff --git a/layouts/partials/github.html b/layouts/partials/github.html deleted file mode 100644 index 21adb63e3..000000000 --- a/layouts/partials/github.html +++ /dev/null @@ -1,3 +0,0 @@ -{{if $.Site.Data.config.enableGitHubEdit}} -Edit Source -{{end}} diff --git a/layouts/partials/graph.html b/layouts/partials/graph.html deleted file mode 100644 index b9f79763c..000000000 --- a/layouts/partials/graph.html +++ /dev/null @@ -1,18 +0,0 @@ - -

Interactive Graph

-
- -{{ $js := resources.Get "js/graph.js" | resources.Fingerprint "md5" }} - diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 89f0f4c86..000000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - {{ if .Title }}{{ .Title }}{{ else }}{{ $.Site.Data.config.page_title }}{{ - end }} - - - - - {{ $favicon := $.Site.Data.config.favicon | default (slice (dict "rel" "shortcut icon" "type" "image/png" "href" "icon.png")) }} - {{ $type := (printf "%T" $favicon) }} - {{ if eq $type "string" }} - {{ $favicon | safeHTML }} - {{ else }} - {{ range $favicon }} - - {{- end }} - {{ end }} - - - {{$sass := resources.Match "styles/[!_]*.scss" }} - {{$css := slice }} - {{range $sass}} - {{$scss := . | resources.ToCSS (dict "outputStyle" "compressed") }} - {{$css = $css | append $scss}} - {{end}} - {{if $.Site.Data.config.enableCallouts}} - {{$scss := resources.Get "styles/_callouts.scss" | resources.ToCSS (dict "outputStyle" "compressed") }} - {{$css = $css | append $scss}} - {{end}} - {{$finalCss := $css | resources.Concat "styles.css" | resources.Fingerprint "md5" | resources.Minify }} - - - {{$lightSyntax := resources.Get "styles/_light_syntax.scss" | resources.ToCSS (dict "outputStyle" "compressed") | resources.Fingerprint "md5" | resources.Minify }} - - - - {{$scripts := (slice "js/darkmode.js" "js/util.js")}} - {{range $scripts}} - {{$scriptname := .}} - {{ $s := resources.Get $scriptname | resources.ExecuteAsTemplate $scriptname . | resources.Fingerprint "md5" | resources.Minify }} - - {{end}} - {{partial "katex.html" .}} - - - - {{ $popover := resources.Get "js/popover.js" | resources.Fingerprint "md5" | - resources.Minify }} - - - - {{ if $.Site.Data.config.enableCodeBlockTitle }} - {{ $codeTitle := resources.Get "js/code-title.js" | resources.Fingerprint "md5" | resources.Minify }} - - {{end}} - - {{ if $.Site.Data.config.enableCodeBlockCopy }} - {{ $clipboard := resources.Get "js/clipboard.js" | resources.Fingerprint "md5" | resources.Minify }} - - {{ end }} - - {{ if $.Site.Data.config.enableCallouts }} - {{ $callouts := resources.Get "js/callouts.js" | resources.Fingerprint "md5" | resources.Minify }} - - {{ end }} - - - - - {{$linkIndex := resources.Get "indices/linkIndex.json" | resources.Fingerprint - "md5" | resources.Minify | }} {{$contentIndex := resources.Get - "indices/contentIndex.json" | resources.Fingerprint "md5" | resources.Minify - }} - - - {{if $.Site.Data.config.enableSPA}} - {{ $router := resources.Get "js/router.js" | resources.Fingerprint "md5" | - resources.Minify }} - - {{else}} - - {{end}} - -{{ template "_internal/google_analytics.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index 773e0684b..000000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,10 +0,0 @@ -
-

{{ .Site.Data.config.page_title }}

-
-
-

Search

- Search IconIcon to open search -
- {{partial "darkmode.html" .}} -
- diff --git a/layouts/partials/katex.html b/layouts/partials/katex.html deleted file mode 100644 index 756ef779e..000000000 --- a/layouts/partials/katex.html +++ /dev/null @@ -1,5 +0,0 @@ -{{if $.Site.Data.config.enableLatex}} - - - -{{end}} diff --git a/layouts/partials/page-list.html b/layouts/partials/page-list.html deleted file mode 100644 index 1d2a47710..000000000 --- a/layouts/partials/page-list.html +++ /dev/null @@ -1,20 +0,0 @@ - diff --git a/layouts/partials/recent.html b/layouts/partials/recent.html deleted file mode 100644 index e3926c243..000000000 --- a/layouts/partials/recent.html +++ /dev/null @@ -1,12 +0,0 @@ -
-

Recent Notes

- - {{$notes := .Site.RegularPages}} - {{partial "page-list.html" (first 3 $notes)}} -
- diff --git a/layouts/partials/search.html b/layouts/partials/search.html deleted file mode 100644 index 86c8613ee..000000000 --- a/layouts/partials/search.html +++ /dev/null @@ -1,18 +0,0 @@ -
-
- -
-
-
-
-{{if $.Site.Data.config.enableSemanticSearch}} -{{ $js := resources.Get "js/semantic-search.js" | resources.ExecuteAsTemplate "js/semantic-search.js" . | resources.Fingerprint "md5" | resources.Minify }} - -{{else}} - -{{ $js := resources.Get "js/full-text-search.js" | resources.Fingerprint "md5" | resources.Minify }} - -{{end}} - diff --git a/layouts/partials/textprocessing.html b/layouts/partials/textprocessing.html deleted file mode 100644 index 1cb2583dc..000000000 --- a/layouts/partials/textprocessing.html +++ /dev/null @@ -1,91 +0,0 @@ -{{ $content := .Content }} -{{ $raw := .RawContent }} -{{ $page := .Page }} - -{{/* Escape slashes for Latex to fix line breaks */}} -{{$latex := findRE "\\$\\$([^\\$]+)\\$\\$" $content}} -{{range $latex}} - {{$fixed := replaceRE "\\\\(?: +|\\n)" "\\\\" .}} - {{$content = replace $content . $fixed}} -{{end}} - -{{/* Wikilinks */}} -{{$wikilinks := $content | findRE "!?\\[\\[\\S[^\\[\\]\\|]*(?:\\|[^\\[\\]]*)?\\S\\]\\]" }} -{{$codefences := $raw | findRE "\\x60[^\\x60\\n]+\\x60"}} -{{$codeblocks := $raw | findRE "\\x60{3}[^\\x60]+\\x60{3}"}} -{{$code := union $codefences $codeblocks}} -{{range $wikilinks}} - {{$cur := .}} - {{$incode := false}} - {{range $code}} - {{if (in . $cur)}} - {{$incode = true}} - {{end}} - {{end}} - {{if not $incode}} - {{if (hasPrefix . "!")}} - {{$inner := . | strings.TrimPrefix "![[" | strings.TrimSuffix "]]" }} - {{$split := split $inner "|"}} - {{$path := index $split 0 | relURL}} - {{$width := index $split 1}} - {{$img := printf "" $path (default "auto" $width)}} - {{$content = replace $content . $img}} - {{else}} - {{$inner := . | strings.TrimPrefix "[[" | strings.TrimSuffix "]]" }} - {{$split := split $inner "|"}} - {{$path := index $split 0}} - {{$reference := split $path "#"}} - {{$title := index $reference 0}} - {{$block := default "" (index $reference 1)}} - {{$block = strings.TrimRight "/" (cond (eq $block "") $block (printf "#%s" $block)) | urlize | lower}} - {{$href := strings.TrimRight "/" ($page.GetPage $title).RelPermalink}} - {{$display := default $title (index $split 1)}} - {{if not $href}} - {{$link := printf "%s" $display}} - {{$content = replace $content . $link}} - {{else}} - {{$fullhref := printf "%s%s" $href $block }} - {{$link := printf "%s" $fullhref $href $display}} - {{$content = replace $content . $link}} - {{end}} - {{end}} - {{end}} -{{end}} - -{{/* Add jumpable anchors */}} -{{ $content = $content | replaceRE "()(.+)()" `${1}# ${3}${4}` }} - -{{/* Callouts */}} -{{if $.Site.Data.config.enableCallouts}} - {{ $content = $content | replaceRE "
" "
" }} - {{ $blockquoteclasses := findRE `\[!.+\]` $content }} - {{ $blockquoteclasses1 := findRE "(.|\n)*?
" $content }} - {{ $blockquotetags := findRE `blockquote class=callout` $content }} - {{ $counter := 0 }} - {{ $counter1 := 0 }} - {{ $finder := index $blockquoteclasses1 $counter }} - {{range $blockquotetags}} - {{ $finder = index $blockquoteclasses1 $counter }} - {{ if (in $finder "[!") }} - {{ $inner := index $blockquoteclasses $counter1 }} - {{ if (in $finder "]-") }} - {{ $inner = $inner | replaceRE `\[!([a-zA-Z]+)\]` `callout-collapsible callout-collapsed ${1}`}} - {{ else if (in $finder "]+") }} - {{ $inner = $inner | replaceRE `\[!([a-zA-Z]+)\]` `callout-collapsible ${1}`}} - {{ else}} - {{ $inner = $inner | replaceRE `\[!([a-zA-Z]+)\]` `${1}` }} - {{ end }} - {{ $inner = printf "blockquote class=\"%s-callout\"" $inner | lower}} - {{ $content = replace $content . $inner 1}} - {{ $counter1 = add $counter1 1 }} - {{ else }} - {{ $inner := print "blockquote" }} - {{ $content = replace $content . $inner 1}} - {{ end }} - {{ $counter = add $counter 1 }} - {{end}} - {{ $content = $content | replaceRE `\[![a-zA-Z]+\][-\+]?` "" }} - {{ $content = $content | replaceRE "blockquote class=callout" "blockquote" }} -{{end}} - -{{ $content | safeHTML }} diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html deleted file mode 100644 index acda23d6d..000000000 --- a/layouts/partials/toc.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false) (gt .WordCount 250)) }} - -{{end}} diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index b908314b1..a450b90ba 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -1 +1,6 @@ // put your custom CSS here! + +html +body { + background-color:black; +} \ No newline at end of file