shuzang / shuzang.github.io Goto Github PK
View Code? Open in Web Editor NEW基于Hugo搭建的个人博客
Home Page: https://shuzang.github.io/
基于Hugo搭建的个人博客
Home Page: https://shuzang.github.io/
我在执行:
1.Fork 这个仓库;
2.将 Fork 后的仓库改名为 name.github.io,其中 name 为你的 Github 账户名;
3.git clone 改名后的仓库到本地,修改 config.toml 配置文件第一行的 baseURL,替换自己的账户名
这三个步骤之后,发现打开链接一直看到的是readme.md这个文件的页面,并不能像大佬你的网站一样显示的是博客页面,想问一下是什么原因呢?
我是跟着你的教程做的,第一次推送workflow运行结束成功,第二次添加主题后出现了错误。我也没有改动过主题文件夹/layouts/partials/init.htm
以下是网页端运行日志,不知道怎么修改
Run hugo --minify
WARN 2020/07/07 15:27:20 Module "LoveIt" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Error: add site dependencies: load resources: loading templates: "/home/runner/work/aynix.github.io/aynix.github.io/themes/LoveIt/layouts/partials/init.html:35:1": parse failed: template: partials/init.html:35: function "warnf" not defined
##[error]Process completed with exit code 255.
这是邮箱收到的错误信息:
Run failed for blog (70ebc90)
Repository: aynix/aynix.github.io
Workflow: hugo push to github pages
Duration: 29.0 seconds
Finished: 2020-07-07 15:27:24 UTC
View results
Jobs:
build-deploy failed (1 annotation)
这是遇到问题的界面截图:
https://i.loli.net/2020/07/07/AR6eKHmzCkcIoG8.png
hugo:v0.73.0/extended windows/amd64
博客托管在 Github Pages 上,主题是最新的,谢谢大佬呀
师兄你好,我是看了你的博客教程来自己部署的,部署完之后发现博客显示存在样式等问题,对比了你的master分支发现你的lib是在css目录下,我也把lib拖进去,然后就没问题了。因为hugo在本地生成并运行是可以的,不需要把lib拉到css下面,为什么push到github却要这样做?
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.