Skip to content

Commit

Permalink
更新Hexo和Fexo
Browse files Browse the repository at this point in the history
  • Loading branch information
EyreFree committed Aug 8, 2022
1 parent bd27c91 commit 2d7a5f1
Show file tree
Hide file tree
Showing 134 changed files with 5,568 additions and 12,992 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 20
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Thumbs.db
db.json
*.log
node_modules/
public/
.deploy*/
node_modules/
_multiconfig.yml
61 changes: 51 additions & 10 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@

# Site
title: EyreFree
subtitle:
subtitle: ''
description: EyreFree's Blog
keywords:
author: EyreFree
language:
timezone:
language: zh-CN
timezone: ''

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: http://www.eyrefree.org
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
trailing_html: true # Set to false to remove trailing '.html' from permalinks

# Directory
source_dir: source
Expand All @@ -31,7 +34,10 @@ skip_render:
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
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: false
Expand All @@ -41,35 +47,70 @@ highlight:
enable: true
line_number: false
auto_detect: false
tab_replace:
tab_replace: ''
wrap: true
hljs: false
prismjs:
enable: false
preprocess: true
line_number: false
tab_replace: ''

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ''
per_page: 10
order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true

# 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: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports 'mtime', 'date', 'empty'
updated_option: 'mtime'

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape
#theme: cactus
theme: fexo

search:
path: search.json
field: post
content: true
template: ./search.json

# Deployment
## Docs: https://hexo.io/docs/deployment.html
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: git
repo:
# coding: [email protected]:eyrefree/eyrefree.git
github: [email protected]:EyreFree/eyrefree.github.io.git
branch: master
branch: master
Loading

0 comments on commit 2d7a5f1

Please sign in to comment.