見栄えを更にカスタム
parent
fe0e9ebc57
commit
0f14d46c5a
|
@ -5,7 +5,8 @@ favicon: /images/tbf-icon.svg
|
||||||
# Path or URL to RSS atom.xml
|
# Path or URL to RSS atom.xml
|
||||||
rss: /atom.xml
|
rss: /atom.xml
|
||||||
# Path or URL to the website's logo to be shown on the left of the navigation bar or footer
|
# Path or URL to the website's logo to be shown on the left of the navigation bar or footer
|
||||||
logo: /images/tbf-icon.svg
|
logo:
|
||||||
|
text: 技術書典公式ブログ
|
||||||
# Open Graph metadata
|
# Open Graph metadata
|
||||||
# https://hexo.io/docs/helpers.html#open-graph
|
# https://hexo.io/docs/helpers.html#open-graph
|
||||||
open_graph:
|
open_graph:
|
||||||
|
@ -32,7 +33,7 @@ navbar:
|
||||||
# About: /about
|
# About: /about
|
||||||
# Navigation bar links to be shown on the right
|
# Navigation bar links to be shown on the right
|
||||||
links:
|
links:
|
||||||
公式サイト: https://techbookfest.org/
|
# 公式サイト: https://techbookfest.org/
|
||||||
# Download on GitHub:
|
# Download on GitHub:
|
||||||
# icon: fab fa-github
|
# icon: fab fa-github
|
||||||
# url: 'https://github.com/ppoffice/hexo-theme-icarus'
|
# url: 'https://github.com/ppoffice/hexo-theme-icarus'
|
||||||
|
@ -199,7 +200,7 @@ widgets:
|
||||||
# Other plugin settings
|
# Other plugin settings
|
||||||
plugins:
|
plugins:
|
||||||
# Enable page animations
|
# Enable page animations
|
||||||
animejs: true
|
animejs: false
|
||||||
# Enable the lightGallery and Justified Gallery plugins
|
# Enable the lightGallery and Justified Gallery plugins
|
||||||
# https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/
|
# https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/
|
||||||
gallery: true
|
gallery: true
|
||||||
|
|
|
@ -13,7 +13,7 @@ const cheerio = require('cheerio');
|
||||||
|
|
||||||
module.exports = function (hexo) {
|
module.exports = function (hexo) {
|
||||||
hexo.extend.helper.register('_list_archives', function () {
|
hexo.extend.helper.register('_list_archives', function () {
|
||||||
const $ = cheerio.load(this.list_archives(), { decodeEntities: false });
|
const $ = cheerio.load(this.list_archives({format: "YYYY/MM"}), { decodeEntities: false });
|
||||||
const archives = [];
|
const archives = [];
|
||||||
$('.archive-list-item').each(function () {
|
$('.archive-list-item').each(function () {
|
||||||
archives.push({
|
archives.push({
|
||||||
|
|
Loading…
Reference in New Issue