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