_config.yml 2.31 KB
Newer Older
lostinlight's avatar
lostinlight committed
1 2 3 4 5 6 7
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: Fediverse
subtitle:
8
description: Fediverse Guide
lostinlight's avatar
lostinlight committed
9 10 11 12 13 14
author: lostinlight
language:
  - en
timezone:

# URL
15
url: https://fediverse.party
lostinlight's avatar
lostinlight committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
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
lostinlight's avatar
lostinlight committed
38
relative_link: false
lostinlight's avatar
lostinlight committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
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
lostinlight's avatar
lostinlight committed
60
per_page: 23
lostinlight's avatar
lostinlight committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
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

81 82 83 84 85 86 87 88
# hexo-yam minifier
neat_enable: true
neat_html:
  enable: true
neat_css:
  enable: false
neat_js:
  enable: false
lostinlight's avatar
lostinlight committed
89 90 91 92

feed:
  type: atom
  path: atom.xml
lostinlight's avatar
lostinlight committed
93
  limit: false
lostinlight's avatar
lostinlight committed
94 95
  hub:
  content: true
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122

# 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: