Giter VIP home page Giter VIP logo

Comments (8)

Gaohaoyang avatar Gaohaoyang commented on August 15, 2024

嗯,可以考虑做这个功能。当然如果你懂一点点CSS的话,完全可以自己去修改

from gaohaoyang.github.io.

waruqi avatar waruqi commented on August 15, 2024

恩,现在已经效果挺好了,我一直在用,最近整成多语言版本,稍微费了点时间,要是主题能原生支持多语言就好了。。: )

from gaohaoyang.github.io.

Gaohaoyang avatar Gaohaoyang commented on August 15, 2024

@waruqi 我看到你的disqus留言了,已经添加了链接,你改版的多语言也很赞!

from gaohaoyang.github.io.

waruqi avatar waruqi commented on August 15, 2024

谢谢。。但是还是有些问题,不太好处理,例如:tags的多语言过滤,对jekyll还不是特别了解,改起来有点麻烦。。

from gaohaoyang.github.io.

waruqi avatar waruqi commented on August 15, 2024

tags过滤 我搞定了。。谢谢哈。。: )

from gaohaoyang.github.io.

Gaohaoyang avatar Gaohaoyang commented on August 15, 2024

嗯……tag只是post文章的一个属性字段,我觉得你可以自定义文章头部的字段名称,比如英文的叫tag_en,然后分开展示。我觉得这是一个可行的办法。

在 2016年7月27日,17:50,ruki [email protected] 写道:

谢谢。。但是还是有些问题,不太好处理,例如:tags的多语言过滤,对jekyll还不是特别了解,改起来有点麻烦。。


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #33 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AHTSO3BnMuIbkjvYnVK8fskGeccKViP9ks5qZynigaJpZM4JI-6a.

from gaohaoyang.github.io.

waruqi avatar waruqi commented on August 15, 2024

恩 谢谢,我现在是通过过滤url是否包含 /cn/ 来处理的,目前看下来效果也还行。。

    {% capture tags %}
      {% for tag in site.tags %}
       {% if tag[1].size > 0 %}
       {% assign post_first = tag[1][0] %}
       {% unless post_first.url contains '/cn/' %}
        {{ tag[0] }}
       {% endunless %}
       {% endif %}
      {% endfor %}
    {% endcapture %}

from gaohaoyang.github.io.

Gaohaoyang avatar Gaohaoyang commented on August 15, 2024

nice job!

在 2016年7月28日,10:37,ruki [email protected] 写道:

恩 谢谢,我现在是通过过滤url是否包含 /cn/ 来处理的,目前看下来效果也还行。。

{% capture tags %}
  {% for tag in site.tags %}
   {% if tag[1].size > 0 %}
   {% assign post_first = tag[1][0] %}
   {% unless post_first.url contains '/cn/' %}
    {{ tag[0] }}
   {% endunless %}
   {% endif %}
  {% endfor %}
{% endcapture %}


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #33 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AHTSOzue_tglCheB_Gvl66Y7ZPoyVPogks5qaBXNgaJpZM4JI-6a.

from gaohaoyang.github.io.

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.