sbg-utility
Version:
static-blog-generator utility
71 lines (66 loc) • 1.81 kB
YAML
# default config static-blog-generator
# Generator options
generator:
## Enable caching (gulp cache, post cache)
cache: true
## verbose
verbose: false
post_dir: src-posts
# Deployment options
deploy:
type: "git"
repo: ""
branch: "gh-pages"
username: ""
email: ""
message: "{{ now('YYYY-MM-DD HH:mm:ss') }}"
## Categories and Tags
tags:
lowercase: false # turn all terms to be lowercase
## Assign existing tag to new tag
assign:
### Replace Tag to New Tag
mapper:
categories:
lowercase: false # turn all terms to be lowercase
## Assign existing category to new category
### Auto add category on existing category
assign:
### Replace Category to New Category
mapper:
## External links
external_link:
# true: Open ext in new tab, rel nofollow
enable: true
# apply resolution
## site: apply to the whole site
## post: apply only to post
field: site
# safelink, to encode all external links with outbound page (good for seo and ads)
## see: https://github.com/dimaslanjaka/safelink
safelink:
# enable salink redirector
enable: true
# exclude url to safelinkify
exclude:
# skip domains
- my-custom-domain.com
# skip paths
- '**/exclude/**'
- '**/node_modules/**'
- '**/vendor/**'
- '**/tmp/**'
- '**/dist/**'
# safelink url
redirect:
- https://www.webmanajemen.com/page/safelink.html?url=
- https://www.webmanajemen.com/page/redirector.html?url=
type: base64
password: unique-password
# exclude host from external link filter
# this filter also included in safelink process
# you can specify only domains here and skip exclude same domains in safelink above
exclude:
- webmanajemen.com
- web-manajemen.blogspot.com
- dimaslanjaka.github.io