blog/hugo.yml

108 строки
2.9 KiB
YAML

languageCode: "en"
title: "Bootstrap Blog"
baseURL: "https://blog.getbootstrap.com"
security:
enableInlineShortcodes: true
funcs:
getenv:
- ^HUGO_
- NETLIFY
build:
noJSConfigInAssets: false
markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
tableOfContents:
startLevel: 2
endLevel: 6
buildDrafts: true
buildFuture: true
enableRobotsTXT: true
metaDataFormat: "yaml"
disableKinds: ["404", "taxonomy", "term"]
publishDir: "_site"
pagerSize: 5
rssLimit: 10
permalinks:
posts: "/:year/:month/:day/:filename/"
related:
includeNewer: false
indices:
- name: keywords
weight: 100
- name: tags
weight: 80
- name: date
weight: 10
threshold: 80
toLower: false
outputs:
page: ["HTML"]
home: ["HTML", "RSS"]
section: ["HTML", "RSS"]
outputFormats:
RSS:
mediatype: "application/rss"
baseName: "feed"
module:
mounts:
- source: src/assets
target: assets
- source: src/content
target: content
- source: src/data
target: data
- source: src/layouts
target: layouts
- source: src/static
target: static
- source: src/static/assets/img/favicons/apple-touch-icon.png
target: static/apple-touch-icon.png
- source: src/static/assets/img/favicons/favicon.ico
target: static/favicon.ico
- source: node_modules/bootstrap/scss
target: assets/scss/bootstrap
- source: node_modules/bootstrap/dist/js/bootstrap.bundle.min.js
target: assets/js/vendor/bootstrap.bundle.min.js
params:
docs_version: "5.3"
description: "Official blog for the Bootstrap framework."
author: "Mark Otto"
main: "https://getbootstrap.com"
github_org: "https://github.com/twbs"
repo: "https://github.com/twbs/blog"
twitter: "getbootstrap"
blog: "https://blog.getbootstrap.com/"
icons: "https://icons.getbootstrap.com/"
themes: "https://themes.getbootstrap.com/"
opencollective: "https://opencollective.com/bootstrap"
swag: "https://cottonbureau.com/people/bootstrap"
analytics:
fathom_site: "ITUSEYJG"
# This is currently used by Hugo's internal templates; the first image
# in the following array is always used, unless specified in the front matter
images:
- "/assets/img/bootstrap-social.png"
social:
twitter: "getbootstrap"