chore: selectively show widgets in posts
parent
bb59425608
commit
0796cd83d9
|
@ -0,0 +1,65 @@
|
|||
# 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: true
|
||||
# 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: PPOffice
|
||||
# Author title
|
||||
author_title: Web Developer
|
||||
# Author's current location
|
||||
location: Earth, Solar System
|
||||
# URL or path to the avatar image
|
||||
avatar:
|
||||
# Whether show the rounded avatar image
|
||||
avatar_rounded: false
|
||||
# Email address for the Gravatar
|
||||
gravatar:
|
||||
# URL or path for the follow button
|
||||
follow_link: 'https://github.com/ppoffice'
|
||||
# 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: /
|
||||
# Table of contents widget configurations
|
||||
-
|
||||
# Where should the widget be placed, left sidebar or right sidebar
|
||||
position: left
|
||||
type: toc
|
||||
# Categories widget configurations
|
||||
-
|
||||
# Where should the widget be placed, left sidebar or right sidebar
|
||||
position: left
|
||||
type: categories
|
||||
# Tags widget configurations
|
||||
-
|
||||
# Where should the widget be placed, left sidebar or right sidebar
|
||||
position: left
|
||||
type: tags
|
|
@ -116,10 +116,7 @@ search:
|
|||
type: insight
|
||||
# Comment plugin configurations
|
||||
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment/
|
||||
comment:
|
||||
type: disqus
|
||||
# Disqus shortname
|
||||
shortname: hexo-theme-icarus
|
||||
# comment:
|
||||
# Donate plugin configurations
|
||||
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Donation/
|
||||
# donates:
|
||||
|
@ -259,6 +256,7 @@ widgets:
|
|||
# # AdSense AD unit ID
|
||||
# slot_id: ''
|
||||
# Plugin configurations
|
||||
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/
|
||||
plugins:
|
||||
# Enable page startup animations
|
||||
animejs: true
|
||||
|
|
|
@ -58,11 +58,11 @@ time_format: HH:mm:ss
|
|||
|
||||
# Pagination
|
||||
## Set per_page to 0 to disable pagination
|
||||
per_page: 6
|
||||
per_page: 10
|
||||
pagination_dir: page
|
||||
|
||||
index_generator:
|
||||
per_page: 6
|
||||
per_page: 10
|
||||
|
||||
archive_generator:
|
||||
per_page: 20
|
||||
|
@ -70,10 +70,10 @@ archive_generator:
|
|||
monthly: true
|
||||
|
||||
category_generator:
|
||||
per_page: 6
|
||||
per_page: 10
|
||||
|
||||
tag_generator:
|
||||
per_page: 6
|
||||
per_page: 10
|
||||
|
||||
# Extensions
|
||||
## Plugins: https://github.com/hexojs/hexo/wiki/Plugins
|
||||
|
|
|
@ -6,7 +6,54 @@ variant: cyberpunk
|
|||
article:
|
||||
highlight:
|
||||
theme: qtcreator_dark
|
||||
thumbnail: /uncategorized/cyberpunk-theme-variant/CP77-KV-en.jpg
|
||||
sidebar:
|
||||
left:
|
||||
sticky: false
|
||||
right:
|
||||
sticky: false
|
||||
widgets:
|
||||
-
|
||||
position: left
|
||||
type: profile
|
||||
author: PPOffice
|
||||
author_title: Web Developer
|
||||
location: Earth, Solar System
|
||||
follow_link: 'https://github.com/ppoffice'
|
||||
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: /
|
||||
-
|
||||
position: left
|
||||
type: links
|
||||
links:
|
||||
Hexo: 'https://hexo.io'
|
||||
Bulma: 'https://bulma.io'
|
||||
-
|
||||
position: left
|
||||
type: categories
|
||||
-
|
||||
position: right
|
||||
type: recent_posts
|
||||
-
|
||||
position: right
|
||||
type: archives
|
||||
-
|
||||
position: right
|
||||
type: tags
|
||||
thumbnail: /gallery/thumbnails/CP77-KV-en.jpg
|
||||
---
|
||||
|
||||
Icarus includes a new variant called Cyberpunk starting from version 3.0.0.
|
||||
|
|
Before Width: | Height: | Size: 276 KiB After Width: | Height: | Size: 276 KiB |
Loading…
Reference in New Issue