first commit
This commit is contained in:
commit
b29167377c
15 changed files with 5740 additions and 0 deletions
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
db.json
|
||||||
|
*.log
|
||||||
|
node_modules/
|
||||||
|
public/
|
||||||
|
.deploy*/
|
||||||
|
_multiconfig.yml
|
422
_config.icarus.yml
Normal file
422
_config.icarus.yml
Normal file
|
@ -0,0 +1,422 @@
|
||||||
|
# Version of the configuration file
|
||||||
|
version: 5.1.0
|
||||||
|
# Icarus theme variant, can be "default" or "cyberpunk"
|
||||||
|
variant: default
|
||||||
|
# Path or URL to the website's logo
|
||||||
|
logo: /avatar.jpg
|
||||||
|
# Page metadata configurations
|
||||||
|
head:
|
||||||
|
# URL or path to the website's icon
|
||||||
|
favicon: /avatar.jpg
|
||||||
|
# Web application manifests configuration
|
||||||
|
# https://developer.mozilla.org/en-US/docs/Web/Manifest
|
||||||
|
manifest:
|
||||||
|
# Name of the web application (default to the site title)
|
||||||
|
name:
|
||||||
|
# The displayed name of the web application
|
||||||
|
# when there is not enough space to display full name
|
||||||
|
short_name:
|
||||||
|
# The start URL of the web application
|
||||||
|
start_url:
|
||||||
|
# The default theme color for the application
|
||||||
|
theme_color:
|
||||||
|
# A placeholder background color for the application page to display
|
||||||
|
# before its stylesheet is loaded
|
||||||
|
background_color:
|
||||||
|
# The preferred display mode for the website
|
||||||
|
display: standalone
|
||||||
|
# Image files that can serve as application icons for different contexts
|
||||||
|
icons:
|
||||||
|
-
|
||||||
|
# The path to the image file
|
||||||
|
src: ''
|
||||||
|
# A string containing space-separated image dimensions
|
||||||
|
sizes: ''
|
||||||
|
# A hint as to the media type of the image
|
||||||
|
type:
|
||||||
|
# Open Graph metadata
|
||||||
|
# https://hexo.io/docs/helpers.html#open-graph
|
||||||
|
open_graph:
|
||||||
|
# Page title (og:title) (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
title:
|
||||||
|
# Page type (og:type) (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
type: blog
|
||||||
|
# Page URL (og:url) (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
url:
|
||||||
|
# Page cover (og:image) (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
image:
|
||||||
|
# Site name (og:site_name) (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
site_name:
|
||||||
|
# Page author (article:author) (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
author:
|
||||||
|
# Page description (og:description) (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
description:
|
||||||
|
# Twitter card type (twitter:card)
|
||||||
|
twitter_card:
|
||||||
|
# Twitter ID (twitter:creator)
|
||||||
|
twitter_id:
|
||||||
|
# Twitter Site (twitter:site)
|
||||||
|
twitter_site:
|
||||||
|
# Google+ profile link (deprecated)
|
||||||
|
google_plus:
|
||||||
|
# Facebook admin ID
|
||||||
|
fb_admins:
|
||||||
|
# Facebook App ID
|
||||||
|
fb_app_id:
|
||||||
|
# Structured data of the page
|
||||||
|
# https://developers.google.com/search/docs/guides/intro-structured-data
|
||||||
|
structured_data:
|
||||||
|
# Page title (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
title:
|
||||||
|
# Page description (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
description:
|
||||||
|
# Page URL (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
url:
|
||||||
|
# Page author (article:author) (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
author:
|
||||||
|
# Page publisher (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
publisher:
|
||||||
|
# Page publisher logo (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
publisher_logo:
|
||||||
|
# Page images (optional)
|
||||||
|
# You should leave this blank for most of the time
|
||||||
|
image:
|
||||||
|
# Additional HTML meta tags in an array
|
||||||
|
meta:
|
||||||
|
# Meta tag specified in <attribute>=<value> style
|
||||||
|
# E.g., name=theme-color;content=#123456 => <meta name="theme-color" content="#123456">
|
||||||
|
- ''
|
||||||
|
# URL or path to the website's RSS atom.xml
|
||||||
|
rss:
|
||||||
|
# Page top navigation bar configurations
|
||||||
|
navbar:
|
||||||
|
# Navigation menu items
|
||||||
|
menu:
|
||||||
|
首页: /
|
||||||
|
文章: /archives
|
||||||
|
分类: /categories
|
||||||
|
标签: /tags
|
||||||
|
关于: /about
|
||||||
|
# Links to be shown on the right of the navigation bar
|
||||||
|
links:
|
||||||
|
# Download on GitHub:
|
||||||
|
# icon: fab fa-github
|
||||||
|
# url: https://github.com/ppoffice/hexo-theme-icarus
|
||||||
|
# Page footer configurations
|
||||||
|
footer:
|
||||||
|
# Copyright text
|
||||||
|
copyright: '<a href="//stats.vicicode.com" target="_blank">服务可用状态</a> <a href="//icp.gov.moe/?keyword=vicicode.com" target="_blank">萌ICP备20210066号</a>'
|
||||||
|
# Links to be shown on the right of the footer section
|
||||||
|
links:
|
||||||
|
# Creative Commons:
|
||||||
|
# icon: fab fa-creative-commons
|
||||||
|
# url: https://creativecommons.org/
|
||||||
|
# Attribution 4.0 International:
|
||||||
|
# icon: fab fa-creative-commons-by
|
||||||
|
# url: https://creativecommons.org/licenses/by/4.0/
|
||||||
|
# Download on GitHub:
|
||||||
|
# icon: fab fa-github
|
||||||
|
# url: https://github.com/ppoffice/hexo-theme-icarus
|
||||||
|
# Article related configurations
|
||||||
|
article:
|
||||||
|
# Code highlight settings
|
||||||
|
highlight:
|
||||||
|
# Code highlight themes
|
||||||
|
# https://github.com/highlightjs/highlight.js/tree/master/src/styles
|
||||||
|
theme: atom-one-light
|
||||||
|
# Show copy code button
|
||||||
|
clipboard: true
|
||||||
|
# Default folding status of the code blocks. Can be "", "folded", "unfolded"
|
||||||
|
fold: unfolded
|
||||||
|
# Whether to show estimated article reading time
|
||||||
|
readtime: true
|
||||||
|
# Whether to show updated time. For "auto", shows article update time only when page.updated is set and it is different from page.date
|
||||||
|
update_time: true
|
||||||
|
# Article licensing block
|
||||||
|
licenses:
|
||||||
|
# Creative Commons:
|
||||||
|
# icon: fab fa-creative-commons
|
||||||
|
# url: https://creativecommons.org/
|
||||||
|
# Attribution:
|
||||||
|
# icon: fab fa-creative-commons-by
|
||||||
|
# url: https://creativecommons.org/licenses/by/4.0/
|
||||||
|
# Noncommercial:
|
||||||
|
# icon: fab fa-creative-commons-nc
|
||||||
|
# url: https://creativecommons.org/licenses/by-nc/4.0/
|
||||||
|
# Search plugin configurations
|
||||||
|
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Search/
|
||||||
|
search:
|
||||||
|
type: insight
|
||||||
|
# Whether to include pages in the search results
|
||||||
|
index_pages: true
|
||||||
|
# Comment plugin configurations
|
||||||
|
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment/
|
||||||
|
comment:
|
||||||
|
type: disqus
|
||||||
|
# Disqus shortname
|
||||||
|
shortname: 'vici-code'
|
||||||
|
# Donate plugin configurations
|
||||||
|
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Donation/
|
||||||
|
# donates:
|
||||||
|
# # "Afdian.net" donate button configurations
|
||||||
|
# -
|
||||||
|
# type: afdian
|
||||||
|
# # URL to the "Afdian.net" personal page
|
||||||
|
# url: ''
|
||||||
|
# # Alipay donate button configurations
|
||||||
|
# -
|
||||||
|
# type: alipay
|
||||||
|
# # Alipay qrcode image URL
|
||||||
|
# qrcode: ''
|
||||||
|
# # "Buy me a coffee" donate button configurations
|
||||||
|
# -
|
||||||
|
# type: buymeacoffee
|
||||||
|
# # URL to the "Buy me a coffee" page
|
||||||
|
# url: ''
|
||||||
|
# # Patreon donate button configurations
|
||||||
|
# -
|
||||||
|
# type: patreon
|
||||||
|
# # URL to the Patreon page
|
||||||
|
# url: ''
|
||||||
|
# # Paypal donate button configurations
|
||||||
|
# -
|
||||||
|
# type: paypal
|
||||||
|
# # Paypal business ID or email address
|
||||||
|
# business: ''
|
||||||
|
# # Currency code
|
||||||
|
# currency_code: USD
|
||||||
|
# # Wechat donate button configurations
|
||||||
|
# -
|
||||||
|
# type: wechat
|
||||||
|
# # Wechat qrcode image URL
|
||||||
|
# qrcode: ''
|
||||||
|
# Share plugin configurations
|
||||||
|
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Share/
|
||||||
|
# share:
|
||||||
|
# type: sharethis
|
||||||
|
# # URL to the ShareThis share plugin script
|
||||||
|
# install_url: ''
|
||||||
|
# Sidebar configurations.
|
||||||
|
# Please be noted that a sidebar is only visible when it has at least one widget
|
||||||
|
sidebar:
|
||||||
|
# Left sidebar configurations
|
||||||
|
left:
|
||||||
|
# Whether the sidebar sticks to the top when page scrolls
|
||||||
|
sticky: false
|
||||||
|
# Right sidebar configurations
|
||||||
|
right:
|
||||||
|
# Whether the sidebar sticks to the top when page scrolls
|
||||||
|
sticky: false
|
||||||
|
# Sidebar widget configurations
|
||||||
|
# http://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/
|
||||||
|
widgets:
|
||||||
|
# Profile widget configurations
|
||||||
|
-
|
||||||
|
# Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
position: left
|
||||||
|
type: profile
|
||||||
|
# Author name
|
||||||
|
author: Silent YANG
|
||||||
|
# Author title
|
||||||
|
author_title: 功崇惟志,业广惟勤
|
||||||
|
# Author's current location
|
||||||
|
location: China
|
||||||
|
# URL or path to the avatar image
|
||||||
|
avatar: /avatar.jpg
|
||||||
|
# Whether show the rounded avatar image
|
||||||
|
avatar_rounded: false
|
||||||
|
# Email address for the Gravatar
|
||||||
|
gravatar:
|
||||||
|
# URL or path for the follow button
|
||||||
|
follow_link:
|
||||||
|
# Links to be shown on the bottom of the profile widget
|
||||||
|
social_links:
|
||||||
|
# Github:
|
||||||
|
# icon: fab fa-github
|
||||||
|
# url: https://github.com/ppoffice
|
||||||
|
# Facebook:
|
||||||
|
# icon: fab fa-facebook
|
||||||
|
# url: https://facebook.com
|
||||||
|
# Twitter:
|
||||||
|
# icon: fab fa-twitter
|
||||||
|
# url: https://twitter.com
|
||||||
|
# Dribbble:
|
||||||
|
# icon: fab fa-dribbble
|
||||||
|
# url: https://dribbble.com
|
||||||
|
RSS:
|
||||||
|
icon: fas fa-rss
|
||||||
|
url: /atom.xml
|
||||||
|
# Table of contents widget configurations
|
||||||
|
-
|
||||||
|
# Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
position: left
|
||||||
|
type: toc
|
||||||
|
# Whether to show the index of each heading
|
||||||
|
index: true
|
||||||
|
# Whether to collapse sub-headings when they are out-of-view
|
||||||
|
collapsed: true
|
||||||
|
# Maximum level of headings to show (1-6)
|
||||||
|
depth: 3
|
||||||
|
# Recommendation links widget configurations
|
||||||
|
-
|
||||||
|
# Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
position: left
|
||||||
|
type: links
|
||||||
|
# Names and URLs of the sites
|
||||||
|
links:
|
||||||
|
沐小晨曦: http://omooo.top
|
||||||
|
昌维: https://changwei.me
|
||||||
|
无邪: https://wuxiexie.github.io
|
||||||
|
Yuhang Song: https://yhscode.com
|
||||||
|
# Categories widget configurations
|
||||||
|
-
|
||||||
|
# Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
position: left
|
||||||
|
type: categories
|
||||||
|
# Recent posts widget configurations
|
||||||
|
-
|
||||||
|
# Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
position: left
|
||||||
|
type: recent_posts
|
||||||
|
# Archives widget configurations
|
||||||
|
-
|
||||||
|
# Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
position: left
|
||||||
|
type: archives
|
||||||
|
# Tags widget configurations
|
||||||
|
-
|
||||||
|
# Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
position: left
|
||||||
|
type: tags
|
||||||
|
# How to order tags. For example 'name' to order by name in ascending order, and '-length' to order by number of posts in each tags in descending order
|
||||||
|
order_by: name
|
||||||
|
# Amount of tags to show. Will show all if not set.
|
||||||
|
amount:
|
||||||
|
# Whether to show tags count, i.e. number of posts in the tag.
|
||||||
|
show_count: true
|
||||||
|
# Google FeedBurner email subscription widget configurations
|
||||||
|
# -
|
||||||
|
# # Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
# position: left
|
||||||
|
# type: subscribe_email
|
||||||
|
# # Hint text under the email input
|
||||||
|
# description:
|
||||||
|
# # Feedburner ID
|
||||||
|
# feedburner_id: ''
|
||||||
|
# Google AdSense unit configurations
|
||||||
|
-
|
||||||
|
# Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
position: left
|
||||||
|
type: adsense
|
||||||
|
# AdSense client ID
|
||||||
|
client_id: 'ca-pub-3673486713413138'
|
||||||
|
# AdSense AD unit ID
|
||||||
|
slot_id: ''
|
||||||
|
# Follow.it email subscription widget configurations
|
||||||
|
# -
|
||||||
|
# # Where should the widget be placed, left sidebar or right sidebar
|
||||||
|
# position: left
|
||||||
|
# type: followit
|
||||||
|
# # Hint text under the email input
|
||||||
|
# description:
|
||||||
|
# # Subscription form action URL
|
||||||
|
# action_url: ''
|
||||||
|
# # Feed claiming verification code
|
||||||
|
# verification_code: ''
|
||||||
|
# Plugin configurations
|
||||||
|
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/
|
||||||
|
plugins:
|
||||||
|
# Enable page startup animations
|
||||||
|
animejs: true
|
||||||
|
# Show the "back to top" button
|
||||||
|
back_to_top: true
|
||||||
|
# Baidu Analytics plugin settings
|
||||||
|
# https://tongji.baidu.com
|
||||||
|
baidu_analytics:
|
||||||
|
# Baidu Analytics tracking ID
|
||||||
|
tracking_id:
|
||||||
|
# Bing Webmaster Tools plugin settings
|
||||||
|
# https://www.bing.com/toolbox/webmaster/
|
||||||
|
bing_webmaster:
|
||||||
|
# Bing Webmaster Tools tracking ID in the <meta> tag
|
||||||
|
tracking_id:
|
||||||
|
# BuSuanZi site/page view counter
|
||||||
|
# https://busuanzi.ibruce.info
|
||||||
|
busuanzi: false
|
||||||
|
# CNZZ statistics
|
||||||
|
# https://www.umeng.com/web
|
||||||
|
cnzz:
|
||||||
|
# CNZZ tracker id
|
||||||
|
id:
|
||||||
|
# CNZZ website id
|
||||||
|
web_id:
|
||||||
|
# Alerting users about the use of cookies
|
||||||
|
# https://www.osano.com/cookieconsent/
|
||||||
|
cookie_consent:
|
||||||
|
# The compliance type. Can be "info", "opt-in", or "opt-out"
|
||||||
|
type: info
|
||||||
|
# Theme of the popup. Can be "block", "edgeless", or "classic"
|
||||||
|
theme: edgeless
|
||||||
|
# Whether the popup should stay static regardless of the page scrolls
|
||||||
|
static: false
|
||||||
|
# Where on the screen the consent popup should display
|
||||||
|
position: bottom-left
|
||||||
|
# URL to your site's cookie policy
|
||||||
|
policyLink: https://www.cookiesandyou.com/
|
||||||
|
# Enable the lightGallery and Justified Gallery plugins
|
||||||
|
gallery: true
|
||||||
|
# Google Analytics plugin settings
|
||||||
|
# https://analytics.google.com
|
||||||
|
google_analytics:
|
||||||
|
# Google Analytics tracking ID
|
||||||
|
tracking_id:
|
||||||
|
# Hotjar user feedback plugin
|
||||||
|
# https://www.hotjar.com/
|
||||||
|
hotjar:
|
||||||
|
# Hotjar site id
|
||||||
|
site_id:
|
||||||
|
# Enable the KaTeX math typesetting support
|
||||||
|
# https://katex.org/
|
||||||
|
katex: false
|
||||||
|
# Enable the MathJax math typesetting support
|
||||||
|
# https://www.mathjax.org/
|
||||||
|
mathjax: false
|
||||||
|
# Enable the Outdated Browser plugin
|
||||||
|
# http://outdatedbrowser.com/
|
||||||
|
outdated_browser: false
|
||||||
|
# Show a progress bar at top of the page on page loading
|
||||||
|
progressbar: true
|
||||||
|
# Statcounter statistics
|
||||||
|
# https://statcounter.com/
|
||||||
|
statcounter:
|
||||||
|
# Statcounter project id
|
||||||
|
project:
|
||||||
|
# Statcounter project security code
|
||||||
|
security:
|
||||||
|
# Twitter conversion tracking plugin settings
|
||||||
|
# https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html
|
||||||
|
twitter_conversion_tracking:
|
||||||
|
# Twitter Pixel ID
|
||||||
|
pixel_id:
|
||||||
|
# CDN provider settings
|
||||||
|
# https://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/
|
||||||
|
providers:
|
||||||
|
# Name or URL template of the JavaScript and/or stylesheet CDN provider
|
||||||
|
cdn: jsdelivr
|
||||||
|
# Name or URL template of the webfont CDN provider
|
||||||
|
fontcdn: google
|
||||||
|
# Name or URL of the fontawesome icon font CDN provider
|
||||||
|
iconcdn: fontawesome
|
86
_config.yml
Normal file
86
_config.yml
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
title: VICI CODE
|
||||||
|
subtitle: 640K 对每一个人来说都已足够
|
||||||
|
description: 互联网科技博主,计算机网络管理员,用 Web、Python、PHP、Java、C# 开发,会一点嵌入式。
|
||||||
|
keywords:
|
||||||
|
- VICI CODE
|
||||||
|
- Silent YANG
|
||||||
|
- 互联网
|
||||||
|
- 计算机
|
||||||
|
- 网络管理员
|
||||||
|
- Web
|
||||||
|
- Python
|
||||||
|
- PHP
|
||||||
|
author: Silent YANG
|
||||||
|
language: zh-CN
|
||||||
|
timezone: Asia/Shanghai
|
||||||
|
url: https://www.vicicode.com
|
||||||
|
permalink: ':year/:month/:day/:title/'
|
||||||
|
permalink_defaults: null
|
||||||
|
pretty_urls:
|
||||||
|
trailing_index: true
|
||||||
|
trailing_html: true
|
||||||
|
source_dir: source
|
||||||
|
public_dir: public
|
||||||
|
tag_dir: tags
|
||||||
|
archive_dir: archives
|
||||||
|
category_dir: categories
|
||||||
|
code_dir: downloads/code
|
||||||
|
i18n_dir: ':lang'
|
||||||
|
skip_render: null
|
||||||
|
new_post_name: ':title.md'
|
||||||
|
default_layout: post
|
||||||
|
titlecase: false
|
||||||
|
external_link:
|
||||||
|
enable: true
|
||||||
|
field: site
|
||||||
|
exclude: ''
|
||||||
|
filename_case: 0
|
||||||
|
render_drafts: false
|
||||||
|
post_asset_folder: false
|
||||||
|
relative_link: false
|
||||||
|
future: true
|
||||||
|
highlight:
|
||||||
|
enable: true
|
||||||
|
line_number: true
|
||||||
|
auto_detect: false
|
||||||
|
tab_replace: ''
|
||||||
|
wrap: true
|
||||||
|
hljs: false
|
||||||
|
prismjs:
|
||||||
|
enable: false
|
||||||
|
preprocess: true
|
||||||
|
line_number: true
|
||||||
|
tab_replace: ''
|
||||||
|
index_generator:
|
||||||
|
path: ''
|
||||||
|
per_page: 10
|
||||||
|
order_by: '-date'
|
||||||
|
default_category: uncategorized
|
||||||
|
category_map:
|
||||||
|
散文杂记: uncategorized
|
||||||
|
tag_map: null
|
||||||
|
meta_generator: true
|
||||||
|
date_format: YYYY-MM-DD
|
||||||
|
time_format: HH:mm:ss
|
||||||
|
updated_option: mtime
|
||||||
|
per_page: 10
|
||||||
|
pagination_dir: page
|
||||||
|
include: null
|
||||||
|
exclude: null
|
||||||
|
ignore: null
|
||||||
|
theme: icarus
|
||||||
|
deploy:
|
||||||
|
type: ''
|
||||||
|
feed:
|
||||||
|
enable: true
|
||||||
|
type: atom
|
||||||
|
path: atom.xml
|
||||||
|
limit: 20
|
||||||
|
hub:
|
||||||
|
content:
|
||||||
|
content_limit: 140
|
||||||
|
content_limit_delim: ' '
|
||||||
|
order_by: -date
|
||||||
|
icon: avatar.jpg
|
||||||
|
autodiscovery: true
|
||||||
|
template:
|
13
compose.yaml
Normal file
13
compose.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
version: "2"
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: node:lts
|
||||||
|
ports:
|
||||||
|
- 8080:4000
|
||||||
|
command: ['/mnt/start.sh']
|
||||||
|
restart: always
|
||||||
|
working_dir: /mnt
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=production
|
||||||
|
volumes:
|
||||||
|
- ./:/mnt
|
5129
package-lock.json
generated
Normal file
5129
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
28
package.json
Normal file
28
package.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"name": "hexo-site",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"build": "hexo generate",
|
||||||
|
"clean": "hexo clean",
|
||||||
|
"deploy": "hexo deploy",
|
||||||
|
"server": "hexo server"
|
||||||
|
},
|
||||||
|
"hexo": {
|
||||||
|
"version": "6.3.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"hexo": "^6.3.0",
|
||||||
|
"hexo-generator-archive": "^2.0.0",
|
||||||
|
"hexo-generator-category": "^2.0.0",
|
||||||
|
"hexo-generator-feed": "^3.0.0",
|
||||||
|
"hexo-generator-index": "^3.0.0",
|
||||||
|
"hexo-generator-tag": "^2.0.0",
|
||||||
|
"hexo-renderer-ejs": "^2.0.0",
|
||||||
|
"hexo-renderer-marked": "^6.0.0",
|
||||||
|
"hexo-renderer-stylus": "^3.0.0",
|
||||||
|
"hexo-server": "^3.0.0",
|
||||||
|
"hexo-theme-icarus": "^5.2.1",
|
||||||
|
"hexo-theme-landscape": "^1.0.0"
|
||||||
|
}
|
||||||
|
}
|
4
scaffolds/draft.md
Normal file
4
scaffolds/draft.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: {{ title }}
|
||||||
|
tags:
|
||||||
|
---
|
4
scaffolds/page.md
Normal file
4
scaffolds/page.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: {{ title }}
|
||||||
|
date: {{ date }}
|
||||||
|
---
|
5
scaffolds/post.md
Normal file
5
scaffolds/post.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: {{ title }}
|
||||||
|
date: {{ date }}
|
||||||
|
tags:
|
||||||
|
---
|
10
source/_posts/hello-world.md
Normal file
10
source/_posts/hello-world.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: 将博客迁移到 NAS
|
||||||
|
categories: 散文杂记
|
||||||
|
tags: hello world
|
||||||
|
date: 2023/09/28 10:00
|
||||||
|
updated: 2023/09/28 10:00
|
||||||
|
---
|
||||||
|
我的博客已经迁移到了我家 NAS,现在使用 Hexo。
|
||||||
|
|
||||||
|
本来尝试使用 WordPress,但 WordPress 在 NAS 容器中性能很差,又切换到了 Hexo。
|
12
source/_posts/lingxingzhao.md
Normal file
12
source/_posts/lingxingzhao.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
title: 诗词分享《菱荇沼》
|
||||||
|
categories: 散文杂记
|
||||||
|
tags: romance
|
||||||
|
date: 2023/10/02 21:09
|
||||||
|
updated: 2023/10/02 21:09
|
||||||
|
---
|
||||||
|
|
||||||
|
水荇斜牵绿藻浮
|
||||||
|
柳丝和叶卧清流
|
||||||
|
何时得向溪头赏
|
||||||
|
旋摘菱花旋泛舟
|
15
source/about/index.md
Normal file
15
source/about/index.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
title: 关于我
|
||||||
|
date: 2023-09-28 10:00:00
|
||||||
|
---
|
||||||
|
互联网科技博主,计算机网络管理员,用 Web、Python、PHP、Java、C# 开发,会一点嵌入式。
|
||||||
|
|
||||||
|
主要研究方向
|
||||||
|
|
||||||
|
- 计算机科学
|
||||||
|
- 泛语言开发者
|
||||||
|
- 服务器及网络运维
|
||||||
|
- 用户体验设计
|
||||||
|
- 设计产品原型,主要工具 Adobe XD、Adobe Photoshop。
|
||||||
|
|
||||||
|
电子邮箱:yang@vicicode.com
|
BIN
source/avatar.jpg
Normal file
BIN
source/avatar.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
4
start.sh
Normal file
4
start.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
npm install hexo-cli -g
|
||||||
|
npm install
|
||||||
|
hexo server
|
0
themes/.gitkeep
Normal file
0
themes/.gitkeep
Normal file
Loading…
Reference in a new issue