ch1oechao / hexo-theme-hollow Goto Github PK
View Code? Open in Web Editor NEWA pure and elegant theme for Hexo.
Home Page: https://www.chen9.info/fragment/
License: MIT License
A pure and elegant theme for Hexo.
Home Page: https://www.chen9.info/fragment/
License: MIT License
问题 #30 提及了中文标题太长的问题。这里对英文标题有类似疑问,建议作者在样式表预处理代码内加入实现
.post-preview > a > .post-title {
word-wrap: break-word;
}
的语句,以实现首页上英文标题长单词的自动换行。
这是错误信息:
[sakiiily@localhost hexo]$ hexo g
INFO Start processing
INFO Files loaded in 42 ms
WARN No layout: 2018/03/05/hello-world/index.html
WARN No layout: archives/index.html
WARN No layout: archives/2018/index.html
WARN No layout: archives/2018/03/index.html
WARN No layout: index.html
INFO 0 files generated in 5.98 ms
这是 Hexo 版本号:
[sakiiily@localhost hexo]$ hexo --version
hexo: 3.6.0
hexo-cli: 1.1.0
os: Linux 4.15.6-1-ARCH linux x64
http_parser: 2.8.0
node: 9.7.1
v8: 6.2.414.46-node.20
uv: 1.19.2
zlib: 1.2.11
ares: 1.13.0
modules: 59
nghttp2: 1.29.0
napi: 2
openssl: 1.0.2n
icu: 60.2
unicode: 10.0
cldr: 32.0.1
tz: 2017c
RT:)
已提交Pull request #44
目前只能显示两行,有时候英文标题稍微长一点就无法完全显示。
感谢!
[Update]添加功能:
三个功能均在_config.yml
中可配置。
另外,整理了CSS样式(包含上次提交的)。
已提交 pull request #36
能不能在页面内部添加指向 RSS 源的链接呢?像这样子:
<link href="...../atom.xml" rel="alternate" title="RSS 订阅" type="application/rss+xml" />
是不是还要安装什么组件?
按照文档的安装方法出现下面的错误
Cloning into 'themes/hollow'...
The authenticity of host 'github.com (192.30.255.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.255.112' (RSA) to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我们都不在你的项目里呀,用ssh根本没权限读呀,小姐姐
git clone 的链接换成https把
git clone https://github.com/zchen9/hexo-theme-hollow.git themes/hollow
你好,我的搜索功能为什么没法用,也米有小相机
在包含三级以上标题时,当前的样式会导致二级和三级标题重叠
注释掉可修复该问题。
#article-toc-inner .toc-item {
// height: 2em;
line-height: 2em;
padding: 0;
margin: 0;
}
是themes\hollow\source\css\variables.styl中的
font-mono和font-serif 嘛?
你好,请教一下这个首页怎么显示一个小标题和内容,我安装之后只显示标题了,麻烦问下分类啥的怎么配置
hi,你好!
这个主题非常漂亮。昨天刚接触hexo。想用你的这个主题在github上搭一个博客。请问,你文章中,如何插入音乐的呢?
你的个人主页没有集成进去,是不愿意开放吗
如题
Failed to @extend ".animation"
发现你的博客主题的标题不宜过长。。太长会溢出,手机上显示标题会遮挡文章简介
在主题的 _config.yml
文件中,定义了中文格式的 data_format
属性。现在我想使用英文作为站点的语言,这一项信息能否像 languages
文件夹下的参数一样随语言变动?
把仓库 clone 过来是可以自己改的,不过我想用 submodule 功能与本仓库同步 😢
How to add archive entrance in home page?
请问该如何在首页中添加自定义的页面入口呢(譬如归档等)
BTW, truly a nice theme. Thank you for creating this.
找个爹移植一下
作者你好,感谢你设计并实现了如此简约又文艺的主题。
只不过在移动端,字体似乎没能按照预计的设计显示,而且左侧的标题在移动端也在左侧,显得十分拥挤。
可否考虑下移动端适配?
请问怎么设置图片居中呢,我改了styl文件,但是并没有生效
在摘要后面加入,摘要部分会显示成红色带下划线字体,这个怎么解决?谢谢
在主题和根目录的配置文件下都没法配置好,求支招。
好久没看博客前几天上去看了一下,发现样式变的很奇怪,把layout/_partial/head.ejs
第38行的地址改为//cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css
就行啦
最近一段时间出现了http://cdn.bootcss.com/font-awesome/4.5.0/fonts/fontawesome-webfont.woff2?v=4.5.0这个font的依赖加载失败, 以前是没有问题的, 导致主题的字体感觉跟以前不一样了, 是否是我们的网络原因, 您那边加载的出来吗 ?
While using this theme, the generated home page/article list page always auto add an tag to the description of each blog, turning which into a link(so as the style).
I was using tag to specify the description. Did I do something incorrectly? Or is there any methods to prevent automated add tag?
使用主题生成页面后,在首页的文章列表中,文章的描述会被加上 a 标签,成为红色的链接样式。而我的文章中本身这部份不是链接。我这边是使用 more 标签之上的部分作为描述的。有什么方式可以避免出现这个问题么?非常感谢。
还有 左上角的小图标可以更改吗? 如果可以 请问如何更改 谢谢
我看作者博客有,但是我自个找不到配置的地方
已经在sources下添加favicon.ico
如何能使代码高亮呢?
hi,超爱你的模板!
clone之后,主页左上角的图标缺失,默认显示为一个拼图,请问图标我如何自己更换?感谢!
你好,照澄!
我很喜欢这个 HEXO 主题,由于我目前使用的是 Typecho ,我想问问你有没有移植到 Typecho 的意愿(我没有这个能力~)
小姐姐你好,很喜欢你的主题,最适合写些东西又不用烦心其他设置了。
但是碰到个问题,我写的文章首页左边只显示一个标题,右边并不能像你的一样显示摘要呢
在默认配置下如果使用两个 ``` 或者两个 ` 加入代码,显示出来的字体似乎不是等宽字体。试了试自己改,发现改哪个文件都不太起作用。。。
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.