- 👋 Hi, I’m @limedroid
- 👀 I’m interested in Java/Dart/Swift/Python/JS and so on
- 🌱 I’m currently learning Web3
- 💞️ I’m looking to collaborate on ...
- 📫 [email protected]
Leave a message to me? --> https://github.com/limedroid/limedroid/issues
Hexo博客搭建全攻略
Leave a message to me? --> https://github.com/limedroid/limedroid/issues
你好大神,按照教程不知道为什么我第七大步就是部署到github上总是有问题,您有时间了能帮我看一下吗?
错误信息截图
我单独从浏览器访问访问:shuoqiu.github.io也报错404
文中deploy处的配置:
deploy:
type: git
repo: <repository url>
branch: [branch]
repo后的尖括号,和branch后的方括号,如果在其中进行添加内容的话,会造成 hexo d
无法更新
版本
hexo: 3.7.1
hexo-cli: 1.1.0
os: Linux 4.17.4-1-ARCH linux x64
http_parser: 2.8.1
node: 10.6.0
v8: 6.7.288.46-node.13
uv: 1.21.0
zlib: 1.2.11
ares: 1.14.0
modules: 64
nghttp2: 1.32.0
napi: 3
openssl: 1.1.0h
icu: 61.1
unicode: 10.0
cldr: 33.0
tz: 2018c
你好大神,按照教程不知道为什么我第七大步就是部署到github上总是有问题,您有时间了能帮我看一下吗?
错误信息截图
我单独从浏览器访问访问:shuoqiu.github.io也报错404
为什么我设置了Next 这个主题 ,博客打开后的样式跟你的不太一样?还有 如果把hexo 部署到github 上之后 是不是每次 写一篇博客 都要执行一次 hexo d?
楼主有这方面的教程可以上一个哈~
在cd到theme文件夹之后,会从github上下载资源,您给出的命令是:git clone clone https://github.com/iissnan/hexo-theme-next themes/next,这条命令我复制执行之后会出现如下错误提示:
Too many arguments. usage: git clone [<options>] [--] <repo> [<dir>] -v, --verbose be more verbose -q, --quiet be more quiet --progress force progress reporting -n, --no-checkout don't create a checkout --bare create a bare repository --mirror create a mirror repository (implies bare) -l, --local to clone from a local repository --no-hardlinks don't use local hardlinks, always copy -s, --shared setup as shared repository --recursive initialize submodules in the clone --recurse-submodules initialize submodules in the clone --template <template-directory> directory from which templates will be used --reference <repo> reference repository --dissociate use --reference only while cloning -o, --origin <name> use <name> instead of 'origin' to track upstream -b, --branch <branch> checkout <branch> instead of the remote's HEAD -u, --upload-pack <path> path to git-upload-pack on the remote --depth <depth> create a shallow clone of that depth --single-branch clone only one branch, HEAD or --branch --separate-git-dir <gitdir> separate git dir from working tree -c, --config <key=value> set config inside the new repository -4, --ipv4 use IPv4 addresses only -6, --ipv6 use IPv6 addresses only
提示参数过多,看了下直接改成 https://github.com/iissnan/hexo-theme-next,
去掉参数就可以正常clone。
https://danielrapen3184.github.io/
在墙外好好的,墙内就无法访问,有人也碰到这状况吗
您好,我之前搭建了hexo的博客(别问我怎么成功的,小白说不出来)——当时测试都是可以了,然后半年没有动,最近拿出来准备发文,然后发现hexo的命令基本都不能执行,一直返回usage的信息,请问您见过这种情况吗?有什么处理建议吗?
网上搜了好多也没有找到合适的方案。
~ hexo g
Usage: hexoCommands:
help Get help on a command.
init Create a new Hexo folder.
version Display version information.Global Options:
--config Specify config file instead of using _config.yml
--cwd Specify the CWD
--debug Display all verbose messages in the terminal
--draft Display draft posts
--safe Disable all plugins and scripts
--silent Hide output on consoleFor more help, you can use 'hexo help [command]' for the detailed information
or you can check the docs: http://hexo.io/docs/
➜ ~ hexo s
Usage: hexoCommands:
help Get help on a command.
init Create a new Hexo folder.
version Display version information.Global Options:
--config Specify config file instead of using _config.yml
--cwd Specify the CWD
--debug Display all verbose messages in the terminal
--draft Display draft posts
--safe Disable all plugins and scripts
--silent Hide output on consoleFor more help, you can use 'hexo help [command]' for the detailed information
or you can check the docs: http://hexo.io/docs/
➜ ~ hexo clean
Usage: hexoCommands:
help Get help on a command.
init Create a new Hexo folder.
version Display version information.Global Options:
--config Specify config file instead of using _config.yml
--cwd Specify the CWD
--debug Display all verbose messages in the terminal
--draft Display draft posts
--safe Disable all plugins and scripts
--silent Hide output on console
多说项目已经关闭了,有什么好的“添加评论功能”的软件推荐吗?
我用你写的
$ npm install hexo-cli -g
安装失败了
按官网
$ npm install -g hexo-cli
成功了
不知道是不是电脑系统原因,我Mac系统这儿的路径是:cd themes,没有theme这个文件夹.
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.