Hexo+NexT 博客搭建相冊


1
2

放在 head 標籤裡面

_layout.swig 路徑為

next/layout

到這裡已經差不多完成了相冊查看,還差最後一步,在 index.html 中加入 標籤.

在根目錄加入標籤

在 _layout.swig 中 前插入

{% if page.type === "photos" %}