Code Monkey home page Code Monkey logo

Comments (9)

AmazingRise avatar AmazingRise commented on July 4, 2024 2

Hello,

不知道你是否知道 bigfoot.js?这个 JavaScript 能将 Markdown 的脚注自动变成按钮,然后在按下的 pop-up 中显示脚注内容。这个 JS 有个优化版本叫 littlefoot. bigfoot/littlefoot 产生的脚注样式可以滚动显示内容,同时也可以继续显示链接以及其他样式文本。

我在想,是否可以参考 bigfoot.js 将每一个 tag 变成一个按钮,然后在按钮 pop-up 中按照年月顺序显示指向文章的链接?bigfoot/littlefoot 本身都提供了强大的自定义功能,所以似乎可以直接使用 littlefoot.js 来做个针对 tag 和分类并符合本主题样式的版本。

我觉得可,现在的 tag 功能的确不好用,所以我一直没用(x
这倒是个好办法,等我有空看一下这个能不能在Hugo里实现。

感谢建议!

from hugo-theme-diary.

AmazingRise avatar AmazingRise commented on July 4, 2024 2

Hello to everyone,
Now the issue has been fixed.
Please fetch the latest code from main branch, and have a try on new tags page.

image

Thanks for your support.

from hugo-theme-diary.

AmazingRise avatar AmazingRise commented on July 4, 2024 1

Upstream issue, needs to be fixed.
Pagination will always generate, despite the .Paginator is deleted.
https://discourse.gohugo.io/t/cannot-disable-pagination-in-terms-page-even-after-removing-paginator/25862/3

from hugo-theme-diary.

xiaohao890809 avatar xiaohao890809 commented on July 4, 2024 1

是的,云标签会比较美观些

from hugo-theme-diary.

yoziming avatar yoziming commented on July 4, 2024 1

Hi,這個主題真的非常簡潔美觀,我第一眼看到整個驚豔。
唯獨就是標籤與歸檔頁面(希望可以增加到年-季-甚至月份),且當資料筆數太多時,間隔太大會不好看,希望有緊湊的排版樣式可選。
前端這塊實在弄不懂,拜託了!

from hugo-theme-diary.

AmazingRise avatar AmazingRise commented on July 4, 2024

Hi
这个之前有人提过,但是我现在暂时没有想到什么好的方案。

不过至少要等几个月之后才有时间精雕细琢,近来有点忙。唉。

from hugo-theme-diary.

AmazingRise avatar AmazingRise commented on July 4, 2024

@thebestwj
我在想,如果我直接去掉标签页和分类页的翻页,是不是会好很多?

from hugo-theme-diary.

thebestwj avatar thebestwj commented on July 4, 2024

@AmazingRise
我觉得可能分个栏就会好看点,像这样
https://themes.gohugo.io//theme/Binario/tags
或者做成就做成标签式的,像这样
https://themes.gohugo.io//theme/hugo-vitae/tags

from hugo-theme-diary.

zane-ng avatar zane-ng commented on July 4, 2024

Hello,

不知道你是否知道 bigfoot.js?这个 JavaScript 能将 Markdown 的脚注自动变成按钮,然后在按下的 pop-up 中显示脚注内容。这个 JS 有个优化版本叫 littlefoot. bigfoot/littlefoot 产生的脚注样式可以滚动显示内容,同时也可以继续显示链接以及其他样式文本。

我在想,是否可以参考 bigfoot.js 将每一个 tag 变成一个按钮,然后在按钮 pop-up 中按照年月顺序显示指向文章的链接?bigfoot/littlefoot 本身都提供了强大的自定义功能,所以似乎可以直接使用 littlefoot.js 来做个针对 tag 和分类并符合本主题样式的版本。

from hugo-theme-diary.

Related Issues (20)

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.