unix / unix.bio Goto Github PK
View Code? Open in Web Editor NEWMy static blog template.
Home Page: https://unix.bio
License: MIT License
My static blog template.
Home Page: https://unix.bio
License: MIT License
i do:
npm init unix-bio
cd blog-example
npm i
npm run dev
and go to http://localhost:3000/
get err:
event - build page: /
wait - compiling...
error - ./lib/components/profile.jsx
Attempted import error: 'Row' is not exported from '@geist-ui/react'.
Could not find files for / in .next/build-manifest.json
Could not find files for / in .next/build-manifest.json
将来会考虑为文章加上自定义标签吗
HI,Witt,很喜欢你的博客,在尝试使用你的博客模板构建我的博客。
目前在编写博客时遇到了一个问题,在.mdx
文件中,尝试使用Collapse组件来包裹Code组件(如下代码),然而渲染到页面中代码却没有生效。
<Collapse shadow title="destructuring-assignment">
<Code block>
```javascript
const [first, second, third] = 'abc';
console.log(first);
console.log(second);
console.log(third);
```
</Code>
</Collapse>
我查看了geist的文档:Code,按照示例代码修改了我的代码:
<Collapse shadow title="destructuring-assignment">
<Code block>
<DemoCode />
</Code>
</Collapse>
效果却渲染出了这个DemoCode组件(返回了button jsx)。
想麻烦问下,正确的做法应该是什么呢?麻烦了~
大佬,可以给个静态的模板吗,我一直想找个简约的模板,几月前看你在X2EX打过你的博客,一眼就喜欢上了,我是搞.NET的,你这个我不会玩啊,最多用vs code启动起来,后面部署啥的完全不懂。。 有静态模板我可以二次开发改改弄成自己喜欢的博客模板。。。太难了呀
首先,对大佬的努力表示感谢,unix.bio 博客做的非常简洁和好看,而且扩展强大,可以使用 @zeit-ui/react
。
另外,由于渲染的问题,如果生成静态页面会有一些路径的问题,不知道除了 npm run export
,因为 vercel 的速度,还有没有什么部署在服务器上的方法。另外大佬有没有考虑过基于 zeit-ui 的风格开发一款 hexo 主题或者其它便于部署在服务器或者静态托管配图的主题,感觉会非常不错。
初次使用博客,感觉很不错!
在易用性方面,能做到开箱即用,大赞!
自定义配置方面,因为没有接触过nodejs, 所以不太清楚怎么去自定义博客的配置
虽然在blog.config.js
里面已经包含了一些基础配置,但是没有找到自己想要的,比如设置字体大小等基础功能和高级功能的配置方式,希望能够提供一个比较全面 的配置文件供玩家参考。
再次感谢你的作品!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.