Code Monkey home page Code Monkey logo

hugo-nuo's People

Contributors

1919yuan avatar amosbird avatar awwong1 avatar bebound avatar borysekondrej avatar bwangelme avatar caseycs avatar duckll avatar eljobe avatar kerol2r20 avatar laozhu avatar mbrukman avatar milch avatar mohuishou avatar nicksolomon avatar salmanulfarzy avatar samuelkarp avatar tgrk avatar tommorris avatar yoric avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hugo-nuo's Issues

使用中文tags报错

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 游戏

代码高亮如何设置?

我是用示例中的代码,放到我的文本里,生成的html并没有着色

// Initialize video.js player
if (document.getElementById('my-player') !== null) {
  /* eslint-disable no-undef */
  videojs('#my-player', {
    aspectRatio: '16:9',
    fluid: true,
  });
}

Older Posts and Newer Posts buttons should be switched

          {{ 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

我们不一样?

2018-01-16 11 22 46
2018-01-16 11 22 59
为什么我这插入的代码是没有背景和高亮的?
第一张图是你博客的,第二张图是我把themes/hugo-nuo/exampleSite/content/post/hugo-nuo-post-preview.md拷贝到了content/post/hugo-nuo-post-preview.md以后的效果

Changing directories, and avatars

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:

  1. 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?

  2. 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!

复杂一点的公式会吃掉很多反斜杠

例如

\left\{
\begin{aligned}
N & = pq \\
\varphi(n) & = (p-1)(q-1)\\
\end{aligned}
\right.
\Rightarrow 
N - \varphi(n) + 1 = p + q

生成的HTML中少了很多反斜杠导致显示出错,换行的地方甚至需要8个反斜杠才行。。。。

使用插件

请问怎么插入音频,与视频,能不能详细介绍一下?谢谢了

Support reddit, stack overflow

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?

Socials not show

Hi on he first point, thank you for this awesome theme, is minimal and very fast with hugo.

my problem is the next

  • i dont see the social icons on my blog , i has added my username but dont appear.

i got to your site demo and the same problem , any solution?

能否在PC端显示footer?

有些托管的地方可能需要在首页加点什么内容,比如coding.net就需要加上Hosted on Coding.net才能不跳转,我加在footer里但是只有移动端才能看得到。
可否在PC端也加上footer的显示?
另外,是否可以在配置里增加这么一项内容,可以让用户添加一些托管商的标志,比如七牛的图片广告之类的。

Disqus 评论不见了

@laozhu 你好,这两天我在更新了主题之后,发现我配置的disqus评论不见了,我的hugo项目的配置文件config.toml中已经添加了配置语句disqusShortname = "bwangel",我想应该不是因为配置的原因。

我在代码中看到,disqus是在single.html中引入的,它加载了一个_internal/disqus.html的模板,但是我在整个项目中并没有找到这个文件,所以想问一下,这个文件是不是被误删了?

Theme uses "post" instead of "posts"

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.

小建议

很清新的模版,赞!

提一个小建议:主页显示的是每篇博文的第一段。要是一篇博文的第一段写得太长了,就显得很不好看。建议可以加一个summary参数。在主页只显示summary内容。或者按字数限制来显示。

能否在配置中更改配色?

RT
有时候头像是红色系的,配绿色的链接颜色什么的有点违和,希望能在配置中增加一项,选RGP值之类的。

修改content.scss后样式没有改变

使用hugo server -w 运行本地服务
然后修改content.scss文件中的样式,然后执行
npm run sass,
但是我再看本地的效果,依旧没有改变,
请问如何才能正确的修改样式

Need a Tags page

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

https证书

想咨询一下,你的 https 证书是使用 cloudflare 的免费证书么,会不会导致网页是 https 但是其它资源文件是 http 从而导致资源无法加载

Windows IE and Edge Test

  • 文章中a标签相互嵌套报错【Edge】
  • 为 Sourcemap 中的源文件增加 nginx 路由
  • Video.js 引入的视频封面未平铺显示【Edge&IE】
  • 回到顶部的图标消失【IE<=11】
  • MathJax 加载失败 【IE<=11】
  • 嵌套的 a 标签警告,参考资料使用 ref01 锚点【IE】
  • 脚本报错,无法获取未定义或 null 引用的属性 "add"【IE=9】

Need an option to disable MathJax

Have got some parentheses in articles, which are auto converted by MathJax. Need an option to disable that. Example: TextA(TextB)

文章中有一些小括号包裹的普通文本,被 MathJax 自动转换了样式。希望能够有关闭它的入口。形如:TextA(TextB)

Could not find an option named "scss".

运行 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

Add Subtitle to Post

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.

image

image

代码注释有一些bug

  1. 注释颜色异常

image

  1. ```js ```格式的注释, 有时被转为纯文字
  2. 使用// 单行注释会导致代码块失效

代码段中包含 URL 时,通常不需要被转换为链接

当代码段的内容中有 URL 时,通常不需要被转换为链接,例如如下的 bash 代码段:

wget https://github.com/laozhu/hugo-nuo/archive/master.zip

而在 hugo-nuo 模版中,它会被转换成可点击的链接。

不确定是否该模版的一个 Feature,但私以为是个 BUG。

请问不支持行内数学公式吗?

你好,首先非常感谢您提供这么好用的主题,这让我的生活方便了好多,但是我在使用主题的时候遇到了一个小问题。

有时候我需要某些数学公式需要在行内显示,而不是占一整行,我看 MathJax 是通过$公式内容$的形式实现的。但是我看hugo-nuo主题好像不支持这种形式,所以想请教一下该如何开启这个功能?

您好,Tags的具体设置是什么样的?

新手= =,不知道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的具体设置。
谢谢您。

'pager size' must be a positive integer

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

highlight.js

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?

encoding of bundle.css

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...).

停止avatar旋转

我在header.scss里把原来的

&:hover {
transform: rotate(180degree);
}

换成了

&:hover {
transform: scale(1.2);
}

但没有任何相应。我试着改了一些别的参数,也没有响应。请帮忙看一下。谢谢。

評論方式

感覺滿好用的~之後有機會支援來必力評論嗎?

social links and footer not showing

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

Make it more obvious how to change favicon

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 😄 )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.