laozhu / hugo-nuo Goto Github PK
View Code? Open in Web Editor NEW🎨 A responsive light & clean hugo theme for blogger.
Home Page: https://laozhu.me
License: MIT License
🎨 A responsive light & clean hugo theme for blogger.
Home Page: https://laozhu.me
License: MIT License
Hi,
Thanks for the great theme!
I found the syntax highlighting not working well for R code.
Following the instructions ("Enable syntax highlighting via highlight.js" section) fixed the problem.
Chenhao
感覺滿好用的~之後有機會支援來必力評論嗎?
Hi, I was trying to add a subtitle in YAML front to my post (.Rmd) file. However, I cannot get a subtitle shown on my webpage even the YAML front contains subtitle. I use R Blogdown package to build the post. People from R Blogdown told me this was because the Hugo theme I was using doesn't support subtitle. Can I get any idea on how to get a subtitle?Thank you.
I'd like to add links to my Reddit and StackOverflow accounts among the social icons. Patching header.html
is not very hard, but I don't think I can manually add the icons for Reddit and StackOverflow to your custom font.
Could you do it?
很清新的模版,赞!
提一个小建议:主页显示的是每篇博文的第一段。要是一篇博文的第一段写得太长了,就显得很不好看。建议可以加一个summary参数。在主页只显示summary内容。或者按字数限制来显示。
麻烦适配jekyll theme和设置分享插件,多谢了
In my site I'm not seeing any social links or the main footer unless I make my window very narrow to force 'mobile' layout (or zoom in a lot). I tried with Chrome and Firefox.
See www.laher.net.nz (source at https://github.com/laher/laher.github.com )
Please could you either tweak the css or provide a way to include some custom css.
Ta.
My User Agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36
My Screen Resolution
1280×720
你好,找了一圈没看到列表封面图片设置的相关文档.
当代码段的内容中有 URL 时,通常不需要被转换为链接,例如如下的 bash 代码段:
wget https://github.com/laozhu/hugo-nuo/archive/master.zip
而在 hugo-nuo 模版中,它会被转换成可点击的链接。
不确定是否该模版的一个 Feature,但私以为是个 BUG。
有什么好的办法吗?
{{ if $paginator.HasPrev }}
<a class="pagination-previous" href="{{ $paginator.Prev.URL }}">← Newer Posts</a>
{{ end }}
{{ if $paginator.HasNext }}
<a class="pagination-next" href="{{ $paginator.Next.URL }}">Older Posts →</a>
{{ end }}
should be the opposite
新手= =,不知道Tags到底怎么设置,老是在报错。
错误的输入输出如下
hugo -t hugo-nuo
Started building sites ...
ERROR 2017/12/05 10:49:25 Error while rendering "page": template:
executing "main" at <.Params.tags>: range can't iterate over caffe
我是在content底下直接生成tags.md
可以在本地页面上看到Tags标签,但是最后生成的时候就会出现上述错误。
所以希望能够了解到Tags的具体设置。
谢谢您。
例如
\left\{
\begin{aligned}
N & = pq \\
\varphi(n) & = (p-1)(q-1)\\
\end{aligned}
\right.
\Rightarrow
N - \varphi(n) + 1 = p + q
生成的HTML中少了很多反斜杠导致显示出错,换行的地方甚至需要8个反斜杠才行。。。。
请问怎么插入音频,与视频,能不能详细介绍一下?谢谢了
运行 npm run sass
> [email protected] sass C:\Users\neal1\project\hugo-nuo
> sass --scss --style compressed --watch ./src/styles/main.scss:./static/css/bundle.css
Could not find an option named "scss".`
sass npm包和 gem 包都安装了,系统是 win10
I'm using this theme and it's really a good theme. Could you please add a Tags link to a page, so that all the available tags show on that page
如题,不知道为什么。
本地预览的时候很正常。
但是提交上去直接访问就乱了,看不到本地效果。
Hi on he first point, thank you for this awesome theme, is minimal and very fast with hugo.
my problem is the next
i got to your site demo and the same problem , any solution?
I added theme to my blog, after that created a post and run this command: hugo server -D
, but I got empty page in browser, also hugo
command gives this error:
Started building sites ... ERROR 2017/08/17 13:50:25 Error while rendering "home": template: ~/blog/quickstart/themes/hugo-nuo/layouts/index.html:7:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
I'v tested ananke
theme, there was no error and blog came up.
Ubutnu 16.04, Hugo 0.26
使用hugo server -w 运行本地服务
然后修改content.scss文件中的样式,然后执行
npm run sass,
但是我再看本地的效果,依旧没有改变,
请问如何才能正确的修改样式
Hi,
first of all, I think hugo-nuo looks very nice. Thanks for publishing it.
A question. What encoding is bundle.css (esp. the iconfont scripts) in?
I would like to modify some part of the css, such as not rotating my avatar on hover(since it is not a Z), but everytime I open bundle.css, it messes up the encoding, so when I save it with my edits many other things fail, such as the iconfonts (github, email, menu etc...).
RT
有时候头像是红色系的,配绿色的链接颜色什么的有点违和,希望能在配置中增加一项,选RGP值之类的。
I like the look of this theme very much: simple, elegant, well designed. However, I am very new to Hugo, and I'm still struggling with a few things. Here are two of them:
How can I change the theme so that *.md files are read from a different directory to content/post
? For example, my files live in content/blog-posts
: how can I change the theme so that they are read from here?
I want to use my own image as an avatar, so I've put amca01.jpg
in to the public/img
directory, , and linked to it in my config.toml
file with the parameter line avatar = "/img/amca01.jpg"
. But when I run Hugo and the Hugo server, it claims that this file doesn't exist. I've checked the file name, directory, permissions (I'm using Linux); it's there all right, but somehow not being read by the theme. So how can I make my image "visible" to the theme?
I think that's it for the moment - thanks very much!
有些托管的地方可能需要在首页加点什么内容,比如coding.net就需要加上Hosted on Coding.net才能不跳转,我加在footer里但是只有移动端才能看得到。
可否在PC端也加上footer的显示?
另外,是否可以在配置里增加这么一项内容,可以让用户添加一些托管商的标志,比如七牛的图片广告之类的。
你好,首先非常感谢您提供这么好用的主题,这让我的生活方便了好多,但是我在使用主题的时候遇到了一个小问题。
有时候我需要某些数学公式需要在行内显示,而不是占一整行,我看 MathJax 是通过$公式内容$
的形式实现的。但是我看hugo-nuo
主题好像不支持这种形式,所以想请教一下该如何开启这个功能?
Have got some parentheses in articles, which are auto converted by MathJax. Need an option to disable that. Example: TextA(TextB)
文章中有一些小括号包裹的普通文本,被 MathJax 自动转换了样式。希望能够有关闭它的入口。形如:TextA(TextB)
The theme is really nice, but I'd like to add highlight.js code highlighting. https://highlightjs.org/
Is this something you'd consider adding to the theme, or letting me know how to add it?
when i active permalinks on config.toml
[permalinks]
post = "/:title/"
my site
https://abdiasriver.github.io/post/web-github-linux-hugo/
change to https://abdiasriver.github.io/web-github-linux-hugo/
but appears with the two direccions (duplicated content) and the comments with discus has broken and not show on my blog, what can i do for fix this,, thanks for these awesome theme
Hi there! Thanks for the really neat theme.
I'm having trouble overriding the default favicon; I've got static/img/favicon.ico
, static/img/favicon-32x32.png
and static/img/favicon-16x16.png
to override the default images, but I still see the default "Z" favicon.
What extra files do I need to override to change the favicon? (I'll submit a pull request updating the documentation once I know how to do it 😄 )
我是用示例中的代码,放到我的文本里,生成的html并没有着色
// Initialize video.js player
if (document.getElementById('my-player') !== null) {
/* eslint-disable no-undef */
videojs('#my-player', {
aspectRatio: '16:9',
fluid: true,
});
}
@laozhu 你好,这两天我在更新了主题之后,发现我配置的disqus评论不见了,我的hugo项目的配置文件config.toml
中已经添加了配置语句disqusShortname = "bwangel"
,我想应该不是因为配置的原因。
我在代码中看到,disqus是在single.html中引入的,它加载了一个_internal/disqus.html
的模板,但是我在整个项目中并没有找到这个文件,所以想问一下,这个文件是不是被误删了?
The hugo documentation and all other themes use the archetype of "posts" instead of "post" so this theme diverges from them. Is there anyway it can be corrected in the repo?
I corrected my local copy but I am sure it is confusing for others to try and use when following the documentation works until you try to use this theme.
想咨询一下,你的 https 证书是使用 cloudflare 的免费证书么,会不会导致网页是 https 但是其它资源文件是 http 从而导致资源无法加载
我在header.scss里把原来的
&:hover {
transform: rotate(180degree);
}
换成了
&:hover {
transform: scale(1.2);
}
但没有任何相应。我试着改了一些别的参数,也没有响应。请帮忙看一下。谢谢。
Error while rendering "page" in "post/": template: /home/kerwin/git/buyaoshushu/themes/hugo-nuo/layouts/post/single.html:12:32: executing "main" at <.Params.tags>: range can't iterate over 游戏
Hi,
Thanks for such nice template.
I'm using Adblock Plus plugin in Chrome, and it blocks your template's social icons.
I don't see such problem in Edge .
Cheers.
改的variables.scss
这个文件中的
$background-image: url('../img/grey-prism.svg');
直接写到这个文件也不行 skeleton.scss
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.