2018-03-12 19:31:14 +00:00
|
|
|
# Hexo Configuration
|
|
|
|
## Docs: https://hexo.io/docs/configuration.html
|
|
|
|
## Source: https://github.com/hexojs/hexo/
|
|
|
|
|
|
|
|
# Site
|
|
|
|
title: Fediverse
|
|
|
|
subtitle:
|
2018-07-06 01:28:18 +00:00
|
|
|
description: Fediverse Guide
|
2018-03-12 19:31:14 +00:00
|
|
|
author: lostinlight
|
|
|
|
language:
|
|
|
|
- en
|
|
|
|
timezone:
|
|
|
|
|
|
|
|
# URL
|
2018-07-05 01:18:42 +00:00
|
|
|
url: https://fediverse.party
|
2018-03-12 19:31:14 +00:00
|
|
|
root: /
|
|
|
|
permalink: :lang/:layout/:title/
|
|
|
|
permalink_defaults:
|
|
|
|
|
|
|
|
# Directory
|
|
|
|
source_dir: source
|
|
|
|
public_dir: public
|
|
|
|
tag_dir: tags
|
|
|
|
archive_dir: chronicles
|
|
|
|
category_dir: categories
|
|
|
|
code_dir: downloads/code
|
|
|
|
i18n_dir: :lang
|
|
|
|
skip_render:
|
|
|
|
|
|
|
|
# Writing
|
|
|
|
new_post_name: :title.md # File name of new posts
|
|
|
|
default_layout: post
|
|
|
|
titlecase: false # Transform title into titlecase
|
|
|
|
external_link: true # Open external links in new tab
|
|
|
|
filename_case: 0
|
|
|
|
render_drafts: false
|
|
|
|
post_asset_folder: true
|
2019-12-06 23:25:05 +00:00
|
|
|
relative_link: true
|
2018-03-12 19:31:14 +00:00
|
|
|
future: true
|
|
|
|
highlight:
|
|
|
|
enable: true
|
|
|
|
line_number: true
|
|
|
|
auto_detect: false
|
|
|
|
tab_replace:
|
|
|
|
|
|
|
|
# Category & Tag
|
|
|
|
default_category: uncategorized
|
|
|
|
category_map:
|
|
|
|
tag_map:
|
|
|
|
|
|
|
|
# Date / Time format
|
|
|
|
## Hexo uses Moment.js to parse and display date
|
|
|
|
## You can customize the date format as defined in
|
|
|
|
## http://momentjs.com/docs/#/displaying/format/
|
|
|
|
date_format: DD-MM-YY
|
|
|
|
time_format: HH:mm:ss
|
|
|
|
|
|
|
|
# Pagination
|
|
|
|
## Set per_page to 0 to disable pagination
|
2018-06-20 23:45:28 +00:00
|
|
|
per_page: 23
|
2018-03-12 19:31:14 +00:00
|
|
|
pagination_dir: page
|
|
|
|
|
|
|
|
# Extensions
|
|
|
|
theme: starter
|
|
|
|
|
|
|
|
# Deployment
|
|
|
|
## Docs: https://hexo.io/docs/deployment.html
|
|
|
|
deploy:
|
|
|
|
type:
|
|
|
|
|
|
|
|
# Site settings
|
|
|
|
ogImage: tile.png
|
|
|
|
|
|
|
|
# Plugins
|
|
|
|
nofollow:
|
|
|
|
enable: true
|
|
|
|
include:
|
|
|
|
noreferrer: true
|
|
|
|
noopener: true
|
|
|
|
|
2019-01-14 23:01:54 +00:00
|
|
|
# hexo-yam minifier
|
|
|
|
neat_enable: true
|
|
|
|
neat_html:
|
|
|
|
enable: true
|
|
|
|
neat_css:
|
|
|
|
enable: false
|
|
|
|
neat_js:
|
|
|
|
enable: false
|
2018-03-12 19:31:14 +00:00
|
|
|
|
|
|
|
feed:
|
|
|
|
type: atom
|
|
|
|
path: atom.xml
|
2018-07-05 02:25:28 +00:00
|
|
|
limit: false
|
2018-03-12 19:31:14 +00:00
|
|
|
hub:
|
|
|
|
content: true
|
2018-07-05 01:18:42 +00:00
|
|
|
|
|
|
|
# hexo-renderer-markdown-it
|
|
|
|
markdown:
|
|
|
|
render:
|
|
|
|
html: true
|
|
|
|
xhtmlOut: false
|
|
|
|
breaks: false
|
|
|
|
linkify: true
|
|
|
|
typographer: true
|
|
|
|
quotes: '“”‘’'
|
|
|
|
plugins:
|
|
|
|
- markdown-it-abbr
|
|
|
|
- markdown-it-footnote
|
|
|
|
- markdown-it-ins
|
|
|
|
- markdown-it-sub
|
|
|
|
- markdown-it-sup
|
|
|
|
anchors:
|
|
|
|
# Minimum level for ID creation. (Ex. h2 to h6)
|
|
|
|
level: 2
|
|
|
|
# A suffix that is prepended to the number given if the ID is repeated.
|
|
|
|
collisionSuffix: 'v'
|
|
|
|
# If `true`, creates an anchor tag with a permalink besides the heading.
|
|
|
|
permalink: false
|
|
|
|
# Class used for the permalink anchor tag.
|
|
|
|
permalinkClass: header-anchor
|
|
|
|
# The symbol used to make the permalink
|
|
|
|
permalinkSymbol: ¶
|