当前位置:网站首页>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: 相册
- 此时效果
边栏推荐
- FRED应用:毛细管电泳系统
- 分布式链路追踪Jaeger + 微服务Pig在Rainbond上的实践分享
- Android Sqlite3基本命令
- xampp安装包含的组件有(php,perl,apche,mysql)
- Hangzhou electric the competition team arrangement (ACM)
- 【Today in History】August 4: First female Turing Award winner; NVIDIA acquires MediaQ; first Cybersecurity Challenge completed
- leetcode:241. 为运算表达式设计优先级
- 16. Learn MySQL Regular Expressions
- 【硬件架构的艺术】学习笔记(1)亚稳态的世界
- vim 常用操作命令
猜你喜欢
Find My Technology | Prevent your pet from getting lost, Apple Find My technology can help you
并发程序的隐藏杀手——假共享(False Sharing)
谷歌插件.crx文件下载后被自动删除的解决方法
代码随想录笔记_动态规划_1049最后一块石头的重量II
【 HMS core 】 【 Media 】 online video editing service 】 【 material can't show, or network anomalies have been Loading state
leetcode:241. 为运算表达式设计优先级
Compound Refractive Lenses for X-ray Focusing
leetcode:250. 统计同值子树
特殊品种的二次开户验资金额
16、学习MySQL 正则表达式
随机推荐
[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
Bluetooth Technology|In the first half of the year, 1.3 million charging piles were added nationwide, and Bluetooth charging piles will become the mainstream of the market
I love Tanabata hahaha
爬虫——selenium基本使用、无界面浏览器、selenium的其他用法、selenium的cookie、爬虫案例
X射线掠入射聚焦反射镜
世间几乎所有已知蛋白质结构,都被DeepMind开源了
快解析结合千方百剂
属于程序猿的浪漫
数据链路层-------以太网协议
F.金玉其外矩阵(构造)
CCF GLCC officially opened | Kyushu Cloud open source experts bring generous bonuses to help universities promote open source
[The Art of Hardware Architecture] Study Notes (1) The World of Metastability
This week to discuss the user experience: Daedalus Nemo to join Ambire, explore the encryption of the ocean
没有Project Facets的解决方法
Hangzhou electric the competition team arrangement (ACM)
Crawler - basic use of selenium, no interface browser, other uses of selenium, cookies of selenium, crawler cases
技术分享| 小程序实现音视频通话
Phasecraft连下两城,助力英国量子技术商业化加速!
7 天能找到 Go 工作吗?学学 Go 数组和指针试试
Find My Technology | Prevent your pet from getting lost, Apple Find My technology can help you