GithubHelp home page GithubHelp logo

sumimakito / hexo-theme-typography Goto Github PK

View Code? Open in Web Editor NEW
642.0 7.0 118.0 1.78 MB

Rediscover the beauty of typography.

License: MIT License

HTML 0.16% JavaScript 92.49% Pug 3.96% SCSS 3.39%
hexo-blog hexo hexo-theme

hexo-theme-typography's Issues

代码高亮与首页文字截断问题 Syntax highlighting & Read More function

1). 代码高亮问题:默认似乎没有代码高亮功能,是否支持高亮插件prism_plugin?如果需要修改可以去哪个位置修改?
2). 首页文字截断问题:无法通过<!--more-->来控制首页文字的展示长度。

1). The Syntax highlighting function doesn't work, and does it support the plugin prism?
2). I can't use <!--more--> to control the content length shown on the homepage.

Table style seems not support well

Hello, I've been using your theme for a while and it looks awesome. But there is a thing bugs me quite long time which is the table style.

image

It seems that the table border cannot be shown and the margin is also too small (There is no margin between "Caption" and "A" where it suppose to be.)

Another issue is it seems that I cannot make tables centering but I am not sure whether I am doing the correct way, shown as following

<center>
table
<\center>

Thank you very much

代码高亮和首页部分内容预览问题

这是个很漂亮的主题,很喜欢,不过我碰到两个问题,能教教我吗?

代码好像不能设置高亮?不知道怎么设置或在哪里可以设置?因为我不会定制 html,所以你能指引一下吗?
a3390b92-096c-4059-9561-311492354962

第二个是的内容预览部分如果碰到代码,显示效果就不太好了:
8330cc61-2cf0-4a6e-80bf-644e9089ceea

Appearance of scrollbar in Firefox 52

Hi, there.
Thank you for awesome theme. I use this theme on my blog.
I found the issue in Firefox v52.

the theme sets the -moz-scrollbars-none to overflow-y of .main-container.
It seems that the value is not available to overflow-y. it is overflow.
However , you can use -moz-hidden-unscrollable instead of it.

Cheers.

添加多级分类支持 Add support for multi-level categories

Hi there,

I'm using your Hexo theme and I'm really enjoying it so far. However, I've noticed that the theme doesn't currently support multi-level categories. This means that if I want to organize my posts into sub-categories, I have to resort to workarounds like using tags or creating separate parent categories for each sub-category.

I would like to request that you add support for multi-level categories in the theme. This would allow me to create a more organized and intuitive structure for my posts, and would make it easier for readers to navigate and find content on my site.

Ideally, I would like to be able to create categories like this:

- Programming
  - JavaScript
    - Node.js
    - React
  - Python
  - Ruby
- Design
  - UI/UX
  - Graphic design
- Photography

This would allow me to create a hierarchy of categories that reflects the structure of my content and makes it easier for readers to browse related topics.

If possible, it would also be great to have control over the display of sub-categories in the sidebar, so that readers can easily see the parent categories and expand/collapse the sub-categories as needed.

I understand that this might be a significant change to the theme's codebase, but I believe that it would add a valuable feature to the theme and make it more flexible and customizable for a wider range of use cases.

Thank you for considering my request. Let me know if you have any questions or if there's anything else I can do to help.

Best regards!


您好,

我正在使用您的 Hexo 主题,并且到目前为止我非常喜欢它。但是,我注意到该主题目前不支持多级分类。这意味着如果我想将我的帖子组织成子分类,我必须采用其他解决方法,例如使用标签或为每个子分类创建单独的父分类。

我想请求您在主题中添加多级分类支持。这将允许我创建更有组织且直观的帖子结构,并使读者更容易浏览和查找我的站点上的内容。

理想情况下,我希望能够创建以下类别:

- 编程
  - JavaScript
    - Node.js
    - React
  - Python
  - Ruby
- 设计
  - UI/UX
  - 平面设计
- 摄影

这将允许我创建一个类别层次结构,反映我的内容结构,并使读者更容易浏览相关主题。

如果可能,还希望能够控制主题侧边栏中子类别的显示方式,以便读者可以轻松查看父类别,并根据需要扩展/折叠子类别。

我理解这可能是主题代码库的重大变化,但我相信这将为该主题添加一个有价值的功能,并使其更具灵活性和可定制性,适用于更广泛的用例。

感谢您考虑我的请求。如果您有任何问题或需要帮助,请让我知道。

Scroll bar in main-container and figure

The scroll bar is set to be always appear in .main-container and figure and looks incoherent with this elegant theme. Would it be better to change to overlay?

单页面关闭评论功能

官方提供的变量中page.comments可以开启/关闭评论,而我设置了却仍然出现评论功能

怎么开启评论

我已经按照 README 设置了 livere 的 data-uid

image

可是博客依然不显示评论图标

image

文章页底部也没有评论区

image

Cannot Hide Title and Date For Pages

Hi,

Really appreciate your work on this nice and elegant theme. However, I want to hide the title and date attribute in my pages (not posts). I am also relatively new in Hexo. Could anyone provides me some tips? Thank you!

你好,

非常感谢您在这个漂亮而优雅的主题上所做的工作。 但是,我想在我的page(不是post)中隐藏标题和日期属性。 只保留在page/index.md里的内容。我对 Hexo 也比较陌生。 能否给我一些指导? 谢谢你!

关于文章页与首页的报错

  1. 用 Edge 和 Chrome 访问文章页时,会出现返回顶层按钮没有加载出来的情况。
  2. 用 Edge 访问首页时,文章翻页按钮处会出现没有加载出来的情况。
    以上可能为本地网络问题...但也请帮忙排查排查...
  3. 访问时会出现一个字体切换的过程,只会在 PC 端出现。

谢谢朵朵!

Prism 插件无法添加代码块一键复制的功能

你好,我发现使用hexo-prism-plugin,除了可以显示line number,其他原生的插件功能并不支持。是否有办法增加copy to clipboard之类的功能呢?我已经在本地对这个主题做了一些调整,大致了解这个主题,如果有办法增加新功能我可以尝试实现,不知道是否可以提供一点思路? 谢谢!

请问如何安装node-sass?

(base) [root@VM-84-23-xxx typography]# yarn install
yarn install v1.22.19
warning ../../package.json: No license field
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=14". Got "10.24.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

我的 node 版本是:v14.17.0

设置首页菜单

是否可以提供在config中配置首页菜单的功能,当我配置404页面的时候,404默认就出现在首页右边的菜单中了。

themestyle issues

当我切换themestyle:dark又再次切换回light后出现bug
如图:

css没有成功切换.

Google Analytics doesn't seem to work for me

Hi there.

  • I followed the instructions in README and updated my blog:
    image
  • Went to analytics.google.com and set everything up

Somehow what I'm getting are:

  • Nothing happened on the GA dashboard (Everything still at 0, while I did visit my blog a few times)

  • When I was trying to add my blog on Google Search Console, I got these errors:

    Verification method:
    Google Analytics

    Failure reason:
    We could not find any Google Analytics tracking codes on the index page of your site.

Wondering if anyone else's having the same issue.

This is the link to my blog: https://heavenlychorus.github.io/

Thanks in advance.

除主页外,其他页面不能显示favicon.png

你好,我在使用时发现,html页面中的favicon路径都是固定的images/favicon.png。这导致除了和images文件夹在同一级的主页之外,其他页面都不能按照这个路径正常显示标签页栏上的网站图标。
请问可以怎么解决呢?有没有什么方式可以在生成静态文件的时候把它变成正确的路径呢?
谢谢你。

能不能支持latex公式的渲染?

这个主题很好看,但是我的文章里面有很多latex公式,这个主题无法支持。想问下,能够支持下mathjax来渲染latex公式?

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.