diff --git a/config.toml b/config.toml index 64cddcc..5db7b77 100755 --- a/config.toml +++ b/config.toml @@ -68,6 +68,8 @@ webmanifest = "/icons/site.webmanifest" name = "Garage" description = "An open-source distributed storage service you can self-host to fullfill many needs" logo = "/images/garage-logo.svg" +logo_simple = "/images/garage-logo-simple.svg" +logo_horizontal = "/images/garage-logo-horizontal.svg" [extra.author] name = "Garage" diff --git a/content/documentation/_index.md b/content/documentation/_index.md index 68d1395..283c8f3 100644 --- a/content/documentation/_index.md +++ b/content/documentation/_index.md @@ -2,4 +2,4 @@ template = "documentation.html" page_template = "documentation.html" redirect_to = "documentation/quick-start/" -+++ \ No newline at end of file ++++ diff --git a/content/documentation/quick-start/_index.md b/content/documentation/quick-start/_index.md deleted file mode 100644 index b8ec473..0000000 --- a/content/documentation/quick-start/_index.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -title = "Quick Start" -weight = 1 -sort_by = "weight" -redirect_to = "documentation/quick-start/overview/" -+++ \ No newline at end of file diff --git a/content/documentation/quick-start/overview.md b/content/documentation/quick_start.md similarity index 99% rename from content/documentation/quick-start/overview.md rename to content/documentation/quick_start.md index 478e033..30cf2ee 100644 --- a/content/documentation/quick-start/overview.md +++ b/content/documentation/quick_start.md @@ -1,5 +1,5 @@ +++ -title = "Overview" +title = "Quick Start" weight = 5 +++ diff --git a/src/input.css b/src/input.css index b7582f7..52ec9f3 100755 --- a/src/input.css +++ b/src/input.css @@ -99,7 +99,7 @@ p > code, p > strong > code, li > code, li > strong > code { } .is-active { - @apply text-orange-600; + @apply text-garage-orange; } @layer utilities { diff --git a/static/images/garage-logo-horizontal.svg b/static/images/garage-logo-horizontal.svg new file mode 100644 index 0000000..9bf3293 --- /dev/null +++ b/static/images/garage-logo-horizontal.svg @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/images/garage-logo-simple.svg b/static/images/garage-logo-simple.svg new file mode 100644 index 0000000..85f5e19 --- /dev/null +++ b/static/images/garage-logo-simple.svg @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/js/site.js b/static/js/site.js index f764289..d8e0d69 100755 --- a/static/js/site.js +++ b/static/js/site.js @@ -112,7 +112,7 @@ function makeTeaser(body, terms) { function formatSearchResultItem(item, terms) { return ( - `` + + `` + `

` + `${item.doc.title}` + `

` + `
` + `${makeTeaser(item.doc.body, terms)}` + @@ -168,9 +168,11 @@ function search() { } function openSearchModal() { + var baseUrl = window.location.protocol + "//" + window.location.host; + var indexScriptPath = baseUrl + '/search_index.en.js'; if (indexScriptLoaded === false) { var indexScript = document.createElement('script'); - indexScript.setAttribute('src', './search_index.en.js'); + indexScript.setAttribute('src', indexScriptPath); document.head.appendChild(indexScript); indexScriptLoaded = true; } diff --git a/templates/base.html b/templates/base.html index 8170b44..41121c3 100755 --- a/templates/base.html +++ b/templates/base.html @@ -18,9 +18,13 @@
{% block search %} -