Update for content
This commit is contained in:
parent
7aae856bc7
commit
72c315a0bd
|
@ -4,7 +4,7 @@ description: ""
|
|||
lead: ""
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
images: [""]
|
||||
images: {{ .Site.Params.images }}
|
||||
authors: [""]
|
||||
---
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@ title: "{{ replace .Name "-" " " | title }}"
|
|||
description: ""
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
images: [""]
|
||||
images: {{ .Site.Params.images }}
|
||||
---
|
||||
|
|
|
@ -4,7 +4,7 @@ description: ""
|
|||
lead: ""
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
images: [""]
|
||||
images: {{ .Site.Params.images }}
|
||||
menu:
|
||||
docs:
|
||||
parent: ""
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
[[social]]
|
||||
name = "GitHub"
|
||||
pre = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-github\"><path d=\"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22\"></path></svg>"
|
||||
url = "https://github.com/h-enk"
|
||||
url = "https://github.com/h-enk/doks"
|
||||
weight = 20
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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."
|
||||
---
|
||||
|
||||
<div class="row justify-content-center">
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -3,5 +3,5 @@ title: "Blog"
|
|||
description: ""
|
||||
date: 2019-12-02T13:47:16+01:00
|
||||
draft: false
|
||||
images: [""]
|
||||
images: [image-doks.png]
|
||||
---
|
||||
|
|
|
@ -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"]
|
||||
---
|
||||
|
|
|
@ -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]
|
||||
---
|
||||
|
|
|
@ -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]
|
||||
---
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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]
|
||||
---
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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]
|
||||
---
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<h1 class="mt-0">{{ .Title }}</h1>
|
||||
<p class="lead">{{ .Params.Lead | safeHTML }}</p>
|
||||
<a class="btn btn-primary btn-lg px-4 mb-2" href="{{ .Site.BaseURL }}docs/prologue/introduction/" role="button">Get started</a>
|
||||
<p><a class="btn btn-link btn-sm" href="https://github.com/h-enk" target="_blank" rel="noreferrer noopener" role="button">{{ .Site.Params.version }}</a></p>
|
||||
<p><a class="btn btn-link btn-sm" href="https://github.com/h-enk/doks" target="_blank" rel="noreferrer noopener" role="button">{{ .Site.Params.version }}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -1,31 +1,20 @@
|
|||
<!-- <div class="header-bar fixed-top"></div> -->
|
||||
<header class="navbar fixed-top navbar-expand-md navbar-light">
|
||||
<div class="container">
|
||||
|
||||
<input class="menu-btn order-3" type="checkbox" id="menu-btn">
|
||||
<input class="menu-btn order-0" type="checkbox" id="menu-btn">
|
||||
<label class="menu-icon d-md-none" for="menu-btn"><span class="navicon"></span></label>
|
||||
|
||||
<a class="navbar-brand order-0 mr-auto" href="{{ .Site.BaseURL }}">{{ .Site.Params.Title }}</a>
|
||||
<button id="mode" class="btn btn-link order-1 order-md-4" type="button" aria-label="Toggle mode">
|
||||
<a class="navbar-brand order-1 order-md-0 mr-auto" href="{{ .Site.BaseURL }}">{{ .Site.Params.Title }}</a>
|
||||
<button id="mode" class="btn btn-link order-2 order-md-4" type="button" aria-label="Toggle mode">
|
||||
<span class="toggle-dark"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg></span>
|
||||
<span class="toggle-light"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg></span>
|
||||
</button>
|
||||
<ul class="navbar-nav social-nav order-2 order-md-5">
|
||||
<ul class="navbar-nav social-nav order-3 order-md-5">
|
||||
{{ range .Site.Menus.social -}}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ .URL | absLangURL }}" target="_blank" rel="noreferrer noopener">{{ .Pre | safeHTML }}<span class="ml-2 sr-only">{{ .Name | safeHTML }}</span></a>
|
||||
</li>
|
||||
{{ end -}}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
<button id="navigation" class="btn btn-link order-3 d-md-none" type="button" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
||||
</button>
|
||||
-->
|
||||
<div class="collapse navbar-collapse order-4 order-md-1">
|
||||
<ul class="navbar-nav main-nav mr-auto order-5 order-md-2">
|
||||
{{- $current := . -}}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
|
@ -1 +1 @@
|
|||
{"name":"Doks","short_name":"Doks","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
||||
{"name":"Doks","short_name":"Doks","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#fff","background_color":"#fff","display":"standalone"}
|
Loading…
Reference in New Issue