shuosc / fly Goto Github PK
View Code? Open in Web Editor NEW上海大学溯源手册(SHUFly)
Home Page: https://shuosc.github.io/fly
上海大学溯源手册(SHUFly)
Home Page: https://shuosc.github.io/fly
最初由于维护成本采用了偏技术风的主题 https://github.com/hugo-fixit/FixIt
现考虑换用 https://jialanxin.github.io/njuphy-/ 中采用的主题 https://github.com/flysnow-org/maupassant-hugo
优点是更加朴素且右侧同页能显示分类、标签等
缺点是缺少夜间模式和其他更符合现代人的特性。
目前我们还是想采用Blog形式记录文章,所以可能还在寻找更多更适合的主题,如有其他更好的主题也欢迎PR :D
欢迎大家支持!
如题
使用 GitHub Actions 能方便地对新创建的 Pull Request 进行自动检查,只需自动测试用 Hugo 部署不出错即可,如有必要可以对接 vercel 实现部署预览
不挂梯子访问评论区会无法获取评论内容,怀疑是因为vercel.app域名被屏蔽导致的
可能的解决方法:搞一个国内可以访问的域名
此前一直使用 Github 作为图床,直到 2023-05-09,官方出于安全和隐私考虑做出了访问限制。
此前的解决方案是创建 content/posts/images
目录,并将相关图片放置其中。但关于 Hugo 的内容组织,正确的实践是创建一个文件夹,把每篇文章的相关内容放在一起,包括文本和其他资源文件,其中文本文件命名为 index.md
,具体参考官方文档。
To Do List
content/posts/images
目录下文件整理至相关文章目录下,static
目录下的部分文件也需要重新整理基于 Waline.js 开启了评论功能:
目前的功能包括:
https://github.com/hugo-fixit/FixIt/ 主题在右上角有搜索栏,但目前尚不可用
解决方案:仿照 https://github.com/hugo-fixit/FixIt/blob/master/config.toml#L105-L126 在 config.toml
中启用搜索引擎
I just want to read it on my RSS reader. 🙂
在评论区被评论了没有邮件通知,只能管理员定时查看口头通知,效率非常低下
开启邮件通知可以完善评论区的功能
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.