Skip to content

Commit

Permalink
feat:基本搭建
Browse files Browse the repository at this point in the history
  • Loading branch information
singleeeee committed May 5, 2024
1 parent f4aca3b commit e56ff60
Show file tree
Hide file tree
Showing 7 changed files with 751 additions and 34 deletions.
23 changes: 12 additions & 11 deletions _config.vivia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ favicon: # Path to the custom favicon relative to /source (e.g

# Banner
banner:
enable: false # Display banner
url: # Path to the banner image relative to /source. Web url is also supported
enable: true # Display banner
url: https://jk-competition.oss-cn-guangzhou.aliyuncs.com/picture/uploads/2024-05-05/preview.jpg # Path to the banner image relative to /source. Web url is also supported
position: center # Specifies the alignment of the image, see the "object-position" property in CSS
onAllPages: true # Display banner on all pages instead of only the home page

Expand All @@ -22,9 +22,9 @@ hue: 250 # The hue of the theme color (e.g. red: 0, oran
# Visit `saicaca.github.io/vivia-preview` to preview the theme color

# Personal info
avatar: # Path to the avatar image relative to /source
author: Your Name
subtitle: This is the subtitle
avatar: https://jk-competition.oss-cn-guangzhou.aliyuncs.com/yourBasePath/uploads/2024-02-05/微信图片_20240201173945.jpg # Path to the avatar image relative to /source
author: Single
subtitle: 一粒尘可填海,一根草斩尽日月星辰,弹指间天翻地覆。
links:
- name: Twitter
icon: fa-brands fa-twitter # Find icon codes at https://fontawesome.com/search
Expand All @@ -34,18 +34,19 @@ links:
url: https://store.steampowered.com
- name: GitHub
icon: fa-brands fa-github
url: https://github.com
url: https://github.com/singleeeee

# Sidebar
sidebar:
widgets: # Plugins to be enabled (profile, category, tag, archive, recent_posts)
normal: # Scroll along with the page
- profile
- category
- tag
sticky: # Stick to the top of the page
- category
- tag
# - archive
# - recent_posts
- recent_posts

# Sidebar Widget behavior
archive_type: 'monthly'
Expand Down Expand Up @@ -74,6 +75,6 @@ comment:
# See also: https://github.com/imaegoo/twikoo

#Analytics
gauges_analytics: false
google_analytics: false #UA-xxxxxx
baidu_analytics: false # ddxxxxxxxxxxxxxxxxx In the https://hm.baidu.com/hm.js? Afterwards
gauges_analytics: true
google_analytics: true #UA-xxxxxx
baidu_analytics: true # ddxxxxxxxxxxxxxxxxx In the https://hm.baidu.com/hm.js? Afterwards
12 changes: 6 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Hexo
subtitle: ''
description: ''
title: 肉丸-ROYAL
subtitle: 'Single'
description: '个人博客'
keywords: null
author: John Doe
language: en
author: Single
language: zh-CN
timezone: ''
url: https://singleeeee.github.io/
permalink: ':year/:month/:day/:title/'
Expand Down Expand Up @@ -62,4 +62,4 @@ exclude: null
ignore: null
theme: vivia
deploy:
type: ''
type: ''
194 changes: 194 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "hexo-site",
"version": "0.0.0",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "hexo generate",
"clean": "hexo clean",
"deploy": "hexo deploy",
"server": "hexo server"
"server": "hexo server",
"run": "hexo clean && hexo generate && hexo server && hexo deploy"
},
"hexo": {
"version": "7.2.0"
Expand Down
Loading

0 comments on commit e56ff60

Please sign in to comment.