Coder Social home page Coder Social logo

hugo-theme-yinyang's Introduction

hugo-theme-yinyang's People

Contributors

imgbot[bot] avatar joway avatar kubido avatar mbrukman avatar quanuanc avatar xiaochencui 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

hugo-theme-yinyang's Issues

手机端无法显示文章标签

如图,电脑端可以显示但手机端不行
手机端
电脑端
另外,想请问下你个人主页是和博客同一个Hugo项目吗?如果是,请问是怎么实现的?谢谢

Add an option to hide per-post author name

In #12, I tried to hide the author name for each post if it's unspecified, but the same field .Site.Author.name is used for both the home page, plus for each individual post.

Please consider making this optional: for each post, a user can specify a specific author (to allow guest posts), but otherwise, if we consider the primary use case is a single-author personal blog, we don't need to specify the author name on every post, it should just be a fixed heading at the top.

Why the RSS link in footer is 'atom.xml' ? Hugo provide 'index.xml' for us 🤔

The default path of RSS file is just in public/index.xml, can you explain why you chose the 'atom.xml' ?

I have to rename index.xml into atom.xml ...

Have a nice day😊.

英语很差,词汇量也低,若有用词不当和言语冒犯请斧正,谢谢您。您也可以看看Hugo默认生成的HTML,head有 <link href="/index.xml" rel="alternate" type="application/rss+xml" title="Siyang&#39;s Blog"> 以供RSS嗅探器发现的

Customization Help

Hello! I know it's not your problem and theme works great but i have 2 issues that i could not handle myself. My blog address is koraybicer.com.tr

I want to remove 2 things.

  1. The date. That 2020 i am trying to erase.
  2. Black lines on up and down.

I will gladly appreciated if you can help me.

Tags support

The theme is great, thanks for making it.

Would it be possible to add a way to have:

  • A list of tags on the home page (like on the right side), and below each post on the front page listing and below the post when it's opened

需要凸显引用

image

如图,难以区分正文与引用(> 语法)。希望能在引用左边加一条竖线之类的

首页文章太多能做成分页吗?

文章太多,一下页面太长了,想搞个分页。
能弄个侧边栏吗?我想基于你这个主题,通过自宝义CSS 改造成wordpress 里的 "Minimalist Writer"主题。
您的主题设计简洁而又美观,使用起来非常顺畅,让我感觉非常愉悦。你真是一个优秀的主题设计师!

How can I enable word wrap?

Thanks for the wonderful theme. I have only one issue that English words are not wrapped. Could you check it?

extraCSSFiles param breaks the theme

When defining extraCSSFiles like this:

[params]
  extraCSSFiles = ["css/site.css"]

Hugo fails to render the page, errors out with:

ERROR 2020/07/28 11:47:08 render of "page" failed: execute of template failed: template: _default/single.html:3:3: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/home/sean/sean.mcgrath.nz/themes/yinyang/layouts/partials/head.html:45:39": execute of template failed: template: partials/head.html:45:39: executing "partials/head.html" at <.Site.Params.staticPrefix>: can't evaluate field Site in type interface {}

I have found the fix is to add a $ to .Site.Params.staticPrefix in the head.html partial on line 45:

  {{ range .Site.Params.extraCSSFiles -}}
  <link rel="stylesheet" href="{{ $.Site.Params.staticPrefix }}{{ . | relURL }}">
  {{- end }}

I believe this is because inside a range the template engine binds . to the value in the range. $. references the global values, which fixes the problem.

Hoping add math typo typing feature.

Hi @joway your theme is excellent and it seems doesn't support math typo like Latex or "tex in markdown", at least in my site
when I add math typo it shows incorrectly as for the picture below ...

So I want to know how to add the feature to support the math typing like add MathJax by myself, and that's will be the best if you can add that in the future.

Thanks.

image

disqus section not show

I have set

[params]
disqus = "xxx"

But there is no disqus section, where xxx is my disqus account

Page build failure

Trying to update my personal blog, I got the following email from GitHub:

The page build failed for the master branch with the following error:

The tag image on line 129 in themes/yinyang/exampleSite/content/en/post/migrate-from-jekyll.md is not a recognized Liquid tag. For more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error/.

I tried to exclude the file by adding exclude: ['themes/yinyang/exampleSite/content/en/post/migrate-from-jekyll.md'] to my config.toml, but it didn't help.

请问如何让related.html 的相关文章能显示出来

今天不知道设置了什么,把每一篇文章页面底部的相关文章显示出来了。然后不知道设置了什么又不见了。
我在hugo语法搜了一下related.html 里{{ $related := (where site.RegularPages "Type" "in" site.Params.mainSections).Related . | first 3 }}的意思,没有找到合适的方法,所以请教一下正常情况应该怎么设置才能让相关文章推荐显示出来。

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.