From 72c315a0bd55edd73bead7c67a83be263c48fa14 Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Thu, 16 Apr 2020 14:42:09 +0200 Subject: [PATCH] Update for content --- archetypes/blog.md | 2 +- archetypes/default.md | 2 +- archetypes/docs.md | 2 +- assets/scss/common/_dark.scss | 12 ++++++-- assets/scss/layouts/_header.scss | 28 ++++++++++-------- config/_default/menus.toml | 2 +- config/_default/params.toml | 8 ++--- content/_index.md | 6 ++-- content/authors/_index.md | 2 +- content/authors/henk-verlinde/_index.md | 2 +- content/blog/_index.md | 2 +- content/blog/say-hello-to-doks/index.md | 6 ++-- content/docs/_index.md | 2 +- content/docs/basic-hyas/_index.md | 2 +- .../docs/basic-hyas/directory-structure.md | 2 +- content/docs/basic-hyas/layouts.md | 2 +- .../docs/basic-hyas/project-configuration.md | 2 +- content/docs/prologue/_index.md | 2 +- content/docs/prologue/introduction.md | 2 +- content/docs/styles-and-assets/_index.md | 2 +- .../docs/styles-and-assets/use-css-in-hyas.md | 2 +- layouts/index.html | 2 +- layouts/partials/header/header.html | 19 +++--------- static/image-doks.png | Bin 0 -> 2278 bytes static/image-hyas.jpg | Bin 17905 -> 0 bytes static/logo-doks.png | Bin 0 -> 20786 bytes static/logo-hyas.png | Bin 17977 -> 0 bytes static/site.webmanifest | 2 +- 28 files changed, 57 insertions(+), 58 deletions(-) create mode 100644 static/image-doks.png delete mode 100644 static/image-hyas.jpg create mode 100644 static/logo-doks.png delete mode 100644 static/logo-hyas.png diff --git a/archetypes/blog.md b/archetypes/blog.md index 0c17fa0..1b96724 100644 --- a/archetypes/blog.md +++ b/archetypes/blog.md @@ -4,7 +4,7 @@ description: "" lead: "" date: {{ .Date }} draft: true -images: [""] +images: {{ .Site.Params.images }} authors: [""] --- diff --git a/archetypes/default.md b/archetypes/default.md index c192a06..383c33d 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -3,5 +3,5 @@ title: "{{ replace .Name "-" " " | title }}" description: "" date: {{ .Date }} draft: true -images: [""] +images: {{ .Site.Params.images }} --- diff --git a/archetypes/docs.md b/archetypes/docs.md index 36e4707..906f8f9 100644 --- a/archetypes/docs.md +++ b/archetypes/docs.md @@ -4,7 +4,7 @@ description: "" lead: "" date: {{ .Date }} draft: true -images: [""] +images: {{ .Site.Params.images }} menu: docs: parent: "" diff --git a/assets/scss/common/_dark.scss b/assets/scss/common/_dark.scss index 4642ce6..8d3b126 100644 --- a/assets/scss/common/_dark.scss +++ b/assets/scss/common/_dark.scss @@ -88,6 +88,14 @@ body.dark .navbar .btn-link { color: $navbar-dark-color; } +body.dark .content .btn-link { + color: $link-color-dark; +} + +body.dark .content .btn-link:hover { + color: $link-color-dark; +} + body.dark .navbar .btn-link:hover { color: $navbar-dark-hover-color; } @@ -199,7 +207,7 @@ body.dark .navbar .menu-icon .navicon { background: $navbar-dark-color; } -body.dark .navbar .menu-icon .navicon:before, -body.dark .navbar .menu-icon .navicon:after { +body.dark .navbar .menu-icon .navicon::before, +body.dark .navbar .menu-icon .navicon::after { background: $navbar-dark-color; } diff --git a/assets/scss/layouts/_header.scss b/assets/scss/layouts/_header.scss index 35d96b0..b72e6b0 100644 --- a/assets/scss/layouts/_header.scss +++ b/assets/scss/layouts/_header.scss @@ -109,19 +109,21 @@ background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } -/* +/* * Source: https://medium.com/creative-technology-concepts-code/responsive-mobile-dropdown-navigation-using-css-only-7218e4498a99 */ - /* Style the menu icon for the dropdown */ .navbar .menu-icon { cursor: pointer; + /* display: inline-block; */ + /* float: right; */ padding: 1.125rem 0.625rem; margin: 0 0 0 -0.625rem; + /* position: relative; */ user-select: none; } @@ -131,26 +133,26 @@ display: block; height: 2px; position: relative; - transition: background .2s ease-out; + transition: background 0.2s ease-out; width: 18px; } -.navbar .menu-icon .navicon:before, -.navbar .menu-icon .navicon:after { +.navbar .menu-icon .navicon::before, +.navbar .menu-icon .navicon::after { background: $navbar-light-color; - content: ''; + content: ""; display: block; height: 100%; position: absolute; - transition: all .2s ease-out; + transition: all 0.2s ease-out; width: 100%; } -.navbar .menu-icon .navicon:before { +.navbar .menu-icon .navicon::before { top: 5px; } -.navbar .menu-icon .navicon:after { +.navbar .menu-icon .navicon::after { top: -5px; } @@ -169,15 +171,15 @@ background: transparent; } -.navbar .menu-btn:checked ~ .menu-icon .navicon:before { +.navbar .menu-btn:checked ~ .menu-icon .navicon::before { transform: rotate(-45deg); } -.navbar .menu-btn:checked ~ .menu-icon .navicon:after { +.navbar .menu-btn:checked ~ .menu-icon .navicon::after { transform: rotate(45deg); } -.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before, -.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after { +.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon::before, +.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon::after { top: 0; } diff --git a/config/_default/menus.toml b/config/_default/menus.toml index efe2b6c..55a5505 100644 --- a/config/_default/menus.toml +++ b/config/_default/menus.toml @@ -35,5 +35,5 @@ [[social]] name = "GitHub" pre = "" - url = "https://github.com/h-enk" + url = "https://github.com/h-enk/doks" weight = 20 diff --git a/config/_default/params.toml b/config/_default/params.toml index 1ee8beb..2f1c0a6 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,13 +1,13 @@ title = "Doks" titleSeparator = "-" -titleAddition = "Hugo Documentation Theme" -description = "Hugo boilerplate helping you build fast, robust, and flexible websites." -images = ["image-hyas.jpg"] +titleAddition = "Hugo Documentation Starter" +description = "Hugo starter helping you build kick-ass documentation websites." +images = ["image-doks.png"] twitterSite = "@henkverlinde" twitterCreator = "@henkverlinde" ogLocale = "en_US" schemaType = "Organization" -schemaLogo = "logo-hyas.png" +schemaLogo = "logo-doks.png" schemaTwitter = "https://twitter.com/henkverlinde" schemaLinkedIn = "https://www.linkedin.com/in/henkverlinde/" schemaSection = "news" diff --git a/content/_index.md b/content/_index.md index 611b753..f46046f 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,10 +1,10 @@ --- title : "Doks" -description: "Hugo boilerplate helping you build fast, flexible, and search ready websites." +description: "Hugo starter helping you build kick-ass documentation websites." date: 2019-12-02T13:47:16+01:00 draft: false -images: ["image-hyas.jpg"] -lead: "Hugo documentation theme build on Hyas." +images: [image-doks.png] +lead: "Hugo starter helping you build kick-ass documentation websites." ---
diff --git a/content/authors/_index.md b/content/authors/_index.md index 3b976e0..b004005 100644 --- a/content/authors/_index.md +++ b/content/authors/_index.md @@ -3,7 +3,7 @@ title: "Authors" description: "" date: 2020-03-23T11:01:55+01:00 draft: false -images: [""] +images: [image-doks.png] --- The Doks Blog authors diff --git a/content/authors/henk-verlinde/_index.md b/content/authors/henk-verlinde/_index.md index 8cfc7fa..5cdbb0f 100644 --- a/content/authors/henk-verlinde/_index.md +++ b/content/authors/henk-verlinde/_index.md @@ -3,7 +3,7 @@ title: "Henk Verlinde" description: "" date: 2020-03-23T11:01:55+01:00 draft: false -images: [""] +images: [image-doks.png] --- Creator of Doks. diff --git a/content/blog/_index.md b/content/blog/_index.md index 65bdcf8..7a83287 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -3,5 +3,5 @@ title: "Blog" description: "" date: 2019-12-02T13:47:16+01:00 draft: false -images: [""] +images: [image-doks.png] --- diff --git a/content/blog/say-hello-to-doks/index.md b/content/blog/say-hello-to-doks/index.md index 171eb71..d42a157 100644 --- a/content/blog/say-hello-to-doks/index.md +++ b/content/blog/say-hello-to-doks/index.md @@ -1,9 +1,9 @@ --- title: "Say hello to Doks 👋" -description: "" -lead: "Doks is a Hugo documentation theme build on Hyas." +description: "Doks is a Hugo starter helping you build kick-ass documentation websites." +lead: "Doks is a Hugo starter helping you build kick-ass documentation websites." date: 2020-03-14T10:12:13+02:00 draft: false -images: [""] +images: [image-doks.png] authors: ["Henk Verlinde"] --- diff --git a/content/docs/_index.md b/content/docs/_index.md index 5d68806..4e4babd 100644 --- a/content/docs/_index.md +++ b/content/docs/_index.md @@ -4,5 +4,5 @@ description: "Hugo boilerplate helping you build fast, robust, and flexible webs lead: "Hugo boilerplate helping you build fast, robust, and flexible websites." date: 2019-12-02T13:47:16+01:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] --- diff --git a/content/docs/basic-hyas/_index.md b/content/docs/basic-hyas/_index.md index 78ad054..b1184c4 100644 --- a/content/docs/basic-hyas/_index.md +++ b/content/docs/basic-hyas/_index.md @@ -4,5 +4,5 @@ description: "Hugo boilerplate helping you build fast, robust, and flexible webs lead: "Hugo boilerplate helping you build fast, robust, and flexible websites." date: 2019-12-02T13:47:16+01:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] --- diff --git a/content/docs/basic-hyas/directory-structure.md b/content/docs/basic-hyas/directory-structure.md index d8484cf..be043cd 100644 --- a/content/docs/basic-hyas/directory-structure.md +++ b/content/docs/basic-hyas/directory-structure.md @@ -4,7 +4,7 @@ description: "The Hyas directory structure explained." lead: "The Hyas directory structure follows and extends the Hugo directory structure. So you can easily locate stuff." date: 2020-01-07T16:02:42+01:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] menu: docs: parent: "basic-hyas" diff --git a/content/docs/basic-hyas/layouts.md b/content/docs/basic-hyas/layouts.md index e43941a..f4ef3c4 100644 --- a/content/docs/basic-hyas/layouts.md +++ b/content/docs/basic-hyas/layouts.md @@ -4,7 +4,7 @@ description: "Hugo boilerplate helping you build fast, robust, and flexible webs lead: "Hugo boilerplate helping you build fast, robust, and flexible websites." date: 2020-01-08T11:30:27+01:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] menu: docs: parent: "basic-hyas" diff --git a/content/docs/basic-hyas/project-configuration.md b/content/docs/basic-hyas/project-configuration.md index 2805714..a45a844 100644 --- a/content/docs/basic-hyas/project-configuration.md +++ b/content/docs/basic-hyas/project-configuration.md @@ -4,7 +4,7 @@ description: "Hugo boilerplate helping you build fast, robust, and flexible webs lead: "Hugo boilerplate helping you build fast, robust, and flexible websites." date: 2020-01-07T16:20:26+01:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] menu: docs: parent: "basic-hyas" diff --git a/content/docs/prologue/_index.md b/content/docs/prologue/_index.md index 0a71f2b..c3e5c38 100644 --- a/content/docs/prologue/_index.md +++ b/content/docs/prologue/_index.md @@ -4,5 +4,5 @@ description: "Hugo boilerplate helping you build fast, robust, and flexible webs lead: "Hugo boilerplate helping you build fast, robust, and flexible websites." date: 2019-12-02T13:47:16+01:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] --- diff --git a/content/docs/prologue/introduction.md b/content/docs/prologue/introduction.md index 5fae1f4..3093573 100644 --- a/content/docs/prologue/introduction.md +++ b/content/docs/prologue/introduction.md @@ -4,7 +4,7 @@ description: "Hugo boilerplate helping you build fast, robust, and flexible webs lead: "Hugo boilerplate helping you build fast, robust, and flexible websites." date: 2020-01-07T16:23:23+01:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] menu: docs: parent: "prologue" diff --git a/content/docs/styles-and-assets/_index.md b/content/docs/styles-and-assets/_index.md index c2d8ca2..b45fa47 100644 --- a/content/docs/styles-and-assets/_index.md +++ b/content/docs/styles-and-assets/_index.md @@ -4,5 +4,5 @@ description: "Hugo boilerplate helping you build fast, robust, and flexible webs lead: "Hugo boilerplate helping you build fast, robust, and flexible websites." date: 2020-04-02T17:00:04+02:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] --- diff --git a/content/docs/styles-and-assets/use-css-in-hyas.md b/content/docs/styles-and-assets/use-css-in-hyas.md index 0dc909c..f477e3e 100644 --- a/content/docs/styles-and-assets/use-css-in-hyas.md +++ b/content/docs/styles-and-assets/use-css-in-hyas.md @@ -4,7 +4,7 @@ description: "Hugo boilerplate helping you build fast, robust, and flexible webs lead: "Hugo boilerplate helping you build fast, robust, and flexible websites." date: 2020-04-02T17:02:38+02:00 draft: false -images: ["image-hyas.jpg"] +images: [image-doks.png] menu: docs: parent: "styles-and-assets" diff --git a/layouts/index.html b/layouts/index.html index 19af610..b0550ee 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,7 +5,7 @@

{{ .Title }}

{{ .Params.Lead | safeHTML }}

Get started -

{{ .Site.Params.version }}

+

{{ .Site.Params.version }}

diff --git a/layouts/partials/header/header.html b/layouts/partials/header/header.html index c23e750..970c460 100644 --- a/layouts/partials/header/header.html +++ b/layouts/partials/header/header.html @@ -1,31 +1,20 @@