v0.9
A simple blog based on Deno and Lume, and a blog theme modified from Tailwind, which is more concise and clear.
Repository
Current version released
2 years ago
Dependencies
deno.land/x
最开始学JS时都是用 NodeJS,每次启动项目都是一堆node_modules,下载速度又慢,经常出错,简直就是狗屎!
我很庆幸遇到了Deno(Deno Land),它给了我完美的体验。
以前也用VuePress做过博客,它的界面风格简约美观,但是因为背靠NodeJS,那些丑陋的问题依然存在。并且它有些设计理念我也不喜欢,这个时候很开心又遇见了Lume(Lume Land)。
一个简单的博客主题
主要是依据Lume theme-simple-blog来改写的,所以一样支持站内搜索(感觉Tag功能不实用删除了),主要改动如下:
- 基于
tailwindcss - 使用
typography,增加了代码高亮,修改了Table样式等等 - 添加了
Lume-code支持 - 添加了
Code中的Copy按钮 - 根据
category自动生成顶部导航 - 支持从
supabase导入文章 - 支持评论功能,基于utteranc
使用主题
只要你启动一个Lume项目,修改_config.ts:
import lume from "lume/mod.ts";
import blog from "https://deno.land/x/lume_theme_blog/mod.ts";
const site = lume();
site.use(blog());
export default site;