feat: update for Doks v1.0.0-beta.2
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
title = "Doks"
|
||||
baseurl = "/"
|
||||
canonifyURLs = false
|
||||
disableAliases = true
|
||||
@ -16,6 +17,11 @@ defaultContentLanguage = "en"
|
||||
disableLanguages = ["de", "nl"]
|
||||
defaultContentLanguageInSubdir = false
|
||||
|
||||
copyRight = "Copyright (c) 2020-2023 Henk Verlinde"
|
||||
|
||||
[social]
|
||||
twitter = "getdoks"
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "searchIndex"]
|
||||
section = ["HTML", "RSS", "SITEMAP"]
|
||||
@ -70,3 +76,10 @@ rel = "sitemap"
|
||||
[[related.indices]]
|
||||
name = "date"
|
||||
weight = 10
|
||||
|
||||
[imaging]
|
||||
anchor = 'Smart'
|
||||
bgColor = '#fff'
|
||||
hint = 'photo'
|
||||
quality = 90
|
||||
resampleFilter = 'Lanczos'
|
||||
|
@ -14,6 +14,11 @@
|
||||
source = "node_modules/@hyas/seo/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/images/assets"
|
||||
target = "assets"
|
||||
excludeFiles = "/scss/**.scss"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/images/layouts"
|
||||
target = "layouts"
|
||||
@ -63,7 +68,11 @@
|
||||
target = "assets/svgs/tabler-icons"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/tabler-icons/layouts"
|
||||
source = "assets/svgs"
|
||||
target = "assets/svgs"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/inline-svg/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Hyas (gethyas)
|
||||
|
||||
## Feed
|
||||
copyRight = "Copyright (c) 2020-2021 Henk Verlinde"
|
||||
|
||||
# SEO (@hyas/seo)
|
||||
|
||||
## Homepage
|
||||
title = "Doks"
|
||||
titleSeparator = "-" # - (default)
|
||||
titleAddition = "Modern Documentation Theme"
|
||||
description = "Doks is a Hyas theme for building custom, production-ready documentation websites." # Default description
|
||||
|
||||
## Open Graph
|
||||
images = ["hyas.png"]
|
||||
ogLocale = "en_US"
|
||||
titleHome = "Modern Documentation Theme"
|
||||
|
||||
## Twitter Cards
|
||||
twitterSite = "@gethyas"
|
||||
twitterCreator = "@henkverlinde"
|
||||
|
||||
## JSON-LD
|
||||
schemaType = "Organization" # Organization (default) or Person
|
||||
schemaName = "Hyas"
|
||||
schemaAuthor = "Henk Verlinde"
|
||||
schemaAuthorTwitter = "https://twitter.com/henkverlinde"
|
||||
schemaAuthorLinkedIn = "https://www.linkedin.com/in/henkverlinde/"
|
||||
schemaAuthorGitHub = "https://github.com/h-enk"
|
||||
schemaLocale = "en-US"
|
||||
schemaLogo = "logo-hyas.png"
|
||||
schemaLogoWidth = 512
|
||||
schemaLogoHeight = 512
|
||||
schemaImage = "hyas.png"
|
||||
schemaImageWidth = 1280
|
||||
schemaImageHeight = 640
|
||||
schemaTwitter = "https://twitter.com/gethyas"
|
||||
schemaLinkedIn = ""
|
||||
schemaGitHub = "https://github.com/h-enk/hyas"
|
||||
|
||||
# Images (@hyas/images)
|
||||
|
||||
[lazyimg]
|
||||
resizer = "auto"
|
||||
renderer = "lqip-webp" # "lqip (default)"
|
||||
|
||||
# Resizer options:
|
||||
lqipSize = "120x Gaussian"
|
||||
maxSize = "1024x" # "1920x" (default)
|
||||
responsiveSizes = [ "320x", "640x", "768x", "1024x", "1366x", "1600x", "1920x" ]
|
||||
resizeOptions = "Lanczos q95"
|
||||
|
||||
# Renderer options:
|
||||
class = "img-fluid"
|
||||
# alt = "" # Default alt tag
|
||||
noscript = true
|
||||
|
||||
errorHandler = "warning" # "warning-remote" (default)
|
64
config/_default/params.yml
Normal file
64
config/_default/params.yml
Normal file
@ -0,0 +1,64 @@
|
||||
# Images (@hyas/images)
|
||||
image:
|
||||
## General
|
||||
type: page # page (default) or global
|
||||
widths: [480, 640, 768, 1024, 1366] # [600, 900, 1300] (default)
|
||||
densities: [1,2] # [1,2] (default)
|
||||
formats: [original, webp] # [original, webp] (default)
|
||||
provider: null # null (default) or netlify
|
||||
loading: lazysizes # auto (default), lazy, or lazysizes
|
||||
class: "img-fluid blur-up" # img-fluid (default)
|
||||
output: picture # picture (default), figure, or img
|
||||
noscript: false # false (default) or true
|
||||
|
||||
## Placeholder
|
||||
placeholder: lqip # null (default), lqip, dominant, or [black, [gray-100..gray-900], white]
|
||||
lqip_div_factor: 5 # 5 (default)
|
||||
lqip_blur_amount: 5 # 5 (default)
|
||||
gif_div_factor: 10 # 10 (default)
|
||||
|
||||
## Figure
|
||||
target: "_blank" # _blank (default)
|
||||
rel: "noopener, noreferrer" # noopener, noreferrer (default)
|
||||
figure_class: "figure" # figure (default)
|
||||
figure_image_class: "figure-img img-fluid blur-up" # "figure-img img-fluid" (default)
|
||||
figcaption_class: figure-caption # figure-caption (default)
|
||||
figcaption_title_h: 4 # 4 (default)
|
||||
attr_link_target: "_blank" # _blank (default)
|
||||
attr_link_rel: "noopener, noreferrer" # noopener, noreferrer (default)
|
||||
|
||||
## Render hook
|
||||
render_hook: true # false (default) or true
|
||||
render_hook_wrapper_class: img-wrapper # img-wrapper (default)
|
||||
|
||||
## Shortcode
|
||||
shortcode_wrapper_class: img-wrapper # img-wrapper (default)
|
||||
|
||||
## Debugging
|
||||
suppress_width_warning: false # false (default) or true
|
||||
debug: false # false (default) or true
|
||||
|
||||
# SEO (@hyas/seo)
|
||||
seo:
|
||||
description: "Doks is a Hyas theme for building custom, production-ready documentation websites."
|
||||
generate:
|
||||
title: true
|
||||
meta: true
|
||||
twitter: true
|
||||
og: true
|
||||
jsonld:
|
||||
article: true
|
||||
breadcrumbs: true
|
||||
title_tag:
|
||||
separator: "|"
|
||||
home_text: "Modern Documentation Theme"
|
||||
og_article_types: [post, posts, blog, news, article, articles, event, events, course, courses]
|
||||
jsonld_article_types: [article, articles]
|
||||
jsonld_news_article_types: [news, updates]
|
||||
jsonld_blog_posting_types: [post, posts, blog]
|
||||
image: "/images/hyas-schema-image.png"
|
||||
private: false
|
||||
|
||||
# Inline SVG (@hyas/inline-svg)
|
||||
inline_svg:
|
||||
icon_set_dir: "tabler-icons" # tabler-icons (default)
|
Reference in New Issue
Block a user