Giter Site home page Giter Site logo

leaveit's People

Contributors

connord avatar liuzc 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

leaveit's Issues

什么都没有,一片空白

打开localhost:1313后,界面什么都没有,除了底部powered by Huho & LeaveIt,跟着教程的about.md还有post/first.md根本没显示

发现许多 bug

看了一下博主,似乎不怎么使用 github,也很久没有使用维护了,大概已经放弃了吧。一些 bug

  1. 目录显示 bug,当目录过长时,只能显示一个屏幕的目录,向下拖动目录也无法显示
  2. 图片显示 bug,使用 命令时无法加载图片,看了下 hugo 的 markdown 语法,没有发现有什么区别,但是加载失败

还有许多 feature

  1. 评论
  2. 代码复制按钮

等等,还有许多问题,实在是因为我很喜欢这个主题,极其简洁而专注于内容本身,同时 ui 又非常美观,我看过其他继续维护的 rep,可以变得臃肿,反而落入俗套。我现在对前端还一窍不通,希望以后能修复这些遗憾。我的 blog: https://edte.github.io/

tags 返回404

问题:我在新生成的文章里加入了例如 tags: ['js'] ,然后我点击导航Tags 分类也出现了,但是点击js显示404,我不知道该如何处理,
期望:希望给一个解决方案,谢谢

编译静态页面的时候报错

报错信息如下,还不知道有啥影响
深度截图_选择区域_20190425180914

解决办法
站点下的 /themes/LeaveIt/layouts/partials/seo_schema.html里增加 { 符号,如图
深度截图_选择区域_20190425181405

修改为
深度截图_选择区域_20190425181338

failed to build site

Hello, when I used hugo command to build demo, it failed with the wrong messages as follows:

ERROR 2018/10/06 09:46:22 Failed to add template "partials/head.html" in path "partials\head.html": template: partials/head.html:41: unexpected "=" in operand
ERROR 2018/10/06 09:46:22 partials/head.html : template: partials/head.html:41: unexpected "=" in operand
Building sites … ERROR 2018/10/06 09:46:22 Error while rendering "page" in "posts\news\0.47.1-relnotes\": templa te: _default\single.html:3:5: executing "_default\single.html" at <partial "head.html" ...>: error calling partial: template: "partials/head.html" is an incomplete or empty template

Could you give me some help to solve this problem?

How can i control the zoom ratio of picture?

How can I control the scale (width) of the picture on the page?
Some images are not wide enough when displayed on the page, resulting in blurred text on the screenshots.

我要怎样才能控制页面上图片的缩放比例(宽度)?
一些图片在页面上显示时宽度不够,导致截图上的字模糊不清。

非常感谢作者的主题,有以下几个在使用中发现的问题请教,希望得到回复,感谢!

image
-1、如图,在使用代码块的时候会有这样的白色背景,请问一下该怎么去除。

-2、请问大神切换主题的那个心形logo怎么换成其他图形的logo,这个形状感觉怪怪的。

image
-3、请问代码块的这个背景怎么设置成浅灰色的背景,而不是这样框出来的?

刚刚开始学习的小白,还请大神指条明路!告诉我修改哪个文件之类的,如果能告诉我修改哪个位置就更感激了!非常感谢!期待回复!

hugo构建命令报错

错误信息如下:
Building sites … ERROR 2018/09/13 22:40:33 error: failed to transform resource: TOCSS: failed to transform "css/main.scss" (text/x-scss): this feature is not available in your current Hugo version
Total in 266 ms
Error: Error building site: logged 1 error(s)

hugo版本:Hugo Static Site Generator v0.48 windows/amd64 BuildDate: 2018-08-29T06:35:13Z

Using featured image with local image

Hi,
Thanks for this great theme very useful and comprehensive.
I particularly appreciate the image feature but I would like to use featured image with local image (in the article folder as implemented in resources image processing with the new Hugo's feature).
How to do it notably in the article's front matter metadata (difference with the example shown in your explanation) ?

In addition, it seems that iconfont feature doesn't work for me. I didn't understand why. Could you please just elaborate a little bit how this feature is implemented.
Thank in advance.

字体问题

请问一下,这个主题的字体怎么修改呢

JSON parse error: expected comma character or an array or object ending on line 2 and column 13

执行命令:HUGO_ENV=production hugo --gc --minify,报错:

Building sites … WARN 2020/05/27 19:23:21 Page.RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like:
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
WARN 2020/05/27 19:23:21 Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url
ERROR 2020/05/27 19:23:21 JSON parse error: expected comma character or an array or object ending on line 2 and column 13
2: "@context" : "http://schema.org",
^
ERROR 2020/05/27 19:23:21 JSON parse error: expected comma character or an array or object ending on line 2 and column 13
2: "@context" : "http://schema.org",
^
Total in 66 ms
Error: Error building site: failed to render pages: JSON parse error: expected comma character or an array or object ending on line 2 and column 13
2: "@context" : "http://schema.org",

照片点击后无法显示

{{< figure class="center" src="/images/test.png" title="日报" alt="日报" >}}

网页上可以显示,但是点击放大后就无法显示了

部署到gitpage问题

本地hugo server查看时,avatar图片有显示,点击进入也有博客页。但部署到gitpage上avatar图片无法显示,点进去显示404。

发现一个小小的 bug

当 tag 名称含有 / 时会被 404 (例如 GNU/Linux)

_google-chrome_20181117232008

因为 / 会被当成 url 的分隔符

_ _20181117232029

可以把在编译时把 / 转换成 - 吗?_(:з」∠)_

添加disqus没有效果。。

您好,非常喜欢您的这个主题,今天弄好博客后发现设置了disqusShortname后,没有出现评论。。

关于本地搜索

主题很漂亮啊!
另外兄弟能否看下这里的讨论。
如果可以,能否集成?话说jekyll都有了即搜即显示的全文搜索,hugo当然要赶上了:)

ps:hugo中文板块人很少啊。

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.