Sculpting 1.1.1 发布, 一款基于 Gatsby 的静态博客主题
Sculpting 是一款基本 Gatsby 开发并使用小书匠导出的 zip 做为数据源的静态博客主题。
Github 地址: https://github.com/suziwen/gatsby-theme-sculpting
Gitee 地址: https://gitee.com/booksmith/gatsby-theme-sculpting
示例
主要特性
- 基于 Gatsby
- 基于 React
- 使用 Theme UI 主题配置,默认提供
light,dark,deep,swiss四种主题配色 - 与 Github Action 无缝集成,快速发布
- 响应式设计
- 纯静态
- 优雅,简洁
- 标签
- 归档
- 评论
- 全文搜索
- rss
- 图片预加载
- 网页访问统计
目录结构
├── gatsby-browser.js
├── gatsby-config.js // gatsby 默认的配置文件
├── gatsby-node.js
├── gatsby-ssr.js
├── index.js
├── package.json
├── posts
│ └── 在这里存储小书匠导出的 zip 文件
├── README.md
├── src
│ ├── assets
│ ├── components //组件目录
│ ├── gatsby-plugin-theme-ui //样式主题
│ │ └── index.js
│ ├── header.mdx
│ ├── layouts //整个博客框架页面
│ │ ├── button.js
│ │ ├── footer.js
│ │ ├── header.js
│ │ ├── index.js
│ │ ├── menu-button.js
│ │ ├── nav-link.js
│ │ └── sidenav.js
│ ├── pages
│ │ ├── 404.js // 404 页面
│ │ ├── index-default.js //默认主页
│ │ └── search.js //搜索页面
│ ├── templates
│ │ ├── template-archive.js //归档模板
│ │ ├── template-blog-list.js //博客列表模板
│ │ ├── template-blog-post.js //博客文章模板
│ │ └── template-tag.js //标签模板
│ └── utils // 一些帮助函数
└── static // 静态引用的文件
详细使用说明
Gihthub Action 集成
https://github.com/suziwen/gatsby-action-sculpting
谁在使用
更多截图
License
MIT





