Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 45 additions & 46 deletions _config.butterfly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
# --------------------------------------

nav:
logo: # image
display_title: true
logo: images/common/logo.png
display_title: false
fixed: false # fixed navigation bar

# Menu 目錄
menu:
# Home: / || fas fa-home
# Archives: /archives/ || fas fa-archive
# Tags: /tags/ || fas fa-tags
# Categories: /categories/ || fas fa-folder-open
# List||fas fa-list:
# Music: /music/ || fas fa-music
# Movie: /movies/ || fas fa-video
# Link: /link/ || fas fa-link
# About: /about/ || fas fa-heart
Home: / || fas fa-home
Archives: /archives/ || fas fa-archive
Tags: /tags/ || fas fa-tags
Categories: /categories/ || fas fa-folder-open
List||fas fa-list:
Music: /music/ || fas fa-music
Movie: /movies/ || fas fa-video
Link: /link/ || fas fa-link
About: /about/ || fas fa-heart

# Code Blocks (代碼相關)
# --------------------------------------

highlight_theme: light # darker / pale night / light / ocean / mac / mac light / false
highlight_theme: mac # darker / pale night / light / ocean / mac / mac light / false
highlight_copy: true # copy button
highlight_lang: true # show the code language
highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
Expand All @@ -33,49 +33,49 @@ code_word_wrap: false
# formal:
# icon: link || the description || color
social:
# fab fa-github: https://github.com/xxxxx || Github || '#24292e'
# fas fa-envelope: mailto:xxxxxx@gmail.com || Email || '#4a7dbe'
fab fa-github: https://github.com/malgcheong || Github || '#24292e'
fas fa-envelope: mailto:skacjddn7@gmail.com || Email || '#4a7dbe'

# Image (圖片設置)
# --------------------------------------

# Favicon(網站圖標)
favicon: /img/favicon.png
favicon: images/common/favicon.jpg

# Avatar (頭像)
avatar:
img: https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png
img: images/common/avatar.jpg
effect: false

# Disable all banner image
disable_top_img: false

# The banner image of home page
index_img:
index_img: images/common/index_img.jpg

# If the banner of page not setting, it will show the top_img
default_top_img:
default_top_img: images/common/index_img.jpg

# The banner image of archive page
archive_img:
archive_img: images/common/index_img.jpg

# If the banner of tag page not setting, it will show the top_img
# note: tag page, not tags page (子標籤頁面的 top_img)
tag_img:
tag_img: images/common/index_img.jpg

# The banner image of tag page
# format:
# - tag name: xxxxx
tag_per_img:
tag_per_img: images/common/index_img.jpg

# If the banner of category page not setting, it will show the top_img
# note: category page, not categories page (子分類頁面的 top_img)
category_img:
category_img: images/common/index_img.jpg

# The banner image of category page
# format:
# - category name: xxxxx
category_per_img:
category_per_img: images/common/index_img.jpg

cover:
# display the cover or not (是否顯示文章封面)
Expand All @@ -84,7 +84,7 @@ cover:
archives_enable: true
# the position of cover in home page (封面顯示的位置)
# left/right/both
position: both
position: left
# When cover is not set, the default cover is displayed (當沒有設置cover時,默認的封面顯示)
default_cover:
# - https://i.loli.net/2020/05/01/gkihqEjXxJ5UZ1C.jpg
Expand All @@ -96,7 +96,7 @@ error_img:

# A simple 404 page
error_404:
enable: false
enable: true
subtitle: 'Page Not Found'
background: https://i.loli.net/2020/05/19/aKOcLiyPl2JQdFD.png

Expand Down Expand Up @@ -155,8 +155,8 @@ toc:

post_copyright:
enable: true
decode: false
author_href:
decode: true
author_href: https://malgcheong.github.io/
license: CC BY-NC-SA 4.0
license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/

Expand All @@ -175,7 +175,7 @@ reward:
# Post edit
# Easily browse and edit blog source code online.
post_edit:
enable: false
enable: true
# url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
# For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
url:
Expand Down Expand Up @@ -207,16 +207,16 @@ noticeOutdate:
footer:
owner:
enable: true
since: 2020
custom_text:
since: 2024
custom_text: Hi, welcome to my <a href="https://butterfly.js.org/">blog</a>!
copyright: true # Copyright of theme and framework

# aside (側邊欄)
# --------------------------------------

aside:
enable: true
hide: false
hide: true
button: true
mobile: true # display on mobile
position: right # left or right
Expand All @@ -231,7 +231,7 @@ aside:
enable: true
icon: fab fa-github
text: Follow Me
link: https://github.com/xxxxxx
link: https://github.com/malgcheong
card_announcement:
enable: true
content: This is my Blog
Expand Down Expand Up @@ -389,15 +389,15 @@ docsearch:
# Share.js
# https://github.com/overtrue/share.js
sharejs:
enable: true
sites: facebook,twitter,wechat,weibo,qq

enable: false
sites: facebook,twitter,linkedin
# sites: facebook,twitter,wechat,weibo,qq
# AddToAny
# https://www.addtoany.com/
addtoany:
enable: false
item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link

enable: true
item: linkedin,email,copy_link
# item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link
# Comments System
# --------------------------------------

Expand Down Expand Up @@ -645,7 +645,7 @@ text_align_justify: false
background:

# Footer Background
footer_bg: false
footer_bg: true

# Add mask to header or footer (为 header 或 footer 添加黑色半透遮罩)
mask:
Expand Down Expand Up @@ -730,16 +730,15 @@ beautify:
# Global font settings
# Don't modify the following settings unless you know how they work (非必要不要修改)
font:
global-font-size:
global-font-size: 1.2em
code-font-size:
font-family:
code-font-family:

font-family: Radio Canada Big, Noto Serif KR
code-font-family: monospace, Noto Serif KR
# Font settings for the site title and site subtitle
# 左上角網站名字 主頁居中網站名字
blog_title_font:
font_link:
font-family:
font_link: https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@600&family=Poetsen+One&family=Radio+Canada+Big&display=swap
font-family: Poetsen One, Noto Serif KR

# The setting of divider icon (水平分隔線圖標設置)
hr_icon:
Expand All @@ -749,7 +748,7 @@ hr_icon:

# the subtitle on homepage (主頁subtitle)
subtitle:
enable: false
enable: true
# Typewriter Effect (打字效果)
effect: true
# Customize typed.js (配置typed.js)
Expand Down
8 changes: 5 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ title: Malgcheong's Blog
subtitle: '진솔한 개발 블로그입니다'
description: ''
keywords:
author: Choeong Woo
author: Cheongwoo Nam
language: en
timezone: ''

# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: http://example.com
url: https://malgcheong.github.io/
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
Expand Down Expand Up @@ -101,4 +101,6 @@ theme: butterfly
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: ''
type: git
repo: https://github.com/malgcheong/malgcheong.github.io.git
branch: gh-pages
Loading