stiekel / hexo-theme-random Goto Github PK
View Code? Open in Web Editor NEWA hexo theme with random fullscreen background image.
Home Page: https://env-wwufiyop-1252212664.tcloudbaseapp.com/random-demo/?latest
License: MIT License
A hexo theme with random fullscreen background image.
Home Page: https://env-wwufiyop-1252212664.tcloudbaseapp.com/random-demo/?latest
License: MIT License
您好,我想问一下关于头像设置的问题,在源主题中,头像的设置是avatar: http://7te9fe.com1.z0.glb.clouddn.com/default_avatar.jpg,在其他页面的左上角,也可以显示出来,但是如果我设置为自己的头像(如:avatar: zk.JPG),就只能在home页面中显示,而在其他的页面中(左上角)显示不出来,请问一下这个问题应该怎么解决呢?
如题(虽然大陆地区访问不了但还是希望添加,或者添加Instagram页面。)
链接按下去跳转的还是本页,这个链接是不是略显多余?
你好,非常感谢你能开发这个主题免费给大家用,最近打算在写LaTeX,按照这篇文章的步骤:http://blog.csdn.net/emptyset110/article/details/50123231 , 但是发现当前的主题好像不支持。请问当前的主题支持LaTeX的公式显示吗?
目前我修改了Public目录下的index.html文件,但是发现没有用。不清楚怎么修改!请给个建议!谢谢!
代码段中某一个地方出现单行注释,那么注释下面的代码只剩下一种颜色了,高亮设置失效。
详见:https://prosscode.github.io/2018/HDFS%E6%A0%B8%E5%BF%83API%E7%BC%96%E7%A8%8B%E6%A1%88%E4%BE%8B/
求解决。
页面底部如何自定义配置?
根据文档的方法 创建了tags和categories列表 用同样的方法创建abouts不可行 请问怎么创建about?
怎样才能把默认的背景图源unsplash更换为其他源,例如必应随机图片,而不是逐张图片添加。
本人发现unsplash的速度较慢,希望作者添加其他源或支持添加其他源。
在主页和归档页面都有图片连播,但是文章后没有
能否实现添加连播呢?
请问code是不是不支持多行?
希望可以添加rss订阅功能恩。。。
很荣幸使用random。
部署之后,发现文章列表只显示当前年份的文章,去年的文章在tags中可以查阅到:https://prosscode.github.io/archives/
因为我的博客文章在GitHub上是通过年份分为不同的文件夾来存放:https://github.com/prosscode/prosscode.github.io
这是否是一个影响因素?解决方法是归纳所有博客文章在一个文件夹内还是修改random中的某些设置,文章才能在archives中全部显示?
请指教,谢谢!
你好 请问 统计和分享评论功能具体怎么实现?谢谢!
你好,请问如何在首页加备案号?
毕竟,这两个还是主流社交工具。
网站标题用[ ]是不是有点另类了?我把标题这部分做了点修改,大家可以参考下。
{% set pageTitle = page.title || '' %}
{% if is_archive() %}
{% set pageTitle = _p('archive_title') %}
{% endif %}
{% if is_tag() %}
{% set pageTitle = __('tag_title') + ': ' + page.tag %}
{% endif %}
{% if is_category() %}
{% set pageTitle = __('category_title') + ': ' + page.category %}
{% endif %}
{% if is_month() %}
{% set pageTitle = pageTitle + ': ' + page.month + '/' + page.year %}
{% endif %}
{% if is_year() %}
{% set pageTitle = pageTitle + ': ' + page.year %}
{% endif %}
{% if pageTitle.length <1 %}
{% set pageTitle = config.title + ' - ' + config.subtitle %}
{% else %}
{% set pageTitle = pageTitle + ' - ' + config.title %}
{% endif %}
我希望能增加站内搜索,请告知我该如何修改
模板对于引用的渲染貌似只是将内容放在了
标签之内。可以稍微加一点修饰,比如前面加个竖线什么的,使得和普通文本更易于区分
i can't change the avatar ,even i have set it (incluing hexo main config file and theme config ),but it always shows ,"http://7te9fe.com1.z0.glb.clouddn.com/default_avatar.jpg".it is awful........... then i removed the avatar in the theme config, it's not useful too. it confuses me,i need your help............thanks
整体大赞
如何隐藏掉 左下的hide按钮?另外如何让 背景图取自bing那样一天换一张而不是一直轮换?
比如自己添加segmentfault的链接,自动大写了,另首页配置的github链接也是自动大写,这样不太合理吧
看一个博客的时候看到了email的联系方式,有时候看到博客有些问题想联系作者email也是一种比较快的方式吧,建议增加gmail的图标
你好,我使用了你开发的主题,但是发现代码高亮部分默认的结果不是很好看,附上一个链接:http://goingmyway.cn/2017/07/14/Understanding-Session-and-Graph/
你好,我用你的模板搭建的博客,点击categories和tags后页面无任何内容只有title,我看你的demo上有。谢谢了。
所有注释以下的代码均被高亮成了和注释一样的格式。
我试了在md文件中的很多种加标签的方法,但是都没有成功
tags: hexo/makedown 这个到底是怎样分隔多个标签的呀?
知乎图标不在其中,怎么办?
如何把首页菜单,即大写的 "ARCHIVES" "TAGS" "CATEGORIES" "ABOUT" 改成中文?以及博客主页里的菜单,即 "Home" “Archives” "Tags" "Categories" "About"改成中文?我把已经添加menu属性在路径themes/random/languages/里的zh-CN文件。
如下添加:
menu:
home: 首页
archives: 归档
categories:分类
tags: 标签
about: 关于我
但是没有效果。
总觉得每篇博客里的代码行号和代码本身离得特别近,少了一点美观,求教在哪个css里?
这个首页的头像太丑了 换又换不掉 真是败笔
如题,作为程序猿,觉得别人在看博客的时候会希望看到这两个网站的相关信息
按照大家的习惯,下一页应该是更新的博文,上一页应该是更老的博文。主题中的分页刚好相反。我这里改了下,效果如 reinhardhsu.com ,代码可以参考下:
{% if page.next_link %} ← {{ __('prev') }} {% elif page.next && page.next.path %} ← {{ __('prev_post') + ' ' + page.next.title }} {% endif %}{% if page.current && page.total %}
{{ __('page_number_part1') }} {{ page.current }} {{ __('page_number_part2') }} {{ page.total }} {{ __('page_number_part3') }}
{% endif %}
{% if page.prev_link %}
{{ __('next') }} →
{% elif page.prev && page.prev.path %}
{{ __('next_post') + ' ' + page.prev.title }} →
{% endif %}
添加下CSDN和cocoaChina的图标
如标题
配置了jiathis之后 分享栏在哪里显示?
Hi everyone,
I'm here because i met a problem today, when i use this theme and i launch hexo server locally, all is goo
But when i run hexo server on heroku i receive "WARN No Layout: index.html" in the log
Thanks for your help
(sorry for my english, I'm french)
Recently, I have download your hexo-theme-random as my personal Blog's theme , but when I click categories, about, and tags, it show me "404 page not found", My github repository is
https://github.com/JohnnyZhunan/JohnnyZhunan.github.io
根据我的测试,主配置文件中sub-title的值会和网页名一同显示在网页的标题上面,但是decription的值不会显示在主页的title下面,能不能让description的值显示在主页title下面。。。
我不是很熟悉前端,和主题,请问如何在首页底部悬浮添加文字?因为我有一些备案信息需要放在首页下面。
在 index 页面上,点击 archive 会跳转到 archive 页面上,如何把 archive 改成 Gallery ,并跳转到 gallery 页面,THX!
换了主题之后 $hexo g然后会报如下
Unhandled rejection TypeError: Cannot read property 'replace' of null
开启服务器之后也没办法打开localhost:port
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.