itimetraveler / hexo-theme-hiero Goto Github PK
View Code? Open in Web Editor NEWAn awesome magazine, blog theme for your Hexo site.
Home Page: https://itimetraveler.github.io/hexo-theme-hiero/
License: MIT License
An awesome magazine, blog theme for your Hexo site.
Home Page: https://itimetraveler.github.io/hexo-theme-hiero/
License: MIT License
the font look not good.
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "一个String,可以在_config.yml里配置",
enable_page_level_ads: true
});
</script>
上面这一段script,是google adsense的,要求写在head里。
这个googel_ad_client这一个string,不是秘密,每一个网站的head标签里都有这一段--如果开通了google adsense的话。
我已经在本地直接修改您的theme源码, 添加进去了,但我觉得如果能合并进入您的repo里,那可再好不过了。
谢谢
如题
RT。看不到评论框了
morning is there a way to show the first picture like the thumbnail? and there is a way to change the logo from text to img?
为什么使用了该主题,文章却是以整篇显示?摘要呢?请问摘要怎么配置
技术请教你个问题。你这个是怎么弄的?我想在hexo-themes-landscape也弄一个这个。
自己有几篇文章不希望在首页显示,但是一直没有想到很好的办法隐藏
next主题有相关代码,但是自己借鉴后却因post_template
值未定义导致无法实现
请问能指导一下么,谢谢!
Greetings! Thanks for making the theme, I really like it and start using it in my blog.
One problem I faced is that currently the category page is not able to display the hierarchy because it simply loops over site.categories
.
In Hexo, the categories are designed to be hierarchical while tags are not (here is Hexo docs).
So I wrote a simple helper adapted from hexo's list_category helper, and also keep the style of categories.ejs
from your theme. It's already used in my blog's category page so you can see what the result is like.
The change is, suppose we only have one post, and it belongs to category A
then subcategory B
then subcategory C
, it then will only be displayed in category A > subcategory B > subcategory C
. Note category A
and subcategory B
will not be shown at all because there are no posts directly under them.
If you think this feature is worth supporting, I am happy to submit a PR for it. :)
Cheers!
在config中的baidu_analytics应该如何设置? 谢谢~
我尝试了更改发现存在问题!
我将来必力的shortname给注释掉,然后添加了valine的APPID和appkey后没有出现评论框???这是为什么?
这个theme中,在md文件中写 <!-- more -->
貌似没用,是自动截取的吗?可以调整截取字符数吗?
您好,请问一下,怎么为文章在“首页”和“最近更新”的地方,添加(像您的网站 https://itimetraveler.github.io/hexo-theme-hiero/ 展示的)那样的缩略图呢?谢谢!
放在README.md里的话加点东西还要发个PR,略显麻烦。不似wiki可以随时进行编辑增删等等。
在文章中加入后,文章在列表里会折叠展示,但是显示的文章并不是上方的文章,好像是展示了固定大小的字数。
开启百度站内搜索,搜索框和搜索按钮样式有问题,按钮只展示了一截
首先布局我很喜欢,但是我不太明白你的 模板定位,如果是新闻模板在 文章页面居然还有目录,貌似目录这个东西看着不习惯,可能我不是程序员,大致说点个人观点吧
一 、字体不太好,我觉得常规设置就好 参照这个https://nervouself.github.io/ 我用他的模板做了个博客,电脑手机看着觉得字体都可以,看了源文件就是常规设定
二、如果保持目前的列宽,我觉得分类目录起码一行 两个,然后就是标签,一行起码 三到四个,归档也是 一行放两个更好
三、标签云不够醒目,目前的颜色设定不够突出
四、配色大黑head 感觉 太严肃了,,,小清新配色感觉更流行
大致就这么多,顺便问一下你做模板是为了练手还是为了 实用?
I look this theme using TOC beside a post. How to replace it with sidebar like in homepage? Thank you
random_thumb: true
请问,怎样修改主题默认的缩略图!!
除了首页的resent post显示有图片,其他页面的resent post 均不显示图片?????
Hi, it seems there is no About page's layout?
I run hexo new page "About"
and set the layout to About. I run server locally and the About page is quite different with your demo.
Did I miss anything? Thanks.
嗨,又来打扰你了。
我有个困惑,现在自建了一个页面,但是hexo new命令好像默认在post目录下生成文章。
能指点我一下吗?
谢谢
看上去是因为要加载网上google字体,每次本地测试加载都特别慢,偶尔还崩溃,能不能修复。。
这下子确实似乎是个问题:
我刚才把blockquote的styl文件改了一下,就是themes/hiero/source/css/_partial/article.styl
然后hexo generate,最终的style.css没有任何变化
然后我把整个/public/css
目录全删了,再重新hexo generate,就好了。
这就是目前的情况。
也就是说,如果改动了.styl文件,似乎要把/public/css
目录全删了, 再重新hexo generate。
不知道这是hexo的问题,还是咱这个theme的问题?
=========原来的issue===========
您好,我修改了themes/hiero/source/css/_partial/highlight.styl
用hexo server可以看得出代码块的style变了
但hexo generate之后,仍然是老的style
请问这个问题是出在什么地方?
难道其他地方的style override了这个highlight.styl
里的代码?
大大把多说评论款融入了主题,很完美,可惜了。
random_thumb: true
这里提供的是随机图片,能否改成用户自定义的呢?
请问主题如何切换语言呢,我看见有一个zh-CN.ym,不知如何切换
First, thanks for your great theme.
I currently using this, but it doesn't work like live preview
..
My site is https://joon92.github.io
Can't get /categories tab and /tags too.
And in main,
live preview
doesn't show all contents.
It just only show part of content and continue reading
.
But my site is not. It shows all contents in main page.
I can't know what I did wrong.. I just follow what you wrote in installation
.
how can I do?
您的主题很漂亮!我也clone了一个
问一下主页背景图滚动速度的快慢可以设置吗?
标签页文字更改为中文之后,字体与文章字体不协调,看起来很奇怪,有什么办法修改吗?
<% if (!index && post.comments && (theme.duoshuo_shortname || theme.disqus_shortname || theme.uyan_uid || theme.wumii || theme.livere_shortname)){ %>
<%- partial('comment') %>
<% } %>
一直搞不定valine评论系统,能解决一下吗?
发布的文章一多,页面就会拖的很长,怎么才能使这三个页面的文章列表实现分页显示呢?
略加修改,多多指教。
https://stonemonkey.top/
我有一篇文章,经过多次update,内容很长
于是右边的“Content”就显然有点小了,就导致最下面的内容就显示不出来
更别提会自动变红了。
我试了一下,不知道怎样增加滚动功能
比如,overflow-y:auto,这个应该加哪里?
我想问一下,打赏的图片应该存放到哪里啊,我点击之后没用了,原谅我是小白。。。
主题配置文件里有theme.rss
,但简单翻了翻源码,没找到相关的超链接展示。
想自己加一个又无从下手,故发个issue进行讨论。
I've added the categories, tags and about pages at the top but they have no content. The archives page works fine. What am I missing here?
你好,是这样两个问题
就是head-menu中的Tags和Categories链接,点击后显示没有这个页面,但是在layout中有tags.ejs和categories.ejs两个页面。迷惑。
Cannot GET /Blog/myblog/tags/
就是引入站内搜索插件后,显示因为错误无法加载该插件。错误原因是
ERROR Plugin load failed: hexo-generator-json-content
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
感谢!!
FATAL Cannot read property 'replace' of null
TypeError: Cannot read property 'replace' of null
at /Users/shuju/blog/node_modules/hexo/lib/hexo/load_config.js:35:28
at tryCatcher (/Users/shuju/blog/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/shuju/blog/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/shuju/blog/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/shuju/blog/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/shuju/blog/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/Users/shuju/blog/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Users/shuju/blog/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/shuju/blog/node_modules/bluebird/js/release/async.js:17:14)
at tryOnImmediate (timers.js:534:15)
at processImmediate [as _immediateCallback] (timers.js:514:5)
Hi :)
I've installed your theme on my hexo blog
My "hope" page does not have "continue reading" button on each post, but instead there is full content of the post.
How can I activate or configure "more reading" button?
Thanks for the awesome theme!
大神您好,非常感谢您的主题,我系一小白,想给博文添加分享功能,搜索了网上的教程没有看懂,想问问您。
npm install hexo-generator-json-content
运行hexo s出现错误ERROR Plugin load failed: hexo-generator-json-content
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.