当前位置:网站首页>Next -21- 添加相册系列 - 1- 框架设置
Next -21- 添加相册系列 - 1- 框架设置
2022-08-04 14:48:00 【为为为什么】
Next 主题原生没有相册功能,我又是摄影爱好者,不得不下点功夫在这了。本系列介绍添加相册的方法,本文是开篇,记录Next主题下开启相册按钮和开启相应页面,后面的一边研究一边发。
Next设置
- 新建hexo page
hexo new page photos将会在
source/下创建photos/index.md
- 在index.md中添加
type: photos
title: photos
date: 2020-03-22 23:03:55
type: photos- 修改
主题配置文件,在menu字段中加入photos: /photos/ || image
# Usage: `Key: /link/ || icon`
# Key is the name of menu item. If the translation for this item is available, the translated text will be loaded, otherwise the Key name will be used. Key is case-senstive.
# Value before `||` delimiter is the target link, value after `||` delimiter is the name of Font Awesome icon.
# When running the site in a subdirectory (e.g. yoursite.com/blog), remove the leading slash from link value (/archives -> archives).
# External url should start with http:// or https://
menu:
home: / || home
about: /about/ || user
tags: /tags/ || tags
categories: /categories/ || th
archives: /archives/ || archive
photos: /photos/ || image
#schedule: /schedule/ || calendar
sitemap: /sitemap.xml || sitemap
#commonweal: /404/ || heartbeat- 修改 themes/next/languages/zh-Hans.yml,添加photos字段
menu:
home: 首页
archives: 归档
categories: 分类
tags: 标签
about: 关于
search: 搜索
commonweal: 公益404
something: 有料
sitemap: 站点地图
photos: 相册- 此时效果
边栏推荐
- Find My技术|防止你的宠物跑丢,苹果Find My技术可以帮到你
- 技术分享| 小程序实现音视频通话
- [in-depth study of 4 g / 5 g / 6 g project - 50] : URLLC - 16 - the 3 GPP URLLC agreement, specification, technical principle of depth interpretation - 10 - high reliability technology - 1 - low codin
- 兆骑科创创新创业大赛活动举办,线上直播路演,投融资对接
- Problem solving-->Online OJ (18)
- 1403. 非递增顺序的最小子序列
- 基于数据库实现分布式锁
- F.金玉其外矩阵(构造)
- RS|哨兵二号(.SAFE格式)转tif格式
- xpath获取带命名空间节点注意事项
猜你喜欢

特殊品种的二次开户验资金额

Technology sharing | Description of the electronic fence function in the integrated dispatching system

This week to discuss the user experience: Daedalus Nemo to join Ambire, explore the encryption of the ocean

LeetCode_模拟_中等_498.对角线遍历

I/O stream summary

快解析结合友加畅捷U+

Leetcode: 215 disorderly to find the first big k element in the array

Theory 1: Deep Learning - Detailed Explanation of the LetNet Model
微软表示将向内部网络安全专家共享数据 为企业提供更安全保护

Hangzhou Electric School Competition (Counter Attack Index)
随机推荐
OAID是什么
LeetCode_模拟_中等_498.对角线遍历
I/O stream summary
AOSP内置APP特许权限白名单
【北亚数据恢复】IBM System Storage存储lvm信息丢失数据恢复方案
Basic Introduction for PLSQL
[Problem solving] QT update component appears "To continue this operation, at least one valid and enabled repository is required"
leetcode:255 验证前序遍历序列二叉搜索树
NPDP|作为产品经理,如何快速提升自身业务素养?
FRED Application: Capillary Electrophoresis System
技术分享| 小程序实现音视频通话
Workaround without Project Facets
leetcode:259. 较小的三数之和
Cisco-小型网络拓扑(DNS、DHCP、网站服务器、无线路由器)
Technology sharing | Description of the electronic fence function in the integrated dispatching system
物联网应用发展趋势
Theory 1: Deep Learning - Detailed Explanation of the LetNet Model
leetcode:212. 单词搜索 II
leetcode: 253. How many meeting rooms are required at least
数据链路层-------以太网协议