Skip to content

Commit

Permalink
更换主题
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekka16 committed Apr 17, 2024
1 parent 1b626b8 commit c18a679
Show file tree
Hide file tree
Showing 6 changed files with 241 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _config.butterfly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ toc:
page: false
number: false
expand: false
style_simple: false # for post
style_simple: true # for post
scroll_percent: true

post_copyright:
Expand Down Expand Up @@ -632,7 +632,7 @@ site_verification:
# The top_img settings of home page
# default: top img - full screen, site info - middle (默認top_img全屏,site_info在中間)
# The position of site info, eg: 300px/300em/300rem/10% (主頁標題距離頂部距離)
index_site_info_top:
index_site_info_top:
# The height of top_img, eg: 300px/300em/300rem (主頁top_img高度)
index_top_img_height:

Expand Down
219 changes: 219 additions & 0 deletions _config.cactus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
##############################################################################
# Content
##############################################################################

# Link to a page that gives an overview of all your projects.
# This can be an external link (e.g., to you GitHub profile) or to another
# page within your website.
projects_url: http://github.com/Sekka16

# Set the page direction to RTL or LTR. default is LTR. (if you set it 'rtl', the 'vazir' font will be loaded.)
direction: ltr
# Configure the navigation menu.
# A pair 'Key: url' will result in a link to 'url' with the name 'Key' in the
# navigation menu. Optionally, you can add translations for the 'Key' in
# languages/*.yml
nav:
home: /
about: /about/
articles: /archives/
projects: http://github.com/Sekka16


# Links to your social media accounts.
# The 'icon' keys should correspond to Fontawesome icon names
# (see https://fontawesome.com/icons?d=gallery&s=brands);
# only 'mail' is an exception.
# You can optionally add a 'label' key to set the title attribute on the link.
# 'icon' value will be used as title when 'label' is missing.
social_links:
-
icon: github
link: http://github.com/Sekka16
# -
# icon: twitter
# link: /
# -
# icon: facebook
# link: /
-
icon: mail
link: [email protected]
# -
# icon: mastodon
# label: mastodon.social
# link: https://mastodon.social/@alice
# -
# icon: mastodon
# label: fosstodon.org
# link: https://fosstodon.org/@alice

# Customize the overview with displaying a tagcloud on the index page.
# Options: https://hexo.io/docs/helpers.html#tagcloud
tags_overview: false

# Customize the overview with the most recent blog posts on the index page.
# Options:
# - show_all_posts: whether to show all available posts.
# - post_count: whether to show only the x most recent posts.
# - sort_updated: sort posts by last modification date instead of creation date.
posts_overview:
show_all_posts: false
post_count: 5
sort_updated: false

# Customize the archive view.
# Options:
# - sort_updated: sort posts by last modification date instead of creation date.
# Note: this does not work together with pagination, since the pagination
# plugin will sort pages by date of creation.
archive:
sort_updated: false

# Customize the article view.
# Options:
# - show_updated: show the last modification date.
post:
show_updated: false

# Customize the copyright years
# Note: if start_year/end_year not provided, will use current year.
copyright:
start_year: 2016
end_year:

# Customize the 404 page
# Options:
# - enabled: whether to enable the 404 page (404.html).
error_404:
enabled: true
title: "404 Page Not Found"
description: "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable."


##############################################################################
# Look and Feel
##############################################################################

# Customize the logo (i.e., the cactus) in the header.
# Options:
# - enabled: whether to show (true) or hide (false) the logo.
# - width: width of the logo in pixel units
# - height: height of the logo in pixel units
# - url: where the logo can be found
# - gravatar: whether to use your Gravatar as the logo
# - grayout: whether to enable a hover effect on the logo
logo:
enabled: true
width: 50
height: 50
url: /images/logo.png
gravatar: false
grayout: true

# Customize the favicons.
# Cactus supports a limited set of the three most important icons:
# - desktop: The classic favion.ico file.
# - android: A 192x192 PNG file.
# - apple: A 180x180 PNG file.
# These can be generated with http://realfavicongenerator.net/
# Options:
# - url: where the icon can be found
# - gravatar: whether to create a favicon from your Gravatar
favicon:
desktop:
url: /images/favicon.ico
gravatar: false
android:
url: /images/favicon-192x192.png
gravatar: false
apple:
url: /images/apple-touch-icon.png
gravatar: false

# The color scheme that should be used to highlight codeblocks.
# See source/css/_highlight for a list of all available color schemes.
highlight: solarized-light

# Set the color scheme.
# Available color schemes are 'dark', 'light', 'classic' and 'white'.
# Alternatively, add your own custom color scheme to source/css/_colors.
colorscheme: classic

# Maximal width of the page in rem units.
page_width: 48


##############################################################################
# Miscellaneous
##############################################################################

# Enable or disable the RSS feed.
rss: false

# Turn your web pages into graph objects (see http://ogp.me).
open_graph:
fb_app_id:
fb_admins:
twitter_id:
google_plus:


##############################################################################
# Plugins
##############################################################################

# Enable MathJax support for Latex
mathjax:
enabled: true

# Fill in your Disqus Comments Shortname to enable Disqus comments.
disqus:
enabled: false
shortname: cactus-1

# Fill in your Utterances data to enable Utterances comments
utterances:
enabled: false
repo: owner/githubrepo
issue_term: pathname
label: Comment
theme: github-dark

# Fill in your Google Analytics tracking ID to enable Google Analytics.
google_analytics:
enabled: false
id: UA-86660611-1

# Fill in your Baidu Analytics tracking ID to enable Baidu Analytics.
baidu_analytics:
enabled: false
id: 2e6da3c375c8a87f5b664cea6d4cb29c

# Fill in your Cloudflare Analytics tracking ID to enable Cloudflare Analytics.
cloudflare_analytics:
enabled: false
id: 0dabb6e21848405483a237e6a7b6ed04

# Fill in your Umami Analytics tracking ID to enable Umami Analytics.
umami_analytics:
enabled: false
id: e77e68be-f6e4-4br3-9365-2b76b57cd571
host: https://analytics.domain.com
script_name: umami.js

# Fill in you Gravatar email or hash if you want to use your gravatar as the
# logo and/or favicons of you website.
# To generate hash: `$ echo -n "[email protected]" | md5`.
gravatar:
email: [email protected]
hash: d41d8cd98f00b204e9800998ecf8427e

# loads libraries and styles from CDN instead or relying on local files
cdn:
enable: true
jquery: https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js
clipboard: https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.7/clipboard.min.js
font_awesome: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css
justified_gallery_css: https://cdnjs.cloudflare.com/ajax/libs/justifiedGallery/3.8.1/css/justifiedGallery.min.css
justified_gallery_js: https://cdnjs.cloudflare.com/ajax/libs/justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js
17 changes: 17 additions & 0 deletions _config.hingle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
author: '丁勤' # 作者名称
author_avatar: 'https://sdn.geekzu.org/avatar/d22eb460ecab37fcd7205e6a3c55c228?s=200&r=X&d=' # 作者头像
author_text: '是个可爱的男孩子' # 作者信息
social: # 社交链接
- title: 'Github'
icon: 'github'
link: 'https://github.com/Sekka16'
- title: '首页'
icon: 'home'
link: 'https://paul.ren'
# background: 'https://api.paugram.com/wallpaper?source=gh' # 主题背景
menu: # 页眉菜单项目
'关于我': /about
'朋友们': /friends
config:
copyright: true # 复制的时候弹出保留原站链接说明
night: true # 自动切换夜间模式
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ignore:
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: butterfly
theme: cactus

# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
Expand Down
1 change: 1 addition & 0 deletions themes/cactus
Submodule cactus added at 3af028
1 change: 1 addition & 0 deletions themes/hingle
Submodule hingle added at 6a77b9

0 comments on commit c18a679

Please sign in to comment.